1import{aj as Kd,j as n,B as ye,I as _e,r as be,d as at,s as me,i as mr,aL as bt,aM as vt,aN as xt,aB as ms,aO as Ee,D as ht,m as ze,G as Oe,S as Pe,P as cs,C as Jd,ak as Le,g as Qe,k as Dt,H as Gd,U as wr,aF as Dn,L as Zd,ao as an,h as Qd,X as Yd,aG as eh,aP as th,c as nh,a as rh,b as ih}from"./index-BHYV1lln.js";import{T as Al,a as zl,b as Gt,c as Zt}from"./tabs-BeBzk0el.js";import{A as Rn,b as In,c as Ln,d as Mn,e as qn,f as Pn,g as Hn,h as Xn}from"./alert-dialog-B4dc-D2t.js";import{T as Nt}from"./textarea-uNcfg5GG.js";import{S as ys}from"./switch-B8o9yomd.js";import{M as ah}from"./MediaPickerField-DcavtGHJ.js";import{P as sh,I as oh,A as ch}from"./PackageDashboard-CnaAcZD0.js";import{P as Ve}from"./plus-L24ZsNKR.js";import{T as Ke}from"./trash-2-BhuGgOm4.js";import{E as ls}from"./external-link-VDNCUgvg.js";import{C as lh}from"./history-LHnsFen8.js";import{E as uh}from"./eye-off-BIKxzBa9.js";import{E as bs}from"./eye-cBPufxrE.js";import{D as dh}from"./download-BlHzaZrD.js";import{L as Yt}from"./loader-circle-BfEEobgN.js";import{S as Tt}from"./sparkles-p1-PSij0.js";import{T as vs}from"./triangle-alert-CHLJHL25.js";import{L as Ce}from"./label-G1hkMF8-.js";import{GlobalWorkerOptions as hh,version as fh,getDocument as ph}from"./pdf-D7NqPAV9.js";import{U as Nl}from"./slugifyFilename-DjoJbnyv.js";import{S as gh}from"./save-BBm-FneN.js";import{I as mh}from"./image-BOLWOJqg.js";import{S as Ft,a as jt,b as At,c as zt,d as Je}from"./select-B-Kk3JJZ.js";import{A as Sl,a as Bl}from"./alert-Bg5tI0hE.js";import{C as xs}from"./checkbox-CF-1i_-1.js";import{M as yh}from"./mail-check-DTghbzhm.js";import{M as On}from"./mail-CO43FXD8.js";import{W as us}from"./wand-sparkles-C7aOnmzS.js";import{a as Gi}from"./addDays-DS-amGtB.js";import{I as bh}from"./info-5a-v6YFG.js";import{T as vh,a as xh,b as No,c as ar,d as Dh,e as sr}from"./table-DgM6LVnk.js";import{S as _h}from"./shopping-bag-LsTQI5TV.js";import{I as Wl}from"./inbox-Blhnk0W3.js";import{S as $r}from"./send-ydIRz0Jj.js";import{U as kh}from"./user-plus-DAI7BwpR.js";import{C as hr,b as fr,a as pr}from"./card-BrM4dlSn.js";import{a as wh,E as Uh}from"./EmailComposer--a6qs9mz.js";import{D as Th,a as Ch,b as Eh,c as Fh,e as jh}from"./dialog-Bxb5MigS.js";import{C as ds}from"./circle-check-big-CbobshNJ.js";import{C as Ah}from"./circle-x-C-voAnxZ.js";import{C as Ol}from"./clock-aEx-zjrd.js";import{P as zh}from"./pencil-_TbMxo0v.js";import{C as Nh}from"./copy-Dzc99l8m.js";import{A as So}from"./arrow-left-C5De6WdT.js";import{C as Sh}from"./calendar-DzBOzRvu.js";import{B as Bh}from"./banknote-Cm7K1XeE.js";import"./index-7CXB3cDb.js";import"./index-nIqYpPff.js";import"./index-BUS64PAl.js";import"./MediaPickerDialog-CQAWWe7m.js";import"./progress-Dmq5EF88.js";import"./search-DboZCGjR.js";import"./chevron-right-DcDiCGNp.js";import"./music-BBtDD4fd.js";import"./ImageStyleEditor-BKtpQbr1.js";import"./slider-DCKyaUxQ.js";import"./index-BdQq_4o_.js";import"./paintbrush-CgFBk0rT.js";import"./rotate-ccw-DtyEy9ZM.js";import"./LandingEditorDialog-DdIBq8Yl.js";import"./circle-check-EDYPjJ0n.js";import"./mouse-pointer-click-DiriEEQe.js";import"./phone-oLteWBW_.js";import"./circle-alert-CGu5HRiJ.js";import"./underline-6n4Hn87X.js";import"./remove-formatting-DpTkZxOS.js";import"./dollar-sign-CwXkGimQ.js";import"./sanitize-BtXDVghZ.js";import"./type-BkVLfFmn.js";import"./image-plus-D6s5bxkO.js";import"./images-C71RlOpi.js";import"./grip-vertical-CTkagZEf.js";import"./chevron-up-D0eZJR7f.js";import"./undo-2-_wvWdQh4.js";import"./clipboard-copy-DcbE6fK1.js";import"./monitor-YjdGxcD4.js";import"./settings-2-Ox1S9QiS.js";import"./landmark-Cx-YGJ4j.js";import"./index-B-AVI8HJ.js";import"./index-Dh4i1-J3.js";import"./minus-C7l17eOA.js";import"./radio-group-BRVkM3wy.js";/** 2 * @license lucide-react v0.462.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const Wh=Kd("Link2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]]);
6function Oh({value:e,onChange:t}){const r=()=>t([...e,{cim:"",leiras:"",ikon:""}]),i=c=>t(e.filter((o,a)=>a!==c)),s=(c,o,a)=>t(e.map((l,f)=>f===c?{...l,[o]:a}:l));return n.jsxs("div",{className:"space-y-3",children:[n.jsxs("div",{className:"flex items-center justify-between",children:[n.jsx("h4",{className:"text-sm font-medium",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--mineral-d))"},children:"Programpontok"}),n.jsxs(ye,{variant:"outline",size:"sm",onClick:r,className:"gap-1 text-xs",children:[n.jsx(Ve,{size:14})," Ãj programpont"]})]}),e.length===0&&n.jsx("p",{className:"text-sm",style:{color:"hsl(var(--ink-faint))"},children:"Még nincs programpont megadva."}),e.map((c,o)=>n.jsxs("div",{className:"p-3 rounded-md space-y-2",style:{background:"hsl(var(--muted))"},children:[n.jsxs("div",{className:"flex gap-2 items-end",children:[n.jsxs("div",{className:"w-16 space-y-1",children:[n.jsx("label",{className:"text-xs",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink-faint))"},children:"Ikon"}),n.jsx(_e,{value:c.ikon||"",onChange:a=>s(o,"ikon",a.target.value),className:"text-center"})]}),n.jsxs("div",{className:"flex-1 space-y-1",children:[n.jsx("label",{className:"text-xs",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink-faint))"},children:"CÃm"}),n.jsx(_e,{placeholder:"pl. Reggeli jóga a tónál",value:c.cim,onChange:a=>s(o,"cim",a.target.value)})]}),n.jsx(ye,{variant:"ghost",size:"icon",onClick:()=>i(o),className:"text-destructive shrink-0",children:n.jsx(Ke,{size:16})})]}),n.jsxs("div",{className:"space-y-1",children:[n.jsx("label",{className:"text-xs",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink-faint))"},children:"LeÃrás"}),n.jsx(Nt,{rows:2,placeholder:"Rövid leÃrás a programpontról...",value:c.leiras,onChange:a=>s(o,"leiras",a.target.value)})]})]},o))]})}function Rh({packageData:e,landingHtml:t,onHtmlGenerated:r,slug:i,isSaved:s}){const[c,o]=be.useState(!1),[a,l]=be.useState(!1),[f,m]=be.useState(!1),[b,x]=be.useState(!1),{toast:p}=at(),v=async()=>{if(!e.nev){p({title:"Adj meg csomagnevet a generáláshoz",variant:"destructive"});return}o(!0);try{const{data:h,error:g}=await me.functions.invoke("generate-landing",{body:e});if(g)throw g;if(h!=null&&h.html)r(h.html),l(!0),x(!0),p({title:"Landing oldal generálva! Ne felejtsd el menteni."});else throw new Error("Nem érkezett HTML válasz")}catch(h){console.error("Landing generation error:",h),p({title:"Hiba a generálás során",description:h==null?void 0:h.message,variant:"destructive"})}finally{o(!1)}},u=()=>{if(!t)return;const h=new Blob([t],{type:"text/html"}),g=URL.createObjectURL(h),k=document.createElement("a");k.href=g,k.download=`${e.nev.toLowerCase().replace(/\s+/g,"-")}-landing.html`,k.click(),URL.revokeObjectURL(g)},d=()=>{i&&window.open(`/csomag/${i}`,"_blank")},y=h=>{r(h),x(!0)};return n.jsxs("div",{className:"space-y-4",children:[n.jsxs("div",{className:"flex items-center justify-between flex-wrap gap-2",children:[n.jsx("h4",{className:"text-sm font-medium",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--mineral-d))"},children:"AI Landing oldal"}),n.jsxs("div",{className:"flex gap-2 flex-wrap",children:[i&&s&&n.jsxs(ye,{variant:"outline",size:"sm",onClick:d,className:"gap-1 text-xs",children:[n.jsx(ls,{size:14})," Megnyitás"]}),t&&n.jsxs(n.Fragment,{children:[n.jsxs(ye,{variant:"outline",size:"sm",onClick:()=>{m(!f),f&&l(!1)},className:"gap-1 text-xs",children:[n.jsx(lh,{size:14})," ",f?"Szerkesztés bezárása":"Szerkesztés"]}),n.jsxs(ye,{variant:"outline",size:"sm",onClick:()=>l(!a),className:"gap-1 text-xs",children:[a?n.jsx(uh,{size:14}):n.jsx(bs,{size:14}),a?"Elrejtés":"ElÅnézet"]}),n.jsxs(ye,{variant:"outline",size:"sm",onClick:u,className:"gap-1 text-xs",children:[n.jsx(dh,{size:14})," HTML letöltés"]})]}),n.jsxs(ye,{size:"sm",onClick:v,disabled:c,className:"gap-1 text-xs",style:{background:"hsl(var(--leather))",color:"#fff"},children:[c?n.jsx(Yt,{size:14,className:"animate-spin"}):n.jsx(Tt,{size:14}),c?"Generálás...":t?"Ãjragenerálás":"Landing generálás"]})]})]}),b&&n.jsxs("div",{className:"flex items-center gap-2 p-2.5 rounded-md text-xs",style:{background:"hsl(45 90% 92%)",border:"1px solid hsl(45 80% 70%)",fontFamily:"Jost, sans-serif",color:"hsl(var(--ink))"},children:[n.jsx(vs,{size:14,style:{color:"hsl(45 80% 40%)"}}),'Mentetlen landing oldal â kattints a âMentés" gombra, hogy ne vesszen el!']}),!t&&!c&&n.jsx("p",{className:"text-sm",style:{color:"hsl(var(--ink-faint))"},children:'Töltsd ki a csomag adatait, majd kattints a âLanding generálás" gombra. Az AI a ParkMotel design rendszerében készÃti el az oldalt.'}),f&&t&&n.jsx(Nt,{value:t,onChange:h=>y(h.target.value),className:"font-mono text-xs",style:{minHeight:"400px",background:"hsl(var(--muted))"}}),a&&t&&n.jsx("div",{className:"border overflow-hidden",style:{borderColor:"hsl(var(--rule))"},children:n.jsx("iframe",{srcDoc:t,sandbox:"allow-same-origin",className:"w-full border-0",style:{height:"600px"},title:"Landing elÅnézet"})})]})}const Ih={hero:{cim:"",cim_kiemelt:"",alcim:""},bevezeto:{cim:"",cim_kiemelt:"",bekezdesek:[],tenyek:[]},programok:[],csapat:[],gyakorlati_info:[],szallas:{bekezdesek:[],jellemzok:[]},arazas_kiegeszites:{tartalmazza:[]},velemenyek:[],form:{cim:"",cim_kiemelt:"",alcim:"",form_cim:"",form_alcim:"",gomb_szoveg:"Jelentkezem",sikeres_uzenet_cim:"Köszönjük!",sikeres_uzenet_szoveg:""}},Lh={hero:{cim:"LassÃtó napok",cim_kiemelt:"Orfűn",alcim:`Három nap múlva máshogy mész haza. 7Nem azért, mert megtanultál valamit. Hanem mert elengedtél.`,badge:"NÅk együtt, önmaguk felé",telefon:"+36 30 123 4567",email:"[email protected]"},bevezeto:{cim:"Néha meg kell",cim_kiemelt:"állni.",bekezdesek:["A LassÃtó Napok nem elvonulás. Nem terápia. Nem tréning. Ez egy meghÃvás arra, hogy három napra letedd, amit cipelni szoktál â és megérezd, milyen nélküle.","Az orfűi park csendjében, a tó tükre mellett, egy kis közösségben, ahol senki nem vár tÅled semmit â megtörténik valami egyszerű: visszatalálsz magadhoz."],noi_megjegyzes:"Ez a program kifejezetten nÅknek szól â de nem a kizárás, hanem a biztonság miatt. Hogy legyen egy hely, ahol nem kell megfelelni.",idezet:"Nem elvonulás â megérkezés.",tenyek:[{szam:"7000",cimke:"m² park"},{szam:"3",cimke:"nap csend"},{szam:"12",cimke:"fÅ maximum"},{szam:"â",cimke:"csillagos ég"}]},programok:[{id:crypto.randomUUID(),cim:"Labirintusjárás",rovid_leiras:"MeditatÃv séta a park labirintusában â befelé figyelve, lépésrÅl lépésre.",szin_tema:"zold",ikon:"labyrinth",reszletes_leiras:"A labirintus nem útvesztÅ. Egyetlen útja van â befelé, majd kifelé. A járás során a figyelem egyre inkább a belsÅ folyamatokra irányul. Nincs helyes vagy helytelen tempó.",facilitator_nev:"Kovács Anna",facilitator_titulus:"Labirintus-facilitátor",facilitator_bemutatkozas:"Anna 10 éve vezet labirintusjárásokat Magyarországon és külföldön."},{id:crypto.randomUUID(),cim:"Alkotói műhely",rovid_leiras:"Festés, agyagozás, kollázs â nem az eredmény számÃt, hanem az alkotás öröme.",szin_tema:"barna",ikon:"art",reszletes_leiras:"Nem kell hozzá tehetség, sem tapasztalat. Az alkotói műhelyben anyagokkal dolgozol â festékkel, agyaggal, papÃrral â és figyeled, mi születik a kezed alatt."},{id:crypto.randomUUID(),cim:"Masszázs & test",rovid_leiras:"Professzionális masszázs és testérzékelési gyakorlatok.",szin_tema:"kek",ikon:"massage",reszletes_leiras:"A program része egy 50 perces svéd vagy aromaterápiás masszázs, amelyet képzett masszÅrök végeznek. Emellett testérzékelési gyakorlatokkal tanulhatod meg újra hallgatni a tested jelzéseit."},{id:crypto.randomUUID(),cim:"Reggeli jóga",rovid_leiras:"Lágy, ébresztÅ mozgássor a parkban â minden szintnek.",szin_tema:"vilagos_zold",ikon:"yoga",reszletes_leiras:"A reggeli jóga nem akrobatika. Lágy, ébresztÅ mozgássor, amit a fák alatt végzünk. Minden szintnek megfelelÅ, a hangsúly a légzésen és a jelenlétben van."},{id:crypto.randomUUID(),cim:"ErdÅfürdÅ",rovid_leiras:"Shinrin-yoku â a japán erdÅfürdÅzés adaptációja az orfűi parkban.",szin_tema:"sotet_zold",ikon:"forest",reszletes_leiras:"Lassú, figyelmes séta az erdÅben, ahol minden érzékszervet bevonunk. Megállunk, hallgatjuk a madáréneket, érezzük a kéreg textúráját. Nem túrázunk â jelen vagyunk."},{id:crypto.randomUUID(),cim:"Tábortűz & vers",rovid_leiras:"Esti összejövetel a tűz mellett â versek, csend, megosztás.",szin_tema:"tuz",ikon:"campfire",reszletes_leiras:"A nap zárásaként összegyűlünk a tábortűz körül. Felolvasunk verseket, megosztjuk a nap élményeit â vagy csak csendben ülünk a tűz mellett. Nincs kényszer, nincs elvárás."}],csapat:[{nev:"Kovács Anna",titulus:"ProgramvezetÅ",leiras:"Anna 15 éve dolgozik csoportokkal, facilitátorként. Hisz abban, hogy a lassÃtás nem luxus, hanem szükséglet."},{nev:"Dr. Nagy Katalin",titulus:"Jóga oktató",leiras:"Katalin orvosként és jóga oktatóként egyaránt hisz a test-lélek egyensúlyában. 8 éve tanÃt lágy jógát."},{nev:"Tóth Bence",titulus:"Házigazda",leiras:"Bence a ParkMotel házigazdája. Gondoskodik arról, hogy minden vendég otthon érezze magát."}],gyakorlati_info:[{cim:"Mit hozz magaddal?",ikon:"backpack",elemek:["Kényelmes, réteges öltözet","Zárt cipÅ (erdei sétákhoz)","Személyes naplót, ha szeretnél","Nyitottságot és kÃváncsiságot"]},{cim:"Amit biztosÃtunk",ikon:"leaf",elemek:["Jógamatrac és meditációs párna","Alkotói anyagok és eszközök","Napi háromszori étkezés","Teakonyha 0-24"]},{cim:"Szállás",ikon:"home",elemek:["Saját szoba irodalmi apartmanban","Wifi, légkondicionálás","Saját terasz a parkra nézÅ kilátással"]},{cim:"Fontos tudnivalók",ikon:"warning",elemek:["A program nem terápia, de önismereti hatása lehet","AllergiÃ
7¡t, ételallergiát kérjük jelezd elÅre"],figyelmezetes:"Ha pszichiátriai kezelés alatt állsz, kérjük, egyeztess velünk elÅre."}],szallas:{bekezdesek:["Az irodalmi apartmanok mindegyike egy-egy magyar költÅrÅl kapta a nevét és egyedi hangulatát. Saját terasz, légkondicionálás, és a park csendje vár."],jellemzok:["Saját terasz","Légkondicionálás","Wifi","Irodalmi dekoráció","Kávé- és teakonyha","Parkolás"],helyszin_leiras:"A ParkMotel 7000 m²-es parkja Orfű szÃvében található, a Pécsi-tó partján. A tó 5 perc sétára, a Mecsek túraútvonalai 10 percre vannak."},arazas_kiegeszites:{paros_kedvezmeny:{cimke:"NÅk együtt kedvezmény",megjegyzes:"Ha ketten jöttök, mindketten olcsóbban!",ar:"309 990 Ft",ar_megjegyzes:"2 fŠ· teljes csomag"},tartalmazza:["2 éjszaka szállás irodalmi apartmanban","Napi háromszori étkezés (vegetáriánus opció elérhetÅ)","Minden programelem (jóga, labirintus, alkotói műhely, erdÅfürdÅ)","1 db 50 perces masszázs","Teakonyha non-stop"],fizetes_info:"ElÅleg: 30% a foglaláskor. Fennmaradó összeg: a helyszÃnen, készpénzben vagy SZÃP kártyával. Elfogadjuk az OTP, MKB és K&H SZÃP kártyákat.",lemondas_info:"A foglalás 14 nappal az érkezés elÅtt dÃjmentesen lemondható. 14 napon belül az elÅleg nem visszatérÃthetÅ, de egy alkalommal átfoglalható."},velemenyek:[{szoveg:"Három nap alatt többet pihentem, mint az elmúlt két évben összesen. A csend, a park, a lassúság â gyógyÃtó volt.",szerzo:"K. M. · korábbi résztvevÅ",csillagok:5},{szoveg:"Nem tudtam, mire számÃtsak. Aztán a labirintusjárás közben elsÃrtam magam â és utána könnyebb lettem.",szerzo:"B. A. · korábbi résztvevÅ",csillagok:5},{szoveg:"Végre egy hely, ahol nem kell teljesÃteni. Csak lenni. JövÅre is jövök.",szerzo:"Sz. R. · korábbi résztvevÅ",csillagok:5}],velemenyek_megjegyzes:"Az idézetek valódi résztvevÅktÅl származnak. Az anonimitás megÅrzése érdekében csak monogramokat használunk.",form:{cim:"Foglald le a",cim_kiemelt:"helyed",alcim:"Korlátozott létszám â maximum 12 fÅ alkalmanként.",form_cim:"ÃrdeklÅdöm / Jelentkezem",form_alcim:"Töltsd ki az alábbi űrlapot, és 24 órán belül felvesszük veled a kapcsolatot.",gomb_szoveg:"VisszahÃvást kérek",sikeres_uzenet_cim:"Köszönjük az érdeklÅdést!",sikeres_uzenet_szoveg:"Hamarosan felvesszük veled a kapcsolatot. Addig is, kérjük, nézd meg a GYIK szekciót, hátha ott is választ találsz kérdéseidre."}};function Vt({title:e,open:t}){return n.jsxs("div",{className:"flex items-center justify-between w-full py-2",children:[n.jsx("span",{className:"text-sm font-medium",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--mineral-d))"},children:e}),n.jsx(ms,{className:`w-4 h-4 transition-transform ${t?"rotate-180":""}`,style:{color:"hsl(var(--ink-faint))"}})]})}function Fe({label:e,value:t,onChange:r,multiline:i,placeholder:s}){return n.jsxs("div",{className:"space-y-1",children:[n.jsx("label",{className:"text-xs",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink-faint))"},children:e}),i?n.jsx(Nt,{rows:3,value:t,onChange:c=>r(c.target.value),placeholder:s}):n.jsx(_e,{value:t,onChange:c=>r(c.target.value),placeholder:s})]})}function Mh({value:e,onChange:t,slug:r}){var l,f,m,b,x,p,v,u,d,y,h,g,k,w,F,z,S,I,K,ae,j,R,_,J;const i=e||Ih,[s,c]=be.useState({hero:!0}),o=U=>c(A=>({...A,[U]:!A[U]})),a=U=>{t({...i,...U})};return n.jsxs("div",{className:"space-y-2",children:[n.jsxs("div",{className:"flex items-center justify-between mb-3",children:[n.jsx("h4",{className:"text-sm font-medium",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--mineral-d))"},children:"Strukturált landing szerkesztÅ"}),n.jsxs("div",{className:"flex gap-2",children:[r&&n.jsxs(ye,{variant:"outline",size:"sm",className:"gap-1 text-xs",onClick:()=>window.open(`/csomag/${r}`,"_blank"),children:[n.jsx(bs,{className:"w-3.5 h-3.5"})," ÃlÅ elÅnézet"]}),n.jsxs(ye,{variant:"outline",size:"sm",className:"gap-1 text-xs",onClick:()=>{confirm("A sablon betöltése felülÃrja az összes jelenlegi landing szekciót. Folytatod?")&&t({...Lh})},children:[n.jsx(mr,{className:"w-3.5 h-3.5"})," LassÃtó Napok sablon"]})]})]}),n.jsxs(bt,{open:s.hero,onOpenChange:()=>o("hero"),children:[n.jsx(vt,{className:"w-full",children:n.jsx(Vt,{title:"Hero szekció",open:!!s.hero})}),n.jsxs(xt,{className:"space-y-3 pt-2 pb-4 pl-2 border-l-2",style:{borderColor:"hsl(var(--leather))"},children:[n.jsx(Fe,{label:"FÅcÃm",value:i.hero.cim,onChange:U=>a({hero:{...i.hero,cim:U}}),placeholder:"pl. LassÃtó napok"}),n.jsx(Fe,{label:"Kiemelt szó (dÅlt)",value:i.hero.cim_kiemelt,onChange:U=>a({hero:{...i.hero,cim_kiemelt:U}}),placeholder:"pl. Orfűn"}),n.jsx(Fe,{label:"AlcÃm",value:i.hero.alcim,onChange:U=>a({hero:{...i.hero,alcim:U}}),multiline:!0,placeholder:"Három nap múlva máshogy mész haza..."}),n.jsx(Fe,{label:"Badge felirat",value:i.hero.badge||"",onChange:U=>a({hero:{...i.hero,badge:U}}),placeholder:"pl. NÅk együtt, önmaguk felé"}),n.jsx(Fe,{label:"Háttérkép URL",value:i.hero.hatter_kep_url||"",onChange:U=>a({hero:{...i.hero,hatter_kep_url:U}})}),n.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[n.jsx(Fe,{label:"Telefon",value:i.hero.telefon||"",onChange:U=>a({hero:{...i.hero,telefon:U}})}),n.jsx(Fe,{label:"Email",value:i.hero.email||"",onChange:U=>a({hero:{...i.hero,email:U}})})]})]})]}),n.jsxs(bt,{open:s.bevezeto,onOpenChange:()=>o("bevezeto"),children:[n.jsx(vt,{className:"w-full",children:n.jsx(Vt,{title:"BevezetÅ szekció",open:!!s.bevezeto})}),n.jsxs(xt,{className:"space-y-3 pt-2 pb-4 pl-2 border-l-2",style:{borderColor:"hsl(var(--leather))"},children:[n.jsx(Fe,{label:"CÃm",value:i.bevezeto.cim,onChange:U=>a({bevezeto:{...i.bevezeto,cim:U}})}),n.jsx(Fe,{label:"Kiemelt szó",value:i.bevezeto.cim_kiemelt,onChange:U=>a({bevezeto:{...i.bevezeto,cim_kiemelt:U}})}),n.jsx(Fe,{label:"Idézet",value:i.bevezeto.idezet||"",onChange:U=>a({bevezeto:{...i.bevezeto,idezet:U}})}),n.jsx(Fe,{label:"Megjegyzés (nÅknek szóló)",value:i.bevezeto.noi_megjegyzes||"",onChange:U=>a({bevezeto:{...i.bevezeto,noi_megjegyzes:U}}),multiline:!0}),n.jsxs("div",{children:[n.jsx("label",{className:"text-xs",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink-faint))"},children:"Bekezdések"}),(l=i.bevezeto.bekezdesek)==null?void 0:l.map((U,A)=>n.jsxs("div",{className:"flex gap-2 mt-1",children:[n.jsx(Nt,{rows:2,value:U,onChange:E=>{const C=[...i.bevezeto.bekezdesek||[]];C[A]=E.target.value,a({bevezeto:{...i.bevezeto,bekezdesek:C}})}}),n.jsx(ye,{variant:"ghost",size:"sm",onClick:()=>{var C;const E=((C=i.bevezeto.bekezdesek)==null?void 0:C.filter((O,B)=>B!==A))||[];a({bevezeto:{...i.bevezeto,bekezdesek:E}})},children:n.jsx(Ke,{className:"w-3.5 h-3.5"})})]},A)),n.jsxs(ye,{variant:"outline",size:"sm",className:"mt-2 gap-1 text-xs",onClick:()=>a({bevezeto:{...i.bevezeto,bekezdesek:[...i.bevezeto.bekezdesek||[],""]}}),children:[n.jsx(Ve,{className:"w-3.5 h-3.5"})," Bekezdés"]}
7)]}),n.jsxs("div",{children:[n.jsx("label",{className:"text-xs",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink-faint))"},children:"Tények (szám + cÃmke)"}),(f=i.bevezeto.tenyek)==null?void 0:f.map((U,A)=>n.jsxs("div",{className:"flex gap-2 mt-1",children:[n.jsx(_e,{value:U.szam,onChange:E=>{const C=[...i.bevezeto.tenyek||[]];C[A]={...C[A],szam:E.target.value},a({bevezeto:{...i.bevezeto,tenyek:C}})},placeholder:"Szám",className:"w-24"}),n.jsx(_e,{value:U.cimke,onChange:E=>{const C=[...i.bevezeto.tenyek||[]];C[A]={...C[A],cimke:E.target.value},a({bevezeto:{...i.bevezeto,tenyek:C}})},placeholder:"CÃmke"}),n.jsx(ye,{variant:"ghost",size:"sm",onClick:()=>{var E;return a({bevezeto:{...i.bevezeto,tenyek:((E=i.bevezeto.tenyek)==null?void 0:E.filter((C,O)=>O!==A))||[]}})},children:n.jsx(Ke,{className:"w-3.5 h-3.5"})})]},A)),n.jsxs(ye,{variant:"outline",size:"sm",className:"mt-2 gap-1 text-xs",onClick:()=>a({bevezeto:{...i.bevezeto,tenyek:[...i.bevezeto.tenyek||[],{szam:"",cimke:""}]}}),children:[n.jsx(Ve,{className:"w-3.5 h-3.5"})," Tény"]})]})]})]}),n.jsxs(bt,{open:s.programok,onOpenChange:()=>o("programok"),children:[n.jsx(vt,{className:"w-full",children:n.jsx(Vt,{title:`Programok (${((m=i.programok)==null?void 0:m.length)||0})`,open:!!s.programok})}),n.jsxs(xt,{className:"space-y-4 pt-2 pb-4 pl-2 border-l-2",style:{borderColor:"hsl(var(--leather))"},children:[(b=i.programok)==null?void 0:b.map((U,A)=>n.jsxs("div",{className:"p-3 space-y-2",style:{background:"hsl(var(--muted))",border:"1px solid hsl(var(--rule))"},children:[n.jsxs("div",{className:"flex justify-between items-center",children:[n.jsx("span",{className:"text-xs font-medium",style:{fontFamily:"Jost, sans-serif"},children:U.cim||`Program ${A+1}`}),n.jsx(ye,{variant:"ghost",size:"sm",onClick:()=>a({programok:i.programok.filter((E,C)=>C!==A)}),children:n.jsx(Ke,{className:"w-3.5 h-3.5"})})]}),n.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[n.jsx(Fe,{label:"CÃm",value:U.cim,onChange:E=>{const C=[...i.programok];C[A]={...C[A],cim:E},a({programok:C})}}),n.jsxs("div",{className:"space-y-1",children:[n.jsx("label",{className:"text-xs",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink-faint))"},children:"SzÃn téma"}),n.jsx("select",{className:"w-full h-10 rounded-md border border-input bg-background px-3 text-sm",value:U.szin_tema,onChange:E=>{const C=[...i.programok];C[A]={...C[A],szin_tema:E.target.value},a({programok:C})},children:["zold","barna","kek","sotet_zold","vilagos_zold","tuz","viz"].map(E=>n.jsx("option",{value:E,children:E},E))})]})]}),n.jsx(Fe,{label:"Rövid leÃrás",value:U.rovid_leiras,onChange:E=>{const C=[...i.programok];C[A]={...C[A],rovid_leiras:E},a({programok:C})},multiline:!0}),n.jsx(Fe,{label:"Részletes leÃrás",value:U.reszletes_leiras,onChange:E=>{const C=[...i.programok];C[A]={...C[A],reszletes_leiras:E},a({programok:C})},multiline:!0}),n.jsxs("div",{className:"grid grid-cols-3 gap-2",children:[n.jsx(Fe,{label:"Facilitátor neve",value:U.facilitator_nev||"",onChange:E=>{const C=[...i.programok];C[A]={...C[A],facilitator_nev:E},a({programok:C})}}),n.jsx(Fe,{label:"Titulus",value:U.facilitator_titulus||"",onChange:E=>{const C=[...i.programok];C[A]={...C[A],facilitator_titulus:E},a({programok:C})}}),n.jsx(Fe,{label:"Ikon",value:U.ikon,onChange:E=>{const C=[...i.programok];C[A]={...C[A],ikon:E},a({programok:C})}})]}),n.jsx(Fe,{label:"Facilitátor bemutatkozás",value:U.facilitator_bemutatkozas||"",onChange:E=>{const C=[...i.programok];C[A]={...C[A],facilitator_bemutatkozas:E},a({programok:C})},multiline:!0,placeholder:"Rövid bemutatkozás a facilitátorról..."})]},U.id||A)),n.jsxs(ye,{variant:"outline",size:"sm",className:"gap-1 text-xs",onClick:()=>a({programok:[...i.programok||[],{id:crypto.randomUUID(),cim:"",rovid_leiras:"",szin_tema:"zold",ikon:"leaf",reszletes_leiras:""}]}),children:[n.jsx(Ve,{className:"w-3.5 h-3.5"})," Program hozzáadása"]})]})]}),n.jsxs(bt,{open:s.csapat,onOpenChange:()=>o("csapat"),children:[n.jsx(vt,{className:"w-full",children:n.jsx(Vt,{title:`Csapat (${((x=i.csapat)==null?void 0:x.length)||0})`,open:!!s.csapat})}),n.jsxs(xt,{className:"space-y-3 pt-2 pb-4 pl-2 border-l-2",style:{borderColor:"hsl(var(--leather))"},children:[(p=i.csapat)==null?void 0:p.map((U,A)=>n.jsxs("div",{className:"p-3 space-y-2",style:{background:"hsl(var(--muted))",border:"1px solid hsl(var(--rule))"},children:[n.jsxs("div",{className:"flex justify-between",children:[n.jsx("span",{className:"text-xs font-medium",style:{fontFamily:"Jost, sans-serif"},children:U.nev||`Tag ${A+1}`}),n.jsx(ye,{variant:"ghost",size:"sm",onClick:()=>a({csapat:i.csapat.filter((E,C)=>C!==A)}),children:n.jsx(Ke,{className:"w-3.5 h-3.5"})})]}),n.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[n.jsx(Fe,{label:"Név",value:U.nev,onChange:E=>{const C=[...i.csapat];C[A]={...C[A],nev:E},a({csapat:C})}}),n.jsx(Fe,{label:"Titulus",value:U.titulus,onChange:E=>{const C=[...i.csapat];C[A]={...C[A],titulus:E},a({csapat:C})}})]}),n.jsx(Fe,{label:"LeÃrás",value:U.leiras,onChange:E=>{const C=[...i.csapat];C[A]={...C[A],leiras:E},a({csapat:C})},multiline:!0})]},A)),n.jsxs(ye,{variant:"outline",size:"sm",className:"gap-1 text-xs",onClick:()=>a({csapat:[...i.csapat||[],{nev:"",titulus:"",leiras:""}]}),children:[n.jsx(Ve,{className:"w-3.5 h-3.5"})," Csapattag"]})]})]}),n.jsxs(bt,{open:s.gyakorlati,onOpenChange:()=>o("gyakorlati"),children:[n.jsx(vt,{className:"w-full",children:n.jsx(Vt,{title:`Gyakorlati információk (${((v=i.gyakorlati_info)==null?void 0:v.length)||0})`,open:!!s.gyakorlati})}),n.jsxs(xt,{className:"space-y-4 pt-2 pb-4 pl-2 border-l-2",style:{borderColor:"hsl(var(--leather))"},children:[(u=i.gyakorlati_info)==null?void 0:u.map((U,A)=>{var E;return n.jsxs("div",{className:"p-3 space-y-2",style:{background:"hsl(var(--muted))",border:"1px solid hsl(var(--rule))"},children:[n.jsxs("div",{className:"flex justify-between items-center",children:[n.jsx("span",{className:"text-xs font-medium",style:{fontFamily:"Jost, sans-serif"},children:U.cim||`Info doboz ${A+1}`}),n.jsx(ye,{variant:"ghost",size:"sm",onClick:()=>a({gyakorlati_info:i.gyakorlati_info.filter((C,O)=>O!==A)}),children:n.jsx(Ke,{className:"w-3.5 h-3.5"})})]}),n.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[n.jsx(Fe,{label:"CÃm",value:U.cim,onChange:C=>{const O=[...i.gyakorlati_info];O[A]={...O[A],cim:C},a({gyakorlati_info:O})}}),n.jsxs("div",{className:"space-y-1",children:[n.jsx("label",{className:"text-xs",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink-faint))"},children:"Ikon"}),n.jsx("select",{className:"w-full h-10 rounded-md border border-input bg-background px-3 text-sm",value:U.ikon,onChange:C=>{const O=[...i.gyakorlati_info];O[A]={...O[A],ikon:C.target.value},a({gyakorlati_info:O})},children:["backpack","leaf","home","warning","info","calendar","map","heart"].map(C=>n.jsx("option",{value:C,children:C},C))})]})]}),n.jsxs("div",{children:[n.jsx("label",{className:"text-xs",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink-faint))"},children:"Elemek"}),(E=U.elemek)==null?void 0:E.map((C,O)=>n.jsxs("div",{className:"flex gap-2 mt-1",children:[n.jsx(_e,{value:C,onChange:B=>{const M=[...i.gyakorlati_info],P=[...M[A].elemek||[]];P[O]=B.target.value,M[A]={...M[A],elemek:P},a({gyakorlati_info:M})}}),n.jsx(ye,{variant:"ghost",size:"sm",onClick:()=>{const B=[...i.gyakorlati_info];B[A]={...B[A],elemek:B[A].elemek.filter((M,P)=>P!==O)},a({gyakorlati_info:B})},children:n.jsx(Ke,{className:"w-3.5 h-3.5"})})]},O)),n.jsxs(ye,{variant:"outline",size:"sm",className:"mt-1 gap-1 text-xs",onClick:()=>{const C=[...i.gyakorlati_info];C[A]={...C[A],elemek:[...C[A].elemek||[],""]},a({gyakorlati_info:C})},children:[n.jsx(Ve,{className:"w-3.5 h-3.5"})," Elem"]})]}),n.jsx(Fe,{label:"Figyelmeztetés (opcionális)",value:U.figyelmezetes||"",onChange:C=>{const O=[...i.gyakorlati_info];O[A]={...O[A],figyelmezetes:C},a({gyakorlati_info:O})},multiline:!0,placeholder:"Pl. fontos egészségügyi megjegyzés..."})]},A)}),n.jsxs(ye,{variant:"outline",size:"sm",className:"gap-1 text-xs",onClick:()=>a({gyakorlati_info:[...i.gyakorlati_info||[],{cim:"",ikon:"info",elemek:[]}]}),children:[n.jsx(Ve,{className:"w-3.5 h-3.5"})," Ãj info doboz"]})]})]}),n.jsxs(bt,{open:s.szallas,onOpenChange:()=>o("szallas"),children:[n.jsx(vt,{className:"w-full",children:n.jsx(Vt,{title:"Szállás szekció",open:!!s.szallas})}),n.jsxs(xt,{className:"space-y-3 pt-2 pb-4 pl-2 border-l-2",style:{borderColor:"hsl(var(--leather))"},children:[n.jsxs("div",{children:[n.jsx("label",{className:"text-xs",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink-faint))"},children:"Bekezdések"}),(d=i.szallas.bekezdesek)==null?void 0:d.map((U,A)=>n.jsxs("div",{className:"flex gap-2 mt-1",children:[n.jsx(Nt,{rows:2,value:U,onChange:E=>{const C=[...i.szallas.bekezdesek||[]];C[A]=E.target.value,a({szallas:{...i.szallas,bekezdesek:C}})}}),n.jsx(ye,{variant:"ghost",size:"sm",onClick:()=>{var E;return a({szallas:{...i.szallas,bekezdesek:((E=i.szallas.bekezdesek)==null?void 0:E.filter((C,O)=>O!==A))||[]}})},children:n.jsx(Ke,{className:"w-3.5 h-3.5"})})]},A)),n.jsxs(ye,{variant:"outline",size:"sm",className:"mt-2 gap-1 text-xs",onClick:()=>a({szallas:{...i.szallas,bekezdesek:[...i.szallas.bekezdesek||[],""]}}),children:[n.jsx(Ve,{className:"w-3.5 h-3.5"})," Bekezdés"]}
7)]}),n.jsxs("div",{children:[n.jsx("label",{className:"text-xs",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink-faint))"},children:"JellemzÅk"}),(y=i.szallas.jellemzok)==null?void 0:y.map((U,A)=>n.jsxs("div",{className:"flex gap-2 mt-1",children:[n.jsx(_e,{value:U,onChange:E=>{const C=[...i.szallas.jellemzok||[]];C[A]=E.target.value,a({szallas:{...i.szallas,jellemzok:C}})}}),n.jsx(ye,{variant:"ghost",size:"sm",onClick:()=>{var E;return a({szallas:{...i.szallas,jellemzok:((E=i.szallas.jellemzok)==null?void 0:E.filter((C,O)=>O!==A))||[]}})},children:n.jsx(Ke,{className:"w-3.5 h-3.5"})})]},A)),n.jsxs(ye,{variant:"outline",size:"sm",className:"mt-2 gap-1 text-xs",onClick:()=>a({szallas:{...i.szallas,jellemzok:[...i.szallas.jellemzok||[],""]}}),children:[n.jsx(Ve,{className:"w-3.5 h-3.5"})," JellemzÅ"]})]}),n.jsx(Fe,{label:"HelyszÃn leÃrás (zöld kártya)",value:i.szallas.helyszin_leiras||"",onChange:U=>a({szallas:{...i.szallas,helyszin_leiras:U}}),multiline:!0})]})]}),n.jsxs(bt,{open:s.arazas,onOpenChange:()=>o("arazas"),children:[n.jsx(vt,{className:"w-full",children:n.jsx(Vt,{title:"Ãrazás kiegészÃtés",o
7pen:!!s.arazas})}),n.jsxs(xt,{className:"space-y-3 pt-2 pb-4 pl-2 border-l-2",style:{borderColor:"hsl(var(--leather))"},children:[n.jsxs("div",{className:"p-3 space-y-2",style:{background:"hsl(var(--muted))",border:"1px solid hsl(var(--rule))"},children:[n.jsx("span",{className:"text-xs font-medium",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--mineral-d))"},children:"Páros kedvezmény"}),n.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[n.jsx(Fe,{label:"CÃmke",value:((g=(h=i.arazas_kiegeszites)==null?void 0:h.paros_kedvezmeny)==null?void 0:g.cimke)||"",onChange:U=>{var A;return a({arazas_kiegeszites:{...i.arazas_kiegeszites,paros_kedvezmeny:{...((A=i.arazas_kiegeszites)==null?void 0:A.paros_kedvezmeny)||{cimke:"",megjegyzes:"",ar:"",ar_megjegyzes:""},cimke:U}}})},placeholder:"pl. NÅk együtt kedvezmény"}),n.jsx(Fe,{label:"Ãr",value:((w=(k=i.arazas_kiegeszites)==null?void 0:k.paros_kedvezmeny)==null?void 0:w.ar)||"",onChange:U=>{var A;return a({arazas_kiegeszites:{...i.arazas_kiegeszites,paros_kedvezmeny:{...((A=i.arazas_kiegeszites)==null?void 0:A.paros_kedvezmeny)||{cimke:"",megjegyzes:"",ar:"",ar_megjegyzes:""},ar:U}}})},placeholder:"pl. 309 990 Ft"})]}),n.jsx(Fe,{label:"Megjegyzés",value:((z=(F=i.arazas_kiegeszites)==null?void 0:F.paros_kedvezmeny)==null?void 0:z.megjegyzes)||"",onChange:U=>{var A;return a({arazas_kiegeszites:{...i.arazas_kiegeszites,paros_kedvezmeny:{...((A=i.arazas_kiegeszites)==null?void 0:A.paros_kedvezmeny)||{cimke:"",megjegyzes:"",ar:"",ar_megjegyzes:""},megjegyzes:U}}})}}),n.jsx(Fe,{label:"Ãr megjegyzés",value:((I=(S=i.arazas_kiegeszites)==null?void 0:S.paros_kedvezmeny)==null?void 0:I.ar_megjegyzes)||"",onChange:U=>{var A;return a({arazas_kiegeszites:{...i.arazas_kiegeszites,paros_kedvezmeny:{...((A=i.arazas_kiegeszites)==null?void 0:A.paros_kedvezmeny)||{cimke:"",megjegyzes:"",ar:"",ar_megjegyzes:""},ar_megjegyzes:U}}})},placeholder:"pl. 2 fŠ· teljes csomag"})]}),n.jsxs("div",{children:[n.jsx("label",{className:"text-xs",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink-faint))"},children:"Az ár tartalmazza"}),(ae=(K=i.arazas_kiegeszites)==null?void 0:K.tartalmazza)==null?void 0:ae.map((U,A)=>n.jsxs("div",{className:"flex gap-2 mt-1",children:[n.jsx(_e,{value:U,onChange:E=>{var O;const C=[...((O=i.arazas_kiegeszites)==null?void 0:O.tartalmazza)||[]];C[A]=E.target.value,a({arazas_kiegeszites:{...i.arazas_kiegeszites,tartalmazza:C}})}}),n.jsx(ye,{variant:"ghost",size:"sm",onClick:()=>{var E,C;return a({arazas_kiegeszites:{...i.arazas_kiegeszites,tartalmazza:((C=(E=i.arazas_kiegeszites)==null?void 0:E.tartalmazza)==null?void 0:C.filter((O,B)=>B!==A))||[]}})},children:n.jsx(Ke,{className:"w-3.5 h-3.5"})})]},A)),n.jsxs(ye,{variant:"outline",size:"sm",className:"mt-2 gap-1 text-xs",onClick:()=>{var U;return a({arazas_kiegeszites:{...i.arazas_kiegeszites,tartalmazza:[...((U=i.arazas_kiegeszites)==null?void 0:U.tartalmazza)||[],""]}})},children:[n.jsx(Ve,{className:"w-3.5 h-3.5"})," Elem"]})]}),n.jsx(Fe,{label:"Fizetési info",value:((j=i.arazas_kiegeszites)==null?void 0:j.fizetes_info)||"",onChange:U=>a({arazas_kiegeszites:{...i.arazas_kiegeszites,fizetes_info:U}}),multiline:!0}),n.jsx(Fe,{label:"Lemondási feltételek",value:((R=i.arazas_kiegeszites)==null?void 0:R.lemondas_info)||"",onChange:U=>a({arazas_kiegeszites:{...i.arazas_kiegeszites,lemondas_info:U}}),multiline:!0})]})]}),n.jsxs(bt,{open:s.velemenyek,onOpenChange:()=>o("velemenyek"),children:[n.jsx(vt,{className:"w-full",children:n.jsx(Vt,{title:`Vélemények (${((_=i.velemenyek)==null?void 0:_.length)||0})`,open:!!s.velemenyek})}),n.jsxs(xt,{className:"space-y-3 pt-2 pb-4 pl-2 border-l-2",style:{borderColor:"hsl(var(--leather))"},children:[(J=i.velemenyek)==null?void 0:J.map((U,A)=>n.jsxs("div",{className:"p-3 space-y-2",style:{background:"hsl(var(--muted))",border:"1px solid hsl(var(--rule))"},children:[n.jsxs("div",{className:"flex justify-between",children:[n.jsx("span",{className:"text-xs font-medium",style:{fontFamily:"Jost, sans-serif"},children:U.szerzo||`Vélemény ${A+1}`}),n.jsx(ye,{variant:"ghost",size:"sm",onClick:()=>a({velemenyek:i.velemenyek.filter((E,C)=>C!==A)}),children:n.jsx(Ke,{className:"w-3.5 h-3.5"})})]}),n.jsx(Fe,{label:"Szöveg",value:U.szoveg,onChange:E=>{const C=[...i.velemenyek];C[A]={...C[A],szoveg:E},a({velemenyek:C})},multiline:!0}),n.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[n.jsx(Fe,{label:"SzerzÅ",value:U.szerzo,onChange:E=>{const C=[...i.velemenyek];C[A]={...C[A],szerzo:E},a({velemenyek:C})}}),n.jsxs("div",{className:"space-y-1",children:[n.jsx("label",{className:"text-xs",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink-faint))"},children:"Csillagok"}),n.jsx(_e,{type:"number",min:1,max:5,value:U.csillagok,onChange:E=>{const C=[...i.velemenyek];C[A]={...C[A],csillagok:Number(E.target.value)},a({velemenyek:C})}})]})]})]},A)),n.jsxs(ye,{variant:"outline",size:"sm",className:"gap-1 text-xs",onClick:()=>a({velemenyek:[...i.velemenyek||[],{szoveg:"",szerzo:"",csillagok:5}]}),children:[n.jsx(Ve,{className:"w-3.5 h-3.5"})," Vélemény"]}),n.jsx(Fe,{label:"Megjegyzés (vélemények alatt)",value:i.velemenyek_megjegyzes||"",onChange:U=>a({velemenyek_megjegyzes:U})})]})]}),n.jsxs(bt,{open:s.form,onOpenChange:()=>o("form"),children:[n.jsx(vt,{className:"w-full",children:n.jsx(Vt,{title:"Jelentkezési form",open:!!s.form})}),n.jsxs(xt,{className:"space-y-3 pt-2 pb-4 pl-2 border-l-2",style:{borderColor:"hsl(var(--leather))"},children:[n.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[n.jsx(Fe,{label:"CÃm",value:i.form.cim,onChange:U=>a({form:{...i.form,cim:U}})}),n.jsx(Fe,{label:"Kiemelt szó",value:i.form.cim_kiemelt,onChange:U=>a({form:{...i.form,cim_kiemelt:U}})})]}),n.jsx(Fe,{label:"AlcÃm",value:i.form.alcim,onChange:U=>a({form:{...i.form,alcim:U}}),multiline:!0}),n.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[n.jsx(Fe,{label:"Form cÃm",value:i.form.form_cim,onChange:U=>a({form:{...i.form,form_cim:U}})}),n.jsx(Fe,{label:"Form alcÃm",value:i.form.form_alcim,onChange:U=>a({form:{...i.form,form_alcim:U}})})]}),n.jsx(Fe,{label:"Gomb szöveg",value:i.form.gomb_szoveg,onChange:U=>a({form:{...i.form,gomb_szoveg:U}})}),n.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[n.jsx(Fe,{label:"Sikeres cÃm",value:i.form.sikeres_uzenet_cim,onChange:U=>a({form:{...i.form,sikeres_uzenet_cim:U}})}),n.jsx(Fe,{label:"Sikeres szöveg",value:i.form.sikeres_uzenet_szoveg,onChange:U=>a({form:{...i.form,sikeres_uzenet_szoveg:U}})})]})]})]})]})}var St={},Rl={exports:{}};(function(e,t){(function(r,i){e.exports=i()})(Ee,function(){var r="1.13.1",i=typeof self=="object"&&self.self===self&&self||typeof Ee=="object"&&Ee.global===Ee&&Ee||Function("return this")()||{},s=Array.prototype,c=Object.prototype,o=typeof Symbol<"u"?Symbol.prototype:null,a=s.push,l=s.slice,f=c.toString,m=c.hasOwnProperty,b=typeof ArrayBuffer<"u",x=typeof DataView<"u",p=Array.isArray,v=Object.keys,u=Object.create,d=b&&ArrayBuffer.isView,y=isNaN,h=isFinite,g=!{toString:null}.propertyIsEnumerable("toString"),k=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleStr
7ing"],w=Math.pow(2,53)-1;function F(T,N){return N=N==null?T.length-1:+N,function(){for(var H=Math.max(arguments.length-N,0),V=Array(H),ie=0;ie<H;ie++)V[ie]=arguments[ie+N];switch(N){case 0:return T.call(this,V);case 1:return T.call(this,arguments[0],V);case 2:return T.call(this,arguments[0],arguments[1],V)}var Q=Array(N+1);for(ie=0;ie<N;ie++)Q[ie]=arguments[ie];return Q[N]=V,T.apply(this,Q)}}function z(T){var N=typeof T;return N==="function"||N==="object"&&!!T}function S(T){return T===void 0}function I(T){return T===!0||T===!1||f.call(T)==="[object Boolean]"}function K(T){var N="[object "+T+"]";return function(H){return f.call(H)===N}}var ae=K("String"),j=K("Number"),R=K("Date"),_=K("RegExp"),J=K("Error"),U=K("Symbol"),A=K("ArrayBuffer"),E=K("Function"),C=i.document&&i.document.childNodes;typeof/./!="function"&&typeof Int8Array!="object"&&typeof C!="function"&&(E=function(T){return typeof T=="function"||!1});var O=E,B=K("Object"),M=x&&B(new DataView(new ArrayBuffer(8))),P=typeof Map<"u"&&B(new Map),te=K("DataView"),se=M?function(T){return T!=null&&O(T.getInt8)&&A(T.buffer)}:te,he=p||K("Array");function fe(T,N){return T!=null&&m.call(T,N)}var ve=K("Arguments");(function(){ve(arguments)||(ve=function(T){return fe(T,"callee")})})();var De=ve;function je(T){return j(T)&&y(T)}function Se(T){return function(){return T}}function ne(T){return function(N){var H=T(N);return typeof H=="number"&&H>=0&&H<=w}}function le(T){return function(N){return N==null?void 0:N[T]}}var D=le("byteLength"),re=ne(D),ee=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/,L=b?function(T){return d?d(T)&&!se(T):re(T)&&ee.test(f.call(T))}:Se(!1),W=le("length");function Z(T,N){N=function(ce){for(var de={},we=ce.length,Te=0;Te<we;++Te)de[ce[Te]]=!0;return{contains:function(Me){return de[Me]},push:function(Me){return de[Me]=!0,ce.push(Me)}}}(N);var H=k.length,V=T.constructor,ie=O(V)&&V.prototype||c,Q="constructor";for(fe(T,Q)&&!N.contains(Q)&&N.push(Q);H--;)(Q=k[H])in T&&T[Q]!==ie[Q]&&!N.contains(Q)&&N.push(Q)}function oe(T){if(!z(T))return[];if(v)return v(T);var N=[];for(var H in T)fe(T,H)&&N.push(H);return g&&Z(T,N),N}function ue(T,N){var H=oe(N),V=H.length;if(T==null)return!V;for(var ie=Object(T),Q=0;Q<V;Q++){var ce=H[Q];if(N[ce]!==ie[ce]||!(ce in ie))return!1}return!0}function G(T){return T instanceof G?T:this instanceof G?void(this._wrapped=T):new G(T)}function q(T){return new Uint8Array(T.buffer||T,T.byteOffset||0,D(T))}G.VERSION=r,G.prototype.value=function(){return this._wrapped},G.prototype.valueOf=G.prototype.toJSON=G.prototype.value,G.prototype.toString=function(){return String(this._wrapped)};var $="[object DataView]";function Y(T,N,H,V){if(T===N)return T!==0||1/T==1/N;if(T==null||N==null)return!1;if(T!=T)return N!=N;var ie=typeof T;return(ie==="function"||ie==="object"||typeof N=="object")&&function Q(ce,de,we,Te){ce instanceof G&&(ce=ce._wrapped),de instanceof G&&(de=de._wrapped);var Me=f.call(ce);if(Me!==f.call(de))return!1;if(M&&Me=="[object Object]"&&se(ce)){if(!se(de))return!1;Me=$}switch(Me){case"[object RegExp]":case"[object String]":return""+ce==""+de;case"[object Number]":return+ce!=+ce?+de!=+de:+ce==0?1/+ce==1/de:+ce==+de;case"[object Date]":case"[object Boolean]":return+ce==+de;case"[object Symbol]":return o.valueOf.call(ce)===o.valueOf.call(de);case"[object ArrayBuffer]":case $:return Q(q(ce),q(de),we,Te)}var ot=Me==="[object Array]";if(!ot&&L(ce)){if(D(ce)!==D(de))return!1;if(ce.buffer===de.buffer&&ce.byteOffset===de.byteOffset)return!0;ot=!0}if(!ot){if(typeof ce!="object"||typeof de!="object")return!1;var yn=ce.constructor,bn=de.constructor;if(yn!==bn&&!(O(yn)&&yn instanceof yn&&O(bn)&&bn instanceof bn)&&"constructor"in ce&&"constructor"in de)return!1}Te=Te||[];for(var Et=(we=we||[]).length;Et--;)if(we[Et]===ce)return Te[Et]===de;if(we.push(ce),Te.push(de),ot){if((Et=ce.length)!==de.length)return!1;for(;Et--;)if(!Y(ce[Et],de[Et],we,Te))return!1}else{var Br,zo=oe(ce);if(Et=zo.length,oe(de).length!==Et)return!1;for(;Et--;)if(Br=zo[Et],!fe(de,Br)||!Y(ce[Br],de[Br],we,Te))return!1}return we.pop(),Te.pop(),!0}(T,N,H,V)}function X(T){if(!z(T))return[];var N=[];for(var H in T)N.push(H);return g&&Z(T,N),N}function pe(T){var N=W(T);return function(H){if(H==null)return!1;var V=X(H);if(W(V))return!1;for(var ie=0;ie<N;ie++)if(!O(H[T[ie]]))return!1;return T!==We||!O(H[xe])}}var xe="forEach",Ue="has",ke=["clear","delete"],Ae=["get",Ue,"set"],Ie=ke.concat(xe,Ae),We=ke.concat(Ae),nt=["add"].concat(ke,xe,Ue),fn=P?pe(Ie):K("Map"),mt=P?pe(We):K("WeakMap"),jr=P?pe(nt):K("Set"),Ni=K("WeakSet");function qt(T){for(var N=oe(T),H=N.length,V=Array(H),ie=0;ie<H;ie++)V[ie]=T[N[ie]];return V}function Ar(T){for(var N={},H=oe(T),V=0,ie=H.length;V<ie;
7V++)N[T[H[V]]]=H[V];return N}function Un(T){var N=[];for(var H in T)O(T[H])&&N.push(H);return N.sort()}function Pt(T,N){return function(H){var V=arguments.length;if(N&&(H=Object(H)),V<2||H==null)return H;for(var ie=1;ie<V;ie++)for(var Q=arguments[ie],ce=T(Q),de=ce.length,we=0;we<de;we++){var Te=ce[we];N&&H[Te]!==void 0||(H[Te]=Q[Te])}return H}}var pn=Pt(X),zr=Pt(oe),no=Pt(X,!0);function ro(T){if(!z(T))return{};if(u)return u(T);var N=function(){};N.prototype=T;var H=new N;return N.prototype=null,H}function io(T){return z(T)?he(T)?T.slice():pn({},T):T}function ao(T){return he(T)?T:[T]}function tr(T){return G.toPath(T)}function Si(T,N){for(var H=N.length,V=0;V<H;V++){if(T==null)return;T=T[N[V]]}return H?T:void 0}function so(T,N,H){var V=Si(T,tr(N));return S(V)?H:V}function Bi(T){return T}function nr(T){return T=zr({},T),function(N){return ue(N,T)}}function Wi(T){return T=tr(T),function(N){return Si(N,T)}}function rr(T,N,H){if(N===void 0)return T;switch(H??3){case 1:return function(V){return T.call(N,V)};case 3:return function(V,ie,Q){return T.call(N,V,ie,Q)};case 4:return function(V,ie,Q,ce){return T.call(N,V,ie,Q,ce)}}return function(){return T.apply(N,arguments)}}function oo(T,N,H){return T==null?Bi:O(T)?rr(T,N,H):z(T)&&!he(T)?nr(T):Wi(T)}function Oi(T,N){return oo(T,N,1/0)}function ct(T,N,H){return G.iteratee!==Oi?G.iteratee(T,N):oo(T,N,H)}function co(){}function Ri(T,N){return N==null&&(N=T,T=0),T+Math.floor(Math.random()*(N-T+1))}G.toPath=ao,G.iteratee=Oi;var ir=Date.now||function(){return new Date().getTime()};function lo(T){var N=function(Q){return T[Q]},H="(?:"+oe(T).join("|")+")",V=RegExp(H),ie=RegExp(H,"g");return function(Q){return Q=Q==null?"":""+Q,V.test(Q)?Q.replace(ie,N):Q}}var uo={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},Ud=lo(uo),Td=lo(Ar(uo)),Cd=G.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Ii=/(.)^/,Ed={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Fd=/\\|'|\r|\n|\u2028|\u2029/g;function jd(T){return"\\"+Ed[T]}var Ad=/^\s*(\w|\$)+\s*$/,zd=0;function ho(T,N,H,V,ie){if(!(V instanceof N))return T.apply(H,ie);var Q=ro(T.prototype),ce=T.apply(Q,ie);return z(ce)?ce:Q}var Tn=F(function(T,N){var H=Tn.placeholder,V=function(){for(var ie=0,Q=N.length,ce=Array(Q),de=0;de<Q;de++)ce[de]=N[de]===H?arguments[ie++]:N[de];for(;ie<arguments.length;)ce.push(arguments[ie++]);return ho(T,V,this,this,ce)};return V});Tn.placeholder=G;var fo=F(function(T,N,H){if(!O(T))throw new TypeError("Bind must be called on a function");var V=F(function(ie){return ho(T,V,N,this,H.concat(ie))});return V}),lt=ne(W);function gn(T,N,H,V){if(V=V||[],N||N===0){if(N<=0)return V.concat(T)}else N=1/0;for(var ie=V.length,Q=0,ce=W(T);Q<ce;Q++){var de=T[Q];if(lt(de)&&(he(de)||De(de)))if(N>1)gn(de,N-1,H,V),ie=V.length;else for(var we=0,Te=de.length;we<Te;)V[ie++]=de[we++];else H||(V[ie++]=de)}return V}var Nd=F(function(T,N){var H=(N=gn(N,!1,!1)).length;if(H<1)throw new Error("bindAll must be passed function names");for(;H--;){var V=N[H];T[V]=fo(T[V],T)}return T}),po=F(function(T,N,H){return setTimeout(function(){return T.apply(null,H)},N)}),Sd=Tn(po,G,1);function Li(T){return function(){return!T.apply(this,arguments)}}function go(T,N){var H;return function(){return--T>0&&(H=N.apply(this,arguments)),T<=1&&(N=null),H}}var Bd=Tn(go,2);function mo(T,N,H){N=ct(N,H);for(var V,ie=oe(T),Q=0,ce=ie.length;Q<ce;Q++)if(N(T[V=ie[Q]],V,T))return V}function yo(T){return function(N,H,V){H=ct(H,V);for(var ie=W(N),Q=T>0?0:ie-1;Q>=0&&Q<ie;Q+=T)if(H(N[Q],Q,N))return Q;return-1}}var Mi=yo(1),bo=yo(-1);function vo(T,N,H,V){for(var ie=(H=ct(H,V,1))(N),Q=0,ce=W(T);Q<ce;){var de=Math.floor((Q+ce)/2);H(T[de])<ie?Q=de+1:ce=de}return Q}function xo(T,N,H){return function(V,ie,Q){var ce=0,de=W(V);if(typeof Q=="number")T>0?ce=Q>=0?Q:Math.max(Q+de,ce):de=Q>=0?Math.min(Q+1,de):Q+de+1;else if(H&&Q&&de)return V[Q=H(V,ie)]===ie?Q:-1;if(ie!=ie)return(Q=N(l.call(V,ce,de),je))>=0?Q+ce:-1;for(Q=T>0?ce:de-1;Q>=0&&Q<de;Q+=T)if(V[Q]===ie)return Q;return-1}}var Do=xo(1,Mi,vo),Wd=xo(-1,bo);function qi(T,N,H){var V=(lt(T)?Mi:mo)(T,N,H);if(V!==void 0&&V!==-1)return T[V]}function Ht(T,N,H){var V,ie;if(N=rr(N,H),lt(T))for(V=0,ie=T.length;V<ie;
7V++)N(T[V],V,T);else{var Q=oe(T);for(V=0,ie=Q.length;V<ie;V++)N(T[Q[V]],Q[V],T)}return T}function mn(T,N,H){N=ct(N,H);for(var V=!lt(T)&&oe(T),ie=(V||T).length,Q=Array(ie),ce=0;ce<ie;ce++){var de=V?V[ce]:ce;Q[ce]=N(T[de],de,T)}return Q}function _o(T){var N=function(H,V,ie,Q){var ce=!lt(H)&&oe(H),de=(ce||H).length,we=T>0?0:de-1;for(Q||(ie=H[ce?ce[we]:we],we+=T);we>=0&&we<de;we+=T){var Te=ce?ce[we]:we;ie=V(ie,H[Te],Te,H)}return ie};return function(H,V,ie,Q){var ce=arguments.length>=3;return N(H,rr(V,Q,4),ie,ce)}}var Pi=_o(1),ko=_o(-1);function Cn(T,N,H){var V=[];return N=ct(N,H),Ht(T,function(ie,Q,ce){N(ie,Q,ce)&&V.push(ie)}),V}function wo(T,N,H){N=ct(N,H);for(var V=!lt(T)&&oe(T),ie=(V||T).length,Q=0;Q<ie;Q++){var ce=V?V[Q]:Q;if(!N(T[ce],ce,T))return!1}return!0}function Uo(T,N,H){N=ct(N,H);for(var V=!lt(T)&&oe(T),ie=(V||T).length,Q=0;Q<ie;Q++){var ce=V?V[Q]:Q;if(N(T[ce],ce,T))return!0}return!1}function Xt(T,N,H,V){return lt(T)||(T=qt(T)),(typeof H!="number"||V)&&(H=0),Do(T,N,H)>=0}var Od=F(function(T,N,H){var V,ie;return O(N)?ie=N:(N=tr(N),V=N.slice(0,-1),N=N[N.length-1]),mn(T,function(Q){var ce=ie;if(!ce){if(V&&V.length&&(Q=Si(Q,V)),Q==null)return;ce=Q[N]}return ce==null?ce:ce.apply(Q,H)})});function Hi(T,N){return mn(T,Wi(N))}function To(T,N,H){var V,ie,Q=-1/0,ce=-1/0;if(N==null||typeof N=="number"&&typeof T[0]!="object"&&T!=null)for(var de=0,we=(T=lt(T)?T:qt(T)).length;de<we;de++)(V=T[de])!=null&&V>Q&&(Q=V);else N=ct(N,H),Ht(T,function(Te,Me,ot){((ie=N(Te,Me,ot))>ce||ie===-1/0&&Q===-1/0)&&(Q=Te,ce=ie)});return Q}function Co(T,N,H){if(N==null||H)return lt(T)||(T=qt(T)),T[Ri(T.length-1)];var V=lt(T)?io(T):qt(T),ie=W(V);N=Math.max(Math.min(N,ie),0);for(var Q=ie-1,ce=0;ce<N;ce++){var de=Ri(ce,Q),we=V[ce];V[ce]=V[de],V[de]=we}return V.slice(0,N)}function Nr(T,N){return function(H,V,ie){var Q=N?[[],[]]:{};return V=ct(V,ie),Ht(H,function(ce,de){var we=V(ce,de,H);T(Q,ce,we)}),Q}}var Rd=Nr(function(T,N,H){fe(T,H)?T[H].push(N):T[H]=[N]}),Id=Nr(function(T,N,H){T[H]=N}),Ld=Nr(function(T,N,H){fe(T,H)?T[H]++:T[H]=1}),Md=Nr(function(T,N,H){T[H?0:1].push(N)},!0),qd=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function Pd(T,N,H){return N in H}var Eo=F(function(T,N){var H={},V=N[0];if(T==null)return H;O(V)?(N.length>1&&(V=rr(V,N[1])),N=X(T)):(V=Pd,N=gn(N,!1,!1),T=Object(T));for(var ie=0,Q=N.length;ie<Q;ie++){var ce=N[ie],de=T[ce];V(de,ce,T)&&(H[ce]=de)}return H}),Hd=F(function(T,N){var H,V=N[0];return O(V)?(V=Li(V),N.length>1&&(H=N[1])):(N=mn(gn(N,!1,!1),String),V=function(ie,Q){return!Xt(N,Q)}),Eo(T,V,H)});function Fo(T,N,H){return l.call(T,0,Math.max(0,T.length-(N==null||H?1:N)))}function Xi(T,N,H){return T==null||T.length<1?N==null||H?void 0:[]:N==null||H?T[0]:Fo(T,T.length-N)}function Sr(T,N,H){return l.call(T,N==null||H?1:N)}var jo=F(function(T,N){return N=gn(N,!0,!0),Cn(T,function(H){return!Xt(N,H)})}),Xd=F(function(T,N){return jo(T,N)});function Vi(T,N,H,V){I(N)||(V=H,H=N,N=!1),H!=null&&(H=ct(H,V));for(var ie=[],Q=[],ce=0,de=W(T);ce<de;ce++){var we=T[ce],Te=H?H(we,ce,T):we;N&&!H?(ce&&Q===Te||ie.push(we),Q=Te):H?Xt(Q,Te)||(Q.push(Te),ie.push(we)):Xt(ie,we)||ie.push(we)}return ie}var Vd=F(function(T){return Vi(gn(T,!0,!0))});function $i(T){for(var N=T&&To(T,W).length||0,H=Array(N),V=0;V<N;V++)H[V]=Hi(T,V);return H}var $d=F($i);function Ki(T,N){return T._chain?G(N).chain():N}function Ao(T){return Ht(Un(T),function(N){var H=G[N]=T[N];G.prototype[N]=function(){var V=[this._wrapped];return a.apply(V,arguments),Ki(this,H.apply(G,V))}}),G}Ht(["pop","push","reverse","shift","sort","splice","unshift"],function(T){var N=s[T];G.prototype[T]=function(){var H=this._wrapped;return H!=null&&(N.apply(H,arguments),T!=="shift"&&T!=="splice"||H.length!==0||delete H[0]),Ki(this,H)}}),Ht(["concat","join","slice"],function(T){var N=s[T];G.prototype[T]=function(){var H=this._wrapped;return H!=null&&(H=N.apply(H,arguments)),Ki(this,H)}});var Ji=Ao({__proto__:null,VERSION:r,restArguments:F,isObject:z,isNull:function(T){return T===null},isUndefined:S,isBoolean:I,isElement:function(T){return!(!T||T.nodeType!==1)},isString:ae,isNumber:j,isDate:R,isRegExp:_,isError:J,isSymbol:U,isArrayBuffer:A,isDataView:se,isArray:he,isFunction:O,isArguments:De,isFinite:function(T){return!U(T)&&h(T)&&!isNaN(parseFloat(T))},isNaN:je,isTypedArray:L,isEmpty:function(T){if(T==null)return!0;var N=W(T);return typeof N=="number"&&(he(T)||ae(T)||De(T))?N===0:W(oe(T))===0},isMatch:ue,isEqual:function(T,N){return Y(T,N)},isMap:fn,isWeakMap:mt,isSet:jr,isWeakSet:Ni,keys:oe,allKeys:X,values:qt,pairs:function(T){for(var N=oe(T),H=N.length,V=Array(H),ie=0;ie<H;ie++)V[ie]=[N[ie],T[N[ie]]];return V},invert:Ar,functions:Un,methods:Un,extend:pn,extendOwn:zr,assign:zr,defaults:no,create:function(T,N){var H=ro(T);return N&&zr(H,N),H},clone:io,tap:function(T,N){return N(T),T},get:so,has:function(T,N){for(var H=(N=tr(N)).length,V=0;V<H;V++){var ie=N[V];if(!fe(T,ie))return!1;T=T[ie]}return!!H},mapObject:function(T,N,H){N=ct(N,H);for(var V=oe(T),ie=V.length,Q={},ce=0;ce<ie;ce++){var de=V[ce];Q[de]=N(T[de],de,T)}return Q},identity:Bi,constant:Se,noop:co,toPath:ao,property:Wi,propertyOf:function(T){return T==null?co:function(N){return so(T,N)}},matcher:nr,matches:nr,times:function(T,N,H){var V=Array(Math.max(0,T));N=rr(N,H,1);for(var ie=0;ie<T;ie++)V[ie]=N(ie);return V},random:Ri,now:ir,escape:Ud,unescape:Td,templateSettings:Cd,template:function(T,N,H){!N&&H&&(N=H),N=no({},N,G.templateSettings);var V=RegExp([(N.escape||Ii).source,(N.interpolate||Ii).source,(N.evaluate||Ii).source].join("|")+"|$","g"),ie=0,Q="__p+='";T.replace(V,function(Te,Me,ot,yn,bn){return Q+=T.slice(ie,bn).replace(Fd,jd),ie=bn+Te.length,Me?Q+=`'+ 8((__t=(`+Me+`))==null?'':_.escape(__t))+ 9'`:ot?Q+=`'+ 10((__t=(`+ot+`))==null?'':__t)+ 11'`:yn&&(Q+=`'; 12`+yn+` 13__p+='`),Te}),Q+=`'; 14`;var ce,de=N.variable;if(de){if(!Ad.test(de))throw new Error("variable is not a bare identifier: "+de)}else Q=`with(obj||{}){ 15`+Q+`} 16`,de="obj";Q=`var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');}; 17`+Q+`return __p; 18`;try{ce=new Function(de,"_",Q)}catch(Te){throw Te.source=Q,Te}var we=function(Te){return ce.call(this,Te,G)};
18return we.source="function("+de+`){ 19`+Q+"}",we},result:function(T,N,H){var V=(N=tr(N)).length;if(!V)return O(H)?H.call(T):H;for(var ie=0;ie<V;ie++){var Q=T==null?void 0:T[N[ie]];Q===void 0&&(Q=H,ie=V),T=O(Q)?Q.call(T):Q}return T},uniqueId:function(T){var N=++zd+"";return T?T+N:N},chain:function(T){var N=G(T);return N._chain=!0,N},iteratee:Oi,partial:Tn,bind:fo,bindAll:Nd,memoize:function(T,N){var H=function(V){var ie=H.cache,Q=""+(N?N.apply(this,arguments):V);return fe(ie,Q)||(ie[Q]=T.apply(this,arguments)),ie[Q]};return H.cache={},H},delay:po,defer:Sd,throttle:function(T,N,H){var V,ie,Q,ce,de=0;H||(H={});var we=function(){de=H.leading===!1?0:ir(),V=null,ce=T.apply(ie,Q),V||(ie=Q=null)},Te=function(){var Me=ir();de||H.leading!==!1||(de=Me);var ot=N-(Me-de);return ie=this,Q=arguments,ot<=0||ot>N?(V&&(clearTimeout(V),V=null),de=Me,ce=T.apply(ie,Q),V||(ie=Q=null)):V||H.trailing===!1||(V=setTimeout(we,ot)),ce};return Te.cancel=function(){clearTimeout(V),de=0,V=ie=Q=null},Te},debounce:function(T,N,H){var V,ie,Q,ce,de,we=function(){var Me=ir()-ie;N>Me?V=setTimeout(we,N-Me):(V=null,H||(ce=T.apply(de,Q)),V||(Q=de=null))},Te=F(function(Me){return de=this,Q=Me,ie=ir(),V||(V=setTimeout(we,N),H&&(ce=T.apply(de,Q))),ce});return Te.cancel=function(){clearTimeout(V),V=Q=de=null},Te},wrap:function(T,N){return Tn(N,T)},negate:Li,compose:function(){var T=arguments,N=T.length-1;return function(){for(var H=N,V=T[N].apply(this,arguments);H--;)V=T[H].call(this,V);return V}},after:function(T,N){return function(){if(--T<1)return N.apply(this,arguments)}},before:go,once:Bd,findKey:mo,findIndex:Mi,findLastIndex:bo,sortedIndex:vo,indexOf:Do,lastIndexOf:Wd,find:qi,detect:qi,findWhere:function(T,N){return qi(T,nr(N))},each:Ht,forEach:Ht,map:mn,collect:mn,reduce:Pi,foldl:Pi,inject:Pi,reduceRight:ko,foldr:ko,filter:Cn,select:Cn,reject:function(T,N,H){return Cn(T,Li(ct(N)),H)},every:wo,all:wo,some:Uo,any:Uo,contains:Xt,includes:Xt,include:Xt,invoke:Od,pluck:Hi,where:function(T,N){return Cn(T,nr(N))},max:To,min:function(T,N,H){var V,ie,Q=1/0,ce=1/0;if(N==null||typeof N=="number"&&typeof T[0]!="object"&&T!=null)for(var de=0,we=(T=lt(T)?T:qt(T)).length;de<we;de++)(V=T[de])!=null&&V<Q&&(Q=V);else N=ct(N,H),Ht(T,function(Te,Me,ot){((ie=N(Te,Me,ot))<ce||ie===1/0&&Q===1/0)&&(Q=Te,ce=ie)});return Q},shuffle:function(T){return Co(T,1/0)},sample:Co,sortBy:function(T,N,H){var V=0;return N=ct(N,H),Hi(mn(T,function(ie,Q,ce){return{value:ie,index:V++,criteria:N(ie,Q,ce)}}).sort(function(ie,Q){var ce=ie.criteria,de=Q.criteria;if(ce!==de){if(ce>de||ce===void 0)return 1;if(ce<de||de===void 0)return-1}return ie.index-Q.index}),"value")},groupBy:Rd,indexBy:Id,countBy:Ld,partition:Md,toArray:function(T){return T?he(T)?l.call(T):ae(T)?T.match(qd):lt(T)?mn(T,Bi):qt(T):[]},size:function(T){return T==null?0:lt(T)?T.length:oe(T).length},pick:Eo,omit:Hd,first:Xi,head:Xi,take:Xi,initial:Fo,last:function(T,N,H){return T==null||T.length<1?N==null||H?void 0:[]:N==null||H?T[T.length-1]:Sr(T,Math.max(0,T.length-N))},rest:Sr,tail:Sr,drop:Sr,compact:function(T){return Cn(T,Boolean)},flatten:function(T,N){return gn(T,N,!1)},without:Xd,uniq:Vi,unique:Vi,union:Vd,intersection:function(T){for(var N=[],H=arguments.length,V=0,ie=W(T);V<ie;V++){var Q=T[V];if(!Xt(N,Q)){var ce;for(ce=1;ce<H&&Xt(arguments[ce],Q);ce++);ce===H&&N.push(Q)}}return N},difference:jo,unzip:$i,transpose:$i,zip:$d,object:function(T,N){for(var H={},V=0,ie=W(T);V<ie;V++)N?H[T[V]]=N[V]:H[T[V][0]]=T[V][1];return H},range:function(T,N,H){N==null&&(N=T||0,T=0),H||(H=N<T?-1:1);for(var V=Math.max(Math.ceil((N-T)/H),0),ie=Array(V),Q=0;Q<V;Q++,T+=H)ie[Q]=T;return ie},chunk:function(T,N){if(N==null||N<1)return[];for(var H=[],V=0,ie=T.length;V<ie;)H.push(l.call(T,V,V+=N));return H},mixin:Ao,default:G});return Ji._=Ji,Ji})})(Rl);var $e=Rl.exports,Ds={},Ze={},Il={exports:{}},Wr={exports:{}},Bo;function Zn(){if(Bo)return Wr.exports;Bo=1;var e=function(){return this===void 0}();if(e)Wr.exports={freeze:Object.freeze,defineProperty:Object.defineProperty,getDescriptor:Object.getOwnPropertyDescriptor,keys:Object.keys,names:Object.getOwnPropertyNames,getPrototypeOf:Object.getPrototypeOf,isArray:Array.isArray,isES5:e,propertyIsWritable:function(m,b){var x=Object.getOwnPropertyDescriptor(m,b);return!!(!x||x.writable||x.set)}};else{var t={}.hasOwnProperty,r={}.toString,i={}.constructor.prototype,s=function(m){var b=[];for(var x in m)t.call(m,x)&&b.push(x);return b},c=function(m,b){return{value:m[b]}},o=function(m,b,x){return m[b]=x.value,m},a=function(m){return m},l=function(m){try{return Object(m).constructor.prototype}catch{return i}},f=function(m){try{return r.call(m)==="[object Array]"}catch{return!1}};Wr.exports={isArray:f,keys:s,names:s,defineProperty:o,getDescriptor:c,freeze:a,getPrototypeOf:l,isES5:e,propertyIsWritable:function(){return!0}}}return Wr.exports}var Zi,Wo;function He(){if(Wo)return Zi;Wo=1;var e={},t=Zn(),r=typeof navigator>"u",i={e:{}},s,c=typeof self<"u"?self:typeof window<"u"?window:typeof Ee<"u"?Ee:Ee!==void 0?Ee:null;function o(){try{var P=s;return s=null,P.apply(this,arguments)}catch(te){return i.e=te,i}}function a(P){return s=P,o}var l=function(P,te){var se={}.hasOwnProperty;function he(){this.constructor=P,this.constructor$=te;for(var fe in te.prototype)se.call(te.prototype,fe)&&fe.charAt(fe.length-1)!=="$"&&(this[fe+"$"]=te.prototype[fe])}return he.prototype=te.prototype,P.prototype=new he,P.prototype};function f(P){return P==null||P===!0||P===!1||typeof P=="string"||typeof P=="number"}function m(P){return typeof P=="function"||typeof P=="object"&&P!==null}function b(P){return f(P)?new Error(z(P)):P}function x(P,te){var se=P.length,he=new Array(se+1),fe;for(fe=0;fe<se;++fe)he[fe]=P[fe];return he[fe]=te,he}function p(P,te,se){if(t.isES5){var he=Object.getOwnPropertyDescriptor(P,te);if(he!=null)return he.get==null&&he.set==null?he.value:se}else return{}.hasOwnProperty.call(P,te)?P[te]:void 0}function v(P,te,se){if(f(P))return P;var he={value:se,configurable:!0,enumerable:!1,writable:!0};return t.defineProperty(P,te,he),P}function u(P){throw P}var d=function(){var P=[Array.prototype,Object.prototype,Function.prototype],te=function(fe){for(var ve=0;ve<P.length;++ve)if(P[ve]===fe)return!0;return!1};if(t.isES5){var se=Object.getOwnPropertyNames;return function(fe){for(var ve=[],De=Object.create(null);fe!=null&&!te(fe);){var je;try{je=se(fe)}catch{return ve}for(var Se=0;Se<je.length;++Se){var ne=je[Se];if(!De[ne]){De[ne]=!0;var le=Object.getOwnPropertyDescriptor(fe,ne);le!=null&&le.get==null&&le.set==null&&ve.push(ne)}}fe=t.getPrototypeOf(fe)}return ve}}else{var he={}.hasOwnProperty;return function(fe){if(te(fe))return[];var ve=[];e:for(var De in fe)if(he.call(fe,De))ve.push(De);else{for(var je=0;je<P.length;++je)if(he.call(P[je],De))continue e;ve.push(De)}return ve}}}(),y=/this\s*\.\s*\S+\s*=/;function h(P){try{if(typeof P=="function"){var te=t.names(P.prototype),se=t.isES5&&te.length>1,he=te.length>0&&!(te.length===1&&te[0]==="constructor"),fe=y.test(P+"")&&t.names(P).length>0;if(se||he||fe)return!0}return!1}catch{return!1}}function g(P){return P}var k=/^[a-z$_][a-z$_0-9]*$/i;function w(P){return k.test(P)}function F(P,te,se){for(var he=new Array(P),fe=0;fe<P;++fe)he[fe]=te+fe+se;return he}function z(P){try{return P+""}
19catch{return"[no string representation]"}}function S(P){return P!==null&&typeof P=="object"&&typeof P.message=="string"&&typeof P.name=="string"}function I(P){try{v(P,"isOperational",!0)}catch{}}function K(P){return P==null?!1:P instanceof Error.__BluebirdErrorTypes__.OperationalError||P.isOperational===!0}function ae(P){return S(P)&&t.propertyIsWritable(P,"stack")}var j=function(){return"stack"in new Error?function(P){return ae(P)?P:new Error(z(P))}:function(P){if(ae(P))return P;try{throw new Error(z(P))}catch(te){return te}}}();function R(P){return{}.toString.call(P)}function _(P,te,se){for(var he=t.names(P),fe=0;fe<he.length;++fe){var ve=he[fe];if(se(ve))try{t.defineProperty(te,ve,t.getDescriptor(P,ve))}catch{}}}var J=function(P){return t.isArray(P)?P:null};if(typeof Symbol<"u"&&Symbol.iterator){var U=typeof Array.from=="function"?function(P){return Array.from(P)}:function(P){for(var te=[],se=P[Symbol.iterator](),he;!(he=se.next()).done;)te.push(he.value);return te};J=function(P){return t.isArray(P)?P:P!=null&&typeof P[Symbol.iterator]=="function"?U(P):null}}var A=typeof process<"u"&&R(process).toLowerCase()==="[object process]",E=typeof process<"u"&&typeof e<"u";function C(P){return E?e[P]:void 0}function O(){if(typeof Promise=="function")try{var P=new Promise(function(){});if({}.toString.call(P)==="[object Promise]")return Promise}catch{}}function B(P,te){return P.bind(te)}var M={isClass:h,isIdentifier:w,inheritedDataKeys:d,getDataPropertyOrDefault:p,thrower:u,isArray:t.isArray,asArray:J,notEnumerableProp:v,isPrimitive:f,isObject:m,isError:S,canEvaluate:r,errorObj:i,tryCatch:a,inherits:l,withAppended:x,maybeWrapAsError:b,toFastProperties:g,filledRange:F,toString:z,canAttachTrace:ae,ensureErrorObject:j,originatesFromRejection:K,markAsOriginatingFromRejection:I,classString:R,copyDescriptors:_,hasDevTools:typeof chrome<"u"&&chrome&&typeof chrome.loadTimes=="function",isNode:A,hasEnvVariables:E,env:C,global:c,getNativePromise:O,domainBind:B};M.isRecentNode=M.isNode&&function(){var P=process.versions.node.split(".").map(Number);return P[0]===0&&P[1]>10||P[0]>0}(),M.isNode&&M.toFastProperties(process);try{throw new Error}catch(P){M.lastLineError=P}return Zi=M,Zi}var Or={exports:{}},Qi,Oo;function qh(){if(Oo)return Qi;Oo=1;var e=He(),t,r=function(){throw new Error(`No async scheduler available 20 21 See http://goo.gl/MqrFmX 22`)},i=e.getNativePromise();if(e.isNode&&typeof MutationObserver>"u"){var s=Ee.setImmediate,c=process.nextTick;t=e.isRecentNode?function(a){s.call(Ee,a)}:function(a){c.call(process,a)}}else if(typeof i=="function"&&typeof i.resolve=="function"){var o=i.resolve();t=function(a){o.then(a)}}else typeof MutationObserver<"u"&&!(typeof window<"u"&&window.navigator&&(window.navigator.standalone||window.cordova))?t=function(){var a=document.createElement("div"),l={attributes:!0},f=!1,m=document.createElement("div"),b=new MutationObserver(function(){a.classList.toggle("foo"),f=!1});b.observe(m,l);var x=function(){f||(f=!0,m.classList.toggle("foo"))};return function(v){var u=new MutationObserver(function(){u.disconnect(),v()});u.observe(a,l),x()}}():typeof setImmediate<"u"?t=function(a){setImmediate(a)}:typeof setTimeout<"u"?t=function(a){setTimeout(a,0)}:t=r;return Qi=t,Qi}var Yi,Ro;function Ph(){if(Ro)return Yi;Ro=1;function e(r,i,s,c,o){for(var a=0;a<o;++a)s[a+c]=r[a+i],r[a+i]=void 0}function t(r){this._capacity=r,this._length=0,this._front=0}return t.prototype._willBeOverCapacity=function(r){return this._capacity<r},t.prototype._pushOne=function(r){var i=this.length();this._checkCapacity(i+1);var s=this._front+i&this._capacity-1;this[s]=r,this._length=i+1},t.prototype.push=function(r,i,s){var c=this.length()+3;if(this._willBeOverCapacity(c)){this._pushOne(r),this._pushOne(i),this._pushOne(s);return}var o=this._front+c-3;this._checkCapacity(c);var a=this._capacity-1;this[o+0&a]=r,this[o+1&a]=i,this[o+2&a]=s,this._length=c},t.prototype.shift=function(){var r=this._front,i=this[r];return this[r]=void 0,this._front=r+1&this._capacity-1,this._length--,i},t.prototype.length=function(){return this._length},t.prototype._checkCapacity=function(r){this._capacity<r&&this._resizeTo(this._capacity<<1)},t.prototype._resizeTo=function(r){var i=this._capacity;this._capacity=r;var s=this._front,c=this._length,o=s+c&i-1;e(this,0,this,i,o)},Yi=t,Yi}var Io;function Hh(){if(Io)return Or.exports;Io=1;var e;try{throw new Error}catch(l){e=l}var t=qh(),r=Ph(),i=He();
22function s(){this._customScheduler=!1,this._isTickUsed=!1,this._lateQueue=new r(16),this._normalQueue=new r(16),this._haveDrainedQueues=!1,this._trampolineEnabled=!0;var l=this;this.drainQueues=function(){l._drainQueues()},this._schedule=t}s.prototype.setScheduler=function(l){var f=this._schedule;return this._schedule=l,this._customScheduler=!0,f},s.prototype.hasCustomScheduler=function(){return this._customScheduler},s.prototype.enableTrampoline=function(){this._trampolineEnabled=!0},s.prototype.disableTrampolineIfNecessary=function(){i.hasDevTools&&(this._trampolineEnabled=!1)},s.prototype.haveItemsQueued=function(){return this._isTickUsed||this._haveDrainedQueues},s.prototype.fatalError=function(l,f){f?(process.stderr.write("Fatal "+(l instanceof Error?l.stack:l)+` 23`),process.exit(2)):this.throwLater(l)},s.prototype.throwLater=function(l,f){if(arguments.length===1&&(f=l,l=function(){throw f}),typeof setTimeout<"u")setTimeout(function(){l(f)},0);else try{this._schedule(function(){l(f)})}catch{throw new Error(`No async scheduler available 24 25 See http://goo.gl/MqrFmX 26`)}};function c(l,f,m){this._lateQueue.push(l,f,m),this._queueTick()}function o(l,f,m){this._normalQueue.push(l,f,m),this._queueTick()}function a(l){this._normalQueue._pushOne(l),this._queueTick()}return i.hasDevTools?(s.prototype.invokeLater=function(l,f,m){this._trampolineEnabled?c.call(this,l,f,m):this._schedule(function(){setTimeout(function(){l.call(f,m)},100)})},s.prototype.invoke=function(l,f,m){this._trampolineEnabled?o.call(this,l,f,m):this._schedule(function(){l.call(f,m)})},s.prototype.settlePromises=function(l){this._trampolineEnabled?a.call(this,l):this._schedule(function(){l._settlePromises()})}):(s.prototype.invokeLater=c,s.prototype.invoke=o,s.prototype.settlePromises=a),s.prototype._drainQueue=function(l){for(;l.length()>0;){var f=l.shift();if(typeof f!="function"){f._settlePromises();continue}var m=l.shift(),b=l.shift();f.call(m,b)}},s.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,this._drainQueue(this._lateQueue)},s.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},s.prototype._reset=function(){this._isTickUsed=!1}
26,Or.exports=s,Or.exports.firstLineError=e,Or.exports}var ea,Lo;function un(){if(Lo)return ea;Lo=1;var e=Zn(),t=e.freeze,r=He(),i=r.inherits,s=r.notEnumerableProp;function c(y,h){function g(k){if(!(this instanceof g))return new g(k);s(this,"message",typeof k=="string"?k:h),s(this,"name",y),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this)}return i(g,Error),g}var o,a,l=c("Warning","warning"),f=c("CancellationError","cancellation error"),m=c("TimeoutError","timeout error"),b=c("AggregateError","aggregate error");try{o=TypeError,a=RangeError}catch{o=c("TypeError","type error"),a=c("RangeError","range error")}for(var x="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),p=0;p<x.length;++p)typeof Array.prototype[x[p]]=="function"&&(b.prototype[x[p]]=Array.prototype[x[p]]);e.defineProperty(b.prototype,"length",{value:0,configurable:!1,writable:!0,enumerable:!0}),b.prototype.isOperational=!0;var v=0;b.prototype.toString=function(){var y=Array(v*4+1).join(" "),h=` 27`+y+`AggregateError of: 28`;v++,y=Array(v*4+1).join(" ");for(var g=0;g<this.length;++g){for(var k=this[g]===this?"[Circular AggregateError]":this[g]+"",w=k.split(` 29`),F=0;F<w.length;++F)w[F]=y+w[F];k=w.join(` 30`),h+=k+` 31`}return v--,h};function u(y){if(!(this instanceof u))return new u(y);s(this,"name","OperationalError"),s(this,"message",y),this.cause=y,this.isOperational=!0,y instanceof Error?(s(this,"message",y.message),s(this,"stack",y.stack)):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}i(u,Error);var d=Error.__BluebirdErrorTypes__;return d||(d=t({CancellationError:f,TimeoutError:m,OperationalError:u,RejectionError:u,AggregateError:b}),e.defineProperty(Error,"__BluebirdErrorTypes__",{value:d,writable:!1,enumerable:!1,configurable:!1})),ea={Error,TypeError:o,RangeError:a,CancellationError:d.CancellationError,OperationalError:d.OperationalError,TimeoutError:d.TimeoutError,AggregateError:d.AggregateError,Warning:l},ea}var ta,Mo;function Xh(){return Mo||(Mo=1,ta=function(e,t){var r=He(),i=r.errorObj,s=r.isObject;function c(b,x){if(s(b)){if(b instanceof e)return b;var p=a(b);if(p===i){x&&x._pushContext();var v=e.reject(p.e);return x&&x._popContext(),v}else if(typeof p=="function"){if(f(b)){var v=new e(t);return b._then(v._fulfill,v._reject,void 0,v,null),v}return m(b,p,x)}}return b}function o(b){return b.then}function a(b){try{return o(b)}catch(x){return i.e=x,i}}var l={}.hasOwnProperty;function f(b){try{return l.call(b,"_promise0")}catch{return!1}}function m(b,x,p){var v=new e(t),u=v;p&&p._pushContext(),v._captureStackTrace(),p&&p._popContext();var d=!0,y=r.tryCatch(x).call(b,h,g);d=!1,v&&y===i&&(v._rejectCallback(y.e,!0,!0),v=null);function h(k){v&&(v._resolveCallback(k),v=null)}function g(k){v&&(v._rejectCallback(k,d,!0),v=null)}return u}return c}),ta}var na,qo;function Vh(){return qo||(qo=1,na=function(e,t,r,i,s){var c=He();c.isArray;function o(l){switch(l){case-2:return[];case-3:return{}}}function a(l){var f=this._promise=new e(t);l instanceof e&&f._propagateFrom(l,3),f._setOnCancel(this),this._values=l,this._length=0,this._totalResolved=0,this._init(void 0,-2)}return c.inherits(a,s),a.prototype.length=function(){return this._length},a.prototype.promise=function(){return this._promise},a.prototype._init=function l(f,m){var b=r(this._values,this._promise);if(b instanceof e){b=b._target();var x=b._bitField;if(this._values=b,x&50397184)if(x&33554432)b=b._value();else return x&16777216?this._reject(b._reason()):this._cancel();else return this._promise._setAsyncGuaranteed(),b._then(l,this._reject,void 0,this,m)}if(b=c.asArray(b),b===null){var p=i("expecting an array or an iterable object but got "+c.classString(b)).reason();this._promise._rejectCallback(p,!1);return}if(b.length===0){m===-5?this._resolveEmptyArray():this._resolve(o(m));return}this._iterate(b)},a.prototype._iterate=function(l){var f=this.getActualLength(l.length);this._length=f,this._values=this.shouldCopyValues()?new Array(f):this._values;for(var m=this._promise,b=!1,x=null,p=0;p<f;++p){var v=r(l[p],m);v instanceof e?(v=v._target(),x=v._bitField):x=null,b?x!==null&&v.suppressUnhandledRejections():x!==null?x&50397184?x&33554432?b=this._promiseFulfilled(v._value(),p):x&16777216?b=this._promiseRe
31jected(v._reason(),p):b=this._promiseCancelled(p):(v._proxy(this,p),this._values[p]=v):b=this._promiseFulfilled(v,p)}b||m._setAsyncGuaranteed()},a.prototype._isResolved=function(){return this._values===null},a.prototype._resolve=function(l){this._values=null,this._promise._fulfill(l)},a.prototype._cancel=function(){this._isResolved()||!this._promise._isCancellable()||(this._values=null,this._promise._cancel())},a.prototype._reject=function(l){this._values=null,this._promise._rejectCallback(l,!1)},a.prototype._promiseFulfilled=function(l,f){this._values[f]=l;var m=++this._totalResolved;return m>=this._length?(this._resolve(this._values),!0):!1},a.prototype._promiseCancelled=function(){return this._cancel(),!0},a.prototype._promiseRejected=function(l){return this._totalResolved++,this._reject(l),!0},a.prototype._resultCancelled=function(){if(!this._isResolved()){var l=this._values;if(this._cancel(),l instanceof e)l.cancel();else for(var f=0;f<l.length;++f)l[f]instanceof e&&l[f].cancel()}},a.prototype.shouldCopyValues=function(){return!0},a.prototype.getActualLength=function(l){return l},a}),na}var ra,Po;function $h(){return Po||(Po=1,ra=function(e){var t=!1,r=[];e.prototype._promiseCreated=function(){},e.prototype._pushContext=function(){},e.prototype._popContext=function(){return null},e._peekContext=e.prototype._peekContext=function(){};function i(){this._trace=new i.CapturedTrace(c())}i.prototype._pushContext=function(){this._trace!==void 0&&(this._trace._promiseCreated=null,r.push(this._trace))},i.prototype._popContext=function(){if(this._trace!==void 0){var o=r.pop(),a=o._promiseCreated;return o._promiseCreated=null,a}return null};function s(){if(t)return new i}function c(){var o=r.length-1;if(o>=0)return r[o]}return i.CapturedTrace=null,i.create=s,i.deactivateLongStackTraces=function(){},i.activateLongStackTraces=function(){var o=e.prototype._pushContext,a=e.prototype._popContext,l=e._peekContext,f=e.prototype._peekContext,m=e.prototype._promiseCreated;i.deactivateLongStackTraces=function(){e.prototype._pushContext=o,e.prototype._popContext=a,e._peekContext=l,e.prototype._peekContext=f,e.prototype._promiseCreated=m,t=!1},t=!0,e.prototype._pushContext=i.prototype._pushContext,e.prototype._popContext=i.prototype._popContext,e._peekContext=e.prototype._peekContext=c,e.prototype._promiseCreated=function(){var b=this._peekContext();b&&b._promiseCreated==null&&(b._promiseCreated=this)}},i}),ra}var ia,Ho;function Kh(){return Ho||(Ho=1,ia=function(e,t){var r=e._getDomain,i=e._async,s=un().Warning,c=He(),o=c.canAttachTrace,a,l,f=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,m=/\((?:timers\.js):\d+:\d+\)/,b=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,x=null,p=null,v=!1,u,d=!!(c.env("BLUEBIRD_DEBUG")!=0&&(c.env("BLUEBIRD_DEBUG")||c.env("NODE_ENV")==="development")),y=!!(c.env("BLUEBIRD_WARNINGS")!=0&&(d||c.env("BLUEBIRD_WARNINGS"))),h=!!(c.env("BLUEBIRD_LONG_STACK_TRACES")!=0&&(d||c.env("BLUEBIRD_LONG_STACK_TRACES"))),g=c.env("BLUEBIRD_W_FORGOTTEN_RETURN")!=0&&(y||!!c.env("BLUEBIRD_W_FORGOTTEN_RETURN"));e.prototype.suppressUnhandledRejections=function(){var q=this._target();q._bitField=q._bitField&-1048577|524288},e.prototype._ensurePossibleRejectionHandled=function(){this._bitField&524288||(this._setRejectionIsUnhandled(),i.invokeLater(this._notifyUnhandledRejection,this,void 0))},e.prototype._notifyUnhandledRejectionIsHandled=function(){ne("rejectionHandled",a,void 0,this)},e.prototype._setReturnedNonUndefined=function(){this._bitField=this._bitField|268435456},e.prototype._returnedNonUndefined=function(){return(this._bitField&268435456)!==0},e.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var q=this._settledValue();this._setUnhandledRejectionIsNotified(),ne("unhandledRejection",l,q,this)}},e.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=this._bitField|262144},e.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=this._bitField&-262145},e.prototype._isUnhandledRejectionNotified=function(){return(this._bitField&262144)>0},e.prototype._setRejectionIsUnhandled=function(){this._bitField=this._bitField|1048576},e.prototype._unsetRejectionIsUnhandled=function(){this._bitField=this._bitField&-1048577,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},e.prototype._isRejectionUnhandled=function(){return(this._bitField&1048576)>0},e.prototype._warn=function(q,$,Y){return te(q,$,Y||this)},e.onPossiblyUnhandledRejection=function(q){var $=r();l=typeof q=="function"?$===null?q:c.domainBind($,q):void 0},e.onUnhandledRejectionHandled=function(q){var $=r();a=typeof q=="function"?$===null?q:c.domainBind($,q):void 0};var k=function(){};e.longStackTraces=function(){if(i.haveItemsQueued()&&!G.longStackTraces)throw new Error(`cannot enable long stack traces after promises have been created 32 33 See http://goo.gl/MqrFmX 34`);if(!G.longStackTraces&&re()){var q=e.prototype._captureStackTrace,$=e.prototype._attachExtraTrace;G.longStackTraces=!0,k=function(){if(i.haveItemsQueued()&&!G.longStackTraces)throw new Error(`cannot enable long stack traces after promises have been created 35 36 See http://goo.gl/MqrFmX 37`);e.prototype._captureStackTrace=q,e.prototype._attachExtraTrace=$,t.deactivateLongStackTraces(),i.enableTrampoline(),G.longStackTraces=!1},e.prototype._captureStackTrace=O,e.prototype._attachExtraTrace=B,t.activateLongStackTraces(),i.disableTrampolineIfNecessary()}},e.hasLongStackTraces=function(){return G.longStackTraces&&re()};var w=function(){try{if(typeof CustomEvent=="function"){var q=new CustomEvent("CustomEvent");return c.global.dispatchEvent(q),function($,Y){var X=new CustomEvent($.toLowerCase(),{detail:Y,cancelable:!0});return!c.global.dispatchEvent(X)}}else if(typeof Event=="function"){var q=new Event("CustomEvent");return c.global.dispatchEvent(q),function(Y,X){var pe=new Event(Y.toLowerCase(),{cancelable:!0});return pe.detail=X,!c.global.dispatchEvent(pe)}}else{var q=document.createEvent("CustomEvent");return q.initCustomEvent("testingtheevent",!1,!0,{}),c.global.dispatchEvent(q),function(Y,X){var pe=document.createEvent("CustomEvent");return pe.initCustomEvent(Y.toLowerCase(),!1,!0,X),!c.global.dispatchEvent(pe)}}}catch{}return function(){return!1}}(),F=function(){return c.isNode?function(){return process.emit.apply(process,arguments)}:c.global?function(q){var $="on"+q.toLowerCase(),Y=c.global[$];
37return Y?(Y.apply(c.global,[].slice.call(arguments,1)),!0):!1}:function(){return!1}}();function z(q,$){return{promise:$}}var S={promiseCreated:z,promiseFulfilled:z,promiseRejected:z,promiseResolved:z,promiseCancelled:z,promiseChained:function(q,$,Y){return{promise:$,child:Y}},warning:function(q,$){return{warning:$}},unhandledRejection:function(q,$,Y){return{reason:$,promise:Y}},rejectionHandled:z},I=function(q){var $=!1;try{$=F.apply(null,arguments)}catch(X){i.throwLater(X),$=!0}var Y=!1;try{Y=w(q,S[q].apply(null,arguments))}catch(X){i.throwLater(X),Y=!0}return Y||$};e.config=function(q){if(q=Object(q),"longStackTraces"in q&&(q.longStackTraces?e.longStackTraces():!q.longStackTraces&&e.hasLongStackTraces()&&k()),"warnings"in q){var $=q.warnings;G.warnings=!!$,g=G.warnings,c.isObject($)&&"wForgottenReturn"in $&&(g=!!$.wForgottenReturn)}if("cancellation"in q&&q.cancellation&&!G.cancellation){if(i.haveItemsQueued())throw new Error("cannot enable cancellation after promises are in use");e.prototype._clearCancellationData=J,e.prototype._propagateFrom=U,e.prototype._onCancel=R,e.prototype._setOnCancel=_,e.prototype._attachCancellationCallback=j,e.prototype._execute=ae,E=U,G.cancellation=!0}return"monitoring"in q&&(q.monitoring&&!G.monitoring?(G.monitoring=!0,e.prototype._fireEvent=I):!q.monitoring&&G.monitoring&&(G.monitoring=!1,e.prototype._fireEvent=K)),e};function K(){return!1}e.prototype._fireEvent=K,e.prototype._execute=function(q,$,Y){try{q($,Y)}catch(X){return X}},e.prototype._onCancel=function(){},e.prototype._setOnCancel=function(q){},e.prototype._attachCancellationCallback=function(q){},e.prototype._captureStackTrace=function(){},e.prototype._attachExtraTrace=function(){},e.prototype._clearCancellationData=function(){},e.prototype._propagateFrom=function(q,$){};function ae(q,$,Y){var X=this;try{q($,Y,function(pe){if(typeof pe!="function")throw new TypeError("onCancel must be a function, got: "+c.toString(pe));X._attachCancellationCallback(pe)})}catch(pe){return pe}}function j(q){if(!this._isCancellable())return this;var $=this._onCancel();$!==void 0?c.isArray($)?$.push(q):this._setOnCancel([$,q]):this._setOnCancel(q)}function R(){return this._onCancelField}function _(q){this._onCancelField=q}function J(){this._cancellationParent=void 0,this._onCancelField=void 0}function U(q,$){if($&1){this._cancellationParent=q;var Y=q._branchesRemainingToCancel;Y===void 0&&(Y=0),q._branchesRemainingToCancel=Y+1}$&2&&q._isBound()&&this._setBoundTo(q._boundTo)}function A(q,$){$&2&&q._isBound()&&this._setBoundTo(q._boundTo)}var E=A;function C(){var q=this._boundTo;return q!==void 0&&q instanceof e?q.isFulfilled()?q.value():void 0:q}function O(){this._trace=new oe(this._peekContext())}function B(q,$){if(o(q)){var Y=this._trace;if(Y!==void 0&&$&&(Y=Y._parent),Y!==void 0)Y.attachExtraTrace(q);else if(!q.__stackCleaned__){var X=je(q);c.notEnumerableProp(q,"stack",X.message+` 38`+X.stack.join(` 39`)),c.notEnumerableProp(q,"__stackCleaned__",!0)}}}function M(q,$,Y,X,pe){if(q===void 0&&$!==null&&g){if(pe!==void 0&&pe._returnedNonUndefined()||!(X._bitField&65535))return;Y&&(Y=Y+" ");var xe="",Ue="";if($._trace){for(var ke=$._trace.stack.split(` 40`),Ae=ve(ke),Ie=Ae.length-1;Ie>=0;--Ie){var We=Ae[Ie];if(!m.test(We)){var nt=We.match(b);nt&&(xe="at "+nt[1]+":"+nt[2]+":"+nt[3]+" ");break}}if(Ae.length>0){for(var fn=Ae[0],Ie=0;Ie<ke.length;++Ie)if(ke[Ie]===fn){Ie>0&&(Ue=` 41`+ke[Ie-1]);break}}}var mt="a promise was created in a "+Y+"handler "+xe+"but was not returned from it, see http://goo.gl/rRqMUw"+Ue;X._warn(mt,!0,$)}}function P(q,$){var Y=q+" is deprecated and will be removed in a future version.";return $&&(Y+=" Use "+$+" instead."),te(Y)}function te(q,$,Y){if(G.warnings){var X=new s(q),pe;if($)Y._attachExtraTrace(X);else if(G.longStackTraces&&(pe=e._peekContext()))pe.attachExtraTrace(X);else{var xe=je(X);X.stack=xe.message+` 42`+xe.stack.join(` 43`)}I("warning",X)||Se(X,"",!0)}}function se(q,$){for(var Y=0;Y<$.length-1;++Y)$[Y].push("From previous event:"),$[Y]=$[Y].join(` 44`);return Y<$.length&&($[Y]=$[Y].join(` 45`)),q+` 46`+$.join(` 47`)}function he(q){for(var $=0;$<q.length;++$)(q[$].length===0||$+1<q.length&&q[$][0]===q[$+1][0])&&(q.splice($,1),$--)}function fe(q){for(var $=q[0],Y=1;Y<q.length;++Y){for(var X=q[Y],pe=$.length-1,xe=$[pe],Ue=-1,ke=X.length-1;ke>=0;--ke)if(X[ke]===xe){Ue=ke;break}for(var ke=Ue;ke>=0;--ke){var Ae=X[ke];if($[pe]===Ae)$.pop(),pe--;else break}$=X}}function ve(q){for(var $=[],Y=0;Y<q.length;++Y){var X=q[Y],pe=X===" (No stack trace)"||x.test(X),xe=pe&&ee(X);pe&&!xe&&(v&&X.charAt(0)!==" "&&(X=" "+X),$.push(X))}return $}function De(q){for(var $=q.stack.replace(/\s+$/g,"").split(` 48`),Y=0;Y<$.length;++Y){var X=$[Y];if(X===" (No stack trace)"||x.test(X))break}return Y>0&&q.name!="SyntaxError"&&($=$.slice(Y)),$}function je(q){var $=q.stack,Y=q.toString();return $=typeof $=="string"&&$.length>
480?De(q):[" (No stack trace)"],{message:Y,stack:q.name=="SyntaxError"?$:ve($)}}function Se(q,$,Y){if(typeof console<"u"){var X;if(c.isObject(q)){var pe=q.stack;X=$+p(pe,q)}else X=$+String(q);typeof u=="function"?u(X,Y):(typeof console.log=="function"||typeof console.log=="object")&&console.log(X)}}function ne(q,$,Y,X){var pe=!1;try{typeof $=="function"&&(pe=!0,q==="rejectionHandled"?$(X):$(Y,X))}catch(xe){i.throwLater(xe)}q==="unhandledRejection"?!I(q,Y,X)&&!pe&&Se(Y,"Unhandled rejection "):I(q,X)}function le(q){var $;if(typeof q=="function")$="[function "+(q.name||"anonymous")+"]";else{$=q&&typeof q.toString=="function"?q.toString():c.toString(q);var Y=/\[object [a-zA-Z0-9$_]+\]/;if(Y.test($))try{var X=JSON.stringify(q);$=X}catch{}$.length===0&&($="(empty array)")}return"(<"+D($)+">, no stack trace)"}function D(q){var $=41;return q.length<$?q:q.substr(0,$-3)+"..."}function re(){return typeof ue=="function"}var ee=function(){return!1},L=/[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*$/;function W(q){var $=q.match(L);if($)return{fileName:$[1],line:parseInt($[2],10)}}function Z(q,$){if(re()){for(var Y=q.stack.split(` 49`),X=$.stack.split(` 50`),pe=-1,xe=-1,Ue,ke,Ae=0;Ae<Y.length;++Ae){var Ie=W(Y[Ae]);if(Ie){Ue=Ie.fileName,pe=Ie.line;break}}for(var Ae=0;Ae<X.length;++Ae){var Ie=W(X[Ae]);if(Ie){ke=Ie.fileName,xe=Ie.line;break}}pe<0||xe<0||!Ue||!ke||Ue!==ke||pe>=xe||(ee=function(We){if(f.test(We))return!0;var nt=W(We);return!!(nt&&nt.fileName===Ue&&pe<=nt.line&&nt.line<=xe)})}}function oe(q){this._parent=q,this._promisesCreated=0;var $=this._length=1+(q===void 0?0:q._length);ue(this,oe),$>32&&this.uncycle()}c.inherits(oe,Error),t.CapturedTrace=oe,oe.prototype.uncycle=function(){var q=this._length;if(!(q<2)){for(var $=[],Y={},X=0,pe=this;pe!==void 0;++X)$.push(pe),pe=pe._parent;q=this._length=X;for(var X=q-1;X>=0;--X){var xe=$[X].stack;Y[xe]===void 0&&(Y[xe]=X)}for(var X=0;X<q;++X){var Ue=$[X].stack,ke=Y[Ue];if(ke!==void 0&&ke!==X){ke>0&&($[ke-1]._parent=void 0,$[ke-1]._length=1),$[X]._parent=void 0,$[X]._length=1;var Ae=X>0?$[X-1]:this;ke<q-1?(Ae._parent=$[ke+1],Ae._parent.uncycle(),Ae._length=Ae._parent._length+1):(Ae._parent=void 0,Ae._length=1);for(var Ie=Ae._length+1,We=X-2;We>=0;--We)$[We]._length=Ie,Ie++;return}}}},oe.prototype.attachExtraTrace=function(q){if(!q.__stackCleaned__){this.uncycle();for(var $=je(q),Y=$.message,X=[$.stack],pe=this;pe!==void 0;)X.push(ve(pe.stack.split(` 51`))),pe=pe._parent;fe(X),he(X),c.notEnumerableProp(q,"stack",se(Y,X)),c.notEnumerableProp(q,"__stackCleaned__",!0)}};var ue=function(){var $=/^\s*at\s*/,Y=function(Ue,ke){return typeof Ue=="string"?Ue:ke.name!==void 0&&ke.message!==void 0?ke.toString():le(ke)};if(typeof Error.stackTraceLimit=="number"&&typeof Error.captureStackTrace=="function"){Error.stackTraceLimit+=6,x=$,p=Y;var X=Error.captureStackTrace;return ee=function(Ue){return f.test(Ue)},function(Ue,ke){Error.stackTraceLimit+=6,X(Ue,ke),Error.stackTraceLimit-=6}}var pe=new Error;if(typeof pe.stack=="string"&&pe.stack.split(` 52`)[0].indexOf("stackDetection@")>=0)return x=/@/,p=Y,v=!0,function(ke){ke.stack=new Error().stack};var xe;try{throw new Error}catch(Ue){xe="stack"in Ue}return!("stack"in pe)&&xe&&typeof Error.stackTraceLimit=="number"?(x=$,p=Y,function(ke){Error.stackTraceLimit+=6;try{throw new Error}catch(Ae){ke.stack=Ae.stack}Error.stackTraceLimit-=6}):(p=function(Ue,ke){return typeof Ue=="string"?Ue:(typeof ke=="object"||typeof ke=="function")&&ke.name!==void 0&&ke.message!==void 0?ke.toString():le(ke)},null)}();typeof console<"u"&&typeof console.warn<"u"&&(u=function(q){console.warn(q)},c.isNode&&process.stderr.isTTY?u=function(q,$){var Y=$?"\x1B[33m":"\x1B[31m";console.warn(Y+q+`\x1B[0m 53`)}:!c.isNode&&typeof new Error().stack=="string"&&(u=function(q,$){console.warn("%c"+q,$?"color: darkorange":"color: red")}));var G={warnings:y,longStackTraces:!1,cancellation:!1,monitoring:!1};return h&&e.longStackTraces(),{longStackTraces:function(){return G.longStackTraces},warnings:function(){return G.warnings},cancellation:function(){return G.cancellation},monitoring:function(){return G.monitoring},propagateFromFunction:function(){return E},boundValueFunction:function(){return C},checkForgottenReturns:M,setBounds:Z,warn:te,deprecated:P,CapturedTrace:oe,fireDomEvent:w,fireGlobalEvent:F}}),ia}var aa,Xo;function Jh(){return Xo||(Xo=1,aa=function(e,t){var r=He(),i=e.CancellationError,s=r.errorObj;function c(b,x,p){this.promise=b,this.type=x,this.handler=p,this.called=!1,this.cancelPromise=null}c.prototype.isFinallyHandler=function(){return this.type===0};function o(b){this.finallyHandler=b}o.prototype._resultCancelled=function(){a(this.finallyHandler)};function a(b,x){return b.cancelPromise!=null?(arguments.length>1?b.cancelPromise._reject(x):b.cancelPromise._cancel(),b.cancelPromise=null,!0):!1}function l(){return m.call(this,this.promise._target()._settledValue())}function f(b){if(!a(this,b))return s.e=b,s}function m(b){var x=this.promise,p=this.handler;if(!this.called){this.called=!0;var v=this.isFinallyHandler()?p.call(x._boundValue()):p.call(x._boundValue(),b);if(v!==void 0){x._setReturnedNonUndefined();var u=t(v,x);if(u instanceof e){if(this.cancelPromise!=null)if(u._isCancelled()){var d=new i("late cancellation observer");return x._attachExtraTrace(d),s.e=d,s}else u.isPending()&&u._attachCancellationCallback(new o(this));return u._then(l,f,void 0,this,void 0)}}}return x.isRejected()?(a(this),s.e=b,s):(a(this),b)}return e.prototype._passThrough=function(b,x,p,v){return typeof b!="function"?this.then():this._then(p,v,void 0,new c(this,x,b),void 0)},e.prototype.lastly=e.prototype.finally=function(b){return this._passThrough(b,0,m,m)},e.prototype.tap=function(b){return this._passThrough(b,1,m)},c}),aa}var sa,Vo;
53function Gh(){return Vo||(Vo=1,sa=function(e){var t=He(),r=Zn().keys,i=t.tryCatch,s=t.errorObj;function c(o,a,l){return function(f){var m=l._boundValue();e:for(var b=0;b<o.length;++b){var x=o[b];if(x===Error||x!=null&&x.prototype instanceof Error){if(f instanceof x)return i(a).call(m,f)}else if(typeof x=="function"){var p=i(x).call(m,f);if(p===s)return p;if(p)return i(a).call(m,f)}else if(t.isObject(f)){for(var v=r(x),u=0;u<v.length;++u){var d=v[u];if(x[d]!=f[d])continue e}return i(a).call(m,f)}}return e}}return c}),sa}var oa,$o;function Ll(){if($o)return oa;$o=1;var e=He(),t=e.maybeWrapAsError,r=un(),i=r.OperationalError,s=Zn();function c(f){return f instanceof Error&&s.getPrototypeOf(f)===Error.prototype}var o=/^(?:name|message|stack|cause)$/;function a(f){var m;if(c(f)){m=new i(f),m.name=f.name,m.message=f.message,m.stack=f.stack;for(var b=s.keys(f),x=0;x<b.length;++x){var p=b[x];o.test(p)||(m[p]=f[p])}return m}return e.markAsOriginatingFromRejection(f),f}function l(f,m){return function(b,x){if(f!==null){if(b){var p=a(t(b));f._attachExtraTrace(p),f._reject(p)}else if(!m)f._fulfill(x);else{for(var v=arguments.length,u=new Array(Math.max(v-1,0)),d=1;d<v;++d)u[d-1]=arguments[d];f._fulfill(u)}f=null}}}return oa=l,oa}var ca,Ko;function Zh(){return Ko||(Ko=1,ca=function(e,t,r,i,s){var c=He(),o=c.tryCatch;e.method=function(a){if(typeof a!="function")throw new e.TypeError("expecting a function but got "+c.classString(a));return function(){var l=new e(t);l._captureStackTrace(),l._pushContext();var f=o(a).apply(this,arguments),m=l._popContext();return s.checkForgottenReturns(f,m,"Promise.method",l),l._resolveFromSyncValue(f),l}},e.attempt=e.try=function(a){if(typeof a!="function")return i("expecting a function but got "+c.classString(a));var l=new e(t);l._captureStackTrace(),l._pushContext();var f;if(arguments.length>1){s.deprecated("calling Promise.try with more than 1 argument");var m=arguments[1],b=arguments[2];f=c.isArray(m)?o(a).apply(b,m):o(a).call(b,m)}else f=o(a)();var x=l._popContext();return s.checkForgottenReturns(f,x,"Promise.try",l),l._resolveFromSyncValue(f),l},e.prototype._resolveFromSyncValue=function(a){a===c.errorObj?this._rejectCallback(a.e,!1):this._resolveCallback(a,!0)}}),ca}var la,Jo;function Qh(){return Jo||(Jo=1,la=function(e,t,r,i){var s=!1,c=function(f,m){this._reject(m)},o=function(f,m){m.promiseRejectionQueued=!0,m.bindingPromise._then(c,c,null,this,f)},a=function(f,m){this._bitField&50397184||this._resolveCallback(m.target)},l=function(f,m){m.promiseRejectionQueued||this._reject(f)};e.prototype.bind=function(f){s||(s=!0,e.prototype._propagateFrom=i.propagateFromFunction(),e.prototype._boundValue=i.boundValueFunction());var m=r(f),b=new e(t);b._propagateFrom(this,1);var x=this._target();if(b._setBoundTo(m),m instanceof e){var p={promiseRejectionQueued:!1,promise:b,target:x,bindingPromise:m};x._then(t,o,void 0,b,p),m._then(a,l,void 0,b,p),b._setOnCancel(m)}else b._resolveCallback(x);return b},e.prototype._setBoundTo=function(f){f!==void 0?(this._bitField=this._bitField|2097152,this._boundTo=f):this._bitField=this._bitField&-2097153},e.prototype._isBound=function(){return(this._bitField&2097152)===2097152},e.bind=function(f,m){return e.resolve(m).bind(f)}}),la}var ua,Go;function Yh(){return Go||(Go=1,ua=function(e,t,r,i){var s=He(),c=s.tryCatch,o=s.errorObj,a=e._async;e.prototype.break=e.prototype.cancel=function(){if(!i.cancellation())return this._warn("cancellation is disabled");for(var l=this,f=l;l._isCancellable();){if(!l._cancelBy(f)){f._isFollowing()?f._followee().cancel():f._cancelBranched();break}var m=l._cancellationParent;if(m==null||!m._isCancellable()){l._isFollowing()?l._followee().cancel():l._cancelBranched();break}else l._isFollowing()&&l._followee().cancel(),l._setWillBeCancelled(),f=l,l=m}},e.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},e.prototype._enoughBranchesHaveCancelled=function(){return this._branchesRemainingToCancel===void 0||this._branchesRemainingToCancel<=0},e.prototype._cancelBy=function(l){return l===this?(this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0):(this._branchHasCancelled(),this._enoughBranchesHaveCancelled()?(this._invokeOnCancel(),!0):!1)},e.prototype._cancelBranched=function(){this._enoughBranchesHaveCancelled()&&this._cancel()},e.prototype._cancel=function(){this._isCancellable()&&(this._setCancelled(),a.invoke(this._cancelPromises,this,void 0))},e.prototype._cancelPromises=function(){this._length()>0&&this._settlePromises()},e.prototype._unsetOnCancel=function(){this._onCancelField=void 0},e.prototype._isCancellable=function(){return this.isPending()&&!this._isCancelled()},e.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},e.prototype._doInvokeOnCancel=function(l,f){if(s.isArray(l))for(var m=0;m<l.length;++m)this._doInvokeOnCancel(l[m],f);else if(l!==void 0)if(typeof l=="function"){if(!f){var b=c(l).call(this._boundValue());b===o&&(this._attachExtraTrace(b.e),a.throwLater(b.e))}}else l._resultCancelled(this)},e.prototype._invokeOnCancel=function(){var l=this._onCancel();this._unsetOnCancel(),a.invoke(this._doInvokeOnCancel,this,l)},e.prototype._invokeInternalOnCancel=function(){this._isCancellable()&&(this._doInvokeOnCancel(this._onCancel(),!0),this._unsetOnCancel())},e.prototype._resultCancelled=function(){this.cancel()}}),ua}var da,Zo;function ef(){return Zo||(Zo=1,da=function(e){function t(){return this.value}function r(){throw this.reason}e.prototype.return=e.prototype.thenReturn=function(i){return i instanceof e&&i.suppressUnhandledRejections(),this._then(t,void 0,void 0,{value:i},void 0)},e.prototype.throw=e.prototype.thenThrow=function(i){return this._then(r,void 0,void 0,{reason:i},void 0)},e.prototype.catchThrow=function(i){if(arguments.length<=1)return this._then(void 0,r,void 0,{reason:i},void 0);var s=arguments[1],c=function(){throw s};return this.caught(i,c)},e.prototype.catchReturn=function(i){if(arguments.length<=1)return i instanceof e&&i.suppressUnhandledRejections(),this._then(void 0,t,void 0,{value:i},void 0);var s=arguments[1];s instanceof e&&s.suppressUnhandledRejections();var c=function(){return s};return this.caught(i,c)}}),da}var ha,Qo;function tf(){return Qo||(Qo=1,ha=function(e){function t(l){l!==void 0?(l=l._target(),this._bitField=l._bitField,this._settledValueField=l._isFateSealed()?l._settledValue():void 0):(this._bitField=0,this._settledValueField=void 0)}t.prototype._settledValue=function(){return this._settledValueField};var r=t.prototype.value=function(){if(!this.isFulfilled())throw new TypeError(`cannot get fulfillment value of a non-fulfilled promise 54 55 See http://goo.gl/MqrFmX 56`);return this._settledValue()},i=t.prototype.error=t.prototype.reason=function(){if(!this.isRejected())throw new TypeError(`cannot get rejection reason of a non-rejected promise 57 58 See http://goo.gl/MqrFmX 59`);return this._settledValue()},s=t.prototype.isFulfilled=function(){return(this._bitField&33554432)!==0},c=t.prototype.isRejected=function(){return(this._bitField&16777216)!==0},o=t.prototype.isPending=function(){return(this._bitField&50397184)===0},a=t.prototype.isResolved=function(){return(this._bitField&50331648)!==0};t.prototype.isCancelled=function(){return(this._bitField&8454144)!==0},e.prototype.__isCancelled=function(){return(this._bitField&65536)===6
595536},e.prototype._isCancelled=function(){return this._target().__isCancelled()},e.prototype.isCancelled=function(){return(this._target()._bitField&8454144)!==0},e.prototype.isPending=function(){return o.call(this._target())},e.prototype.isRejected=function(){return c.call(this._target())},e.prototype.isFulfilled=function(){return s.call(this._target())},e.prototype.isResolved=function(){return a.call(this._target())},e.prototype.value=function(){return r.call(this._target())},e.prototype.reason=function(){var l=this._target();return l._unsetRejectionIsUnhandled(),i.call(l)},e.prototype._value=function(){return this._settledValue()},e.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},e.PromiseInspection=t}),ha}var fa,Yo;function nf(){return Yo||(Yo=1,fa=function(e,t,r,i,s,c){var o=He(),a=o.canEvaluate,l=o.tryCatch,f=o.errorObj,m;if(a){for(var b=function(h){return new Function("value","holder",` 60 'use strict'; 61 holder.pIndex = value; 62 holder.checkFulfillment(this); 63 `.replace(/Index/g,h))},x=function(h){return new Function("promise","holder",` 64 'use strict'; 65 holder.pIndex = promise; 66 `.replace(/Index/g,h))},p=function(h){for(var g=new Array(h),k=0;k<g.length;++k)g[k]="this.p"+(k+1);var w=g.join(" = ")+" = null;",F=`var promise; 67`+g.map(function(K){return` 68 promise = `+K+`; 69 if (promise instanceof Promise) { 70 promise.cancel(); 71 } 72 `}).join(` 73`),z=g.join(", "),S="Holder$"+h,I=`return function(tryCatch, errorObj, Promise, async) { 74 'use strict'; 75 function [TheName](fn) { 76 [TheProperties] 77 this.fn = fn; 78 this.asyncNeeded = true; 79 this.now = 0; 80 } 81 82 [TheName].prototype._callFunction = function(promise) { 83 promise._pushContext(); 84 var ret = tryCatch(this.fn)([ThePassedArguments]); 85 promise._popContext(); 86 if (ret === errorObj) { 87 promise._rejectCallback(ret.e, false); 88 } else { 89 promise._resolveCallback(ret); 90 } 91 }; 92 93 [TheName].prototype.checkFulfillment = function(promise) { 94 var now = ++this.now; 95 if (now === [TheTotal]) { 96 if (this.asyncNeeded) { 97 async.invoke(this._callFunction, this, promise); 98 } else { 99 this._callFunction(promise); 100 } 101 102 } 103 }; 104 105 [TheName].prototype._resultCancelled = function() { 106 [CancellationCode] 107 }; 108 109 return [TheName]; 110 }(tryCatch, errorObj, Promise, async); 111 `;return I=I.replace(/\[TheName\]/g,S).replace(/\[TheTotal\]/g,h).replace(/\[ThePassedArguments\]/g,z).replace(/\[TheProperties\]/g,w).replace(/\[CancellationCode\]/g,F),new Function("tryCatch","errorObj","Promise","async",I)(l,f,e,s)},v=[],u=[],d=[],y=0;y<8;++y)v.push(p(y+1)),u.push(b(y+1)),d.push(x(y+1));m=function(h){this._reject(h)}}e.join=function(){var h=arguments.length-1,g;if(h>0&&typeof arguments[h]=="function"&&(g=arguments[h],h<=8&&a)){var _=new e(i);_._captureStackTrace();for(var k=v[h-1],w=new k(g),F=u,z=0;z<h;++z){var S=r(arguments[z],_);if(S instanceof e){S=S._target();var I=S._bitField;
111I&50397184?I&33554432?F[z].call(_,S._value(),w):I&16777216?_._reject(S._reason()):_._cancel():(S._then(F[z],m,void 0,_,w),d[z](S,w),w.asyncNeeded=!1)}else F[z].call(_,S,w)}if(!_._isFateSealed()){if(w.asyncNeeded){var K=c();K!==null&&(w.fn=o.domainBind(K,w.fn))}_._setAsyncGuaranteed(),_._setOnCancel(w)}return _}for(var ae=arguments.length,j=new Array(ae),R=0;R<ae;++R)j[R]=arguments[R];g&&j.pop();var _=new t(j).promise();return g!==void 0?_.spread(g):_}}),fa}var pa,ec;function rf(){return ec||(ec=1,pa=function(e,t,r,i,s,c){var o=e._getDomain,a=He(),l=a.tryCatch,f=a.errorObj,m=e._async;function b(p,v,u,d){this.constructor$(p),this._promise._captureStackTrace();var y=o();this._callback=y===null?v:a.domainBind(y,v),this._preservedValues=d===s?new Array(this.length()):null,this._limit=u,this._inFlight=0,this._queue=[],m.invoke(this._asyncInit,this,void 0)}a.inherits(b,t),b.prototype._asyncInit=function(){this._init$(void 0,-2)},b.prototype._init=function(){},b.prototype._promiseFulfilled=function(p,v){var u=this._values,d=this.length(),y=this._preservedValues,h=this._limit;if(v<0){if(v=v*-1-1,u[v]=p,h>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(h>=1&&this._inFlight>=h)return u[v]=p,this._queue.push(v),!1;y!==null&&(y[v]=p);var g=this._promise,k=this._callback,w=g._boundValue();g._pushContext();var F=l(k).call(w,p,v,d),z=g._popContext();if(c.checkForgottenReturns(F,z,y!==null?"Promise.filter":"Promise.map",g),F===f)return this._reject(F.e),!0;var S=i(F,this._promise);if(S instanceof e){S=S._target();var I=S._bitField;if(I&50397184)if(I&33554432)F=S._value();else return I&16777216?(this._reject(S._reason()),!0):(this._cancel(),!0);else return h>=1&&this._inFlight++,u[v]=S,S._proxy(this,(v+1)*-1),!1}u[v]=F}var K=++this._totalResolved;return K>=d?(y!==null?this._filter(u,y):this._resolve(u),!0):!1},b.prototype._drainQueue=function(){for(var p=this._queue,v=this._limit,u=this._values;p.length>0&&this._inFlight<v;){if(this._isResolved())return;var d=p.pop();this._promiseFulfilled(u[d],d)}},b.prototype._filter=function(p,v){for(var u=v.length,d=new Array(u),y=0,h=0;h<u;++h)p[h]&&(d[y++]=v[h]);d.length=y,this._resolve(d)},b.prototype.preservedValues=function(){return this._preservedValues};function x(p,v,u,d){if(typeof v!="function")return r("expecting a function but got "+a.classString(v));var y=0;if(u!==void 0)if(typeof u=="object"&&u!==null){if(typeof u.concurrency!="number")return e.reject(new TypeError("'concurrency' must be a number but it is "+a.classString(u.concurrency)));y=u.concurrency}else return e.reject(new TypeError("options argument must be an object but it is "+a.classString(u)));return y=typeof y=="number"&&isFinite(y)&&y>=1?y:0,new b(p,v,y,d).promise()}e.prototype.map=function(p,v){return x(this,p,v,null)},e.map=function(p,v,u,d){return x(p,v,u,d)}}),pa}var ga,tc;function af(){if(tc)return ga;tc=1;var e=Object.create;if(e){var t=e(null),r=e(null);t[" size"]=r[" size"]=0}return ga=function(i){var s=He(),c=s.canEvaluate,o=s.isIdentifier,a,l;{var f=function(d){return new Function("ensureMethod",` 112 return function(obj) { 113 'use strict' 114 var len = this.length; 115 ensureMethod(obj, 'methodName'); 116 switch(len) { 117 case 1: return obj.methodName(this[0]); 118 case 2: return obj.methodName(this[0], this[1]); 119 case 3: return obj.methodName(this[0], this[1], this[2]); 120 case 0: return obj.methodName(); 121 default: 122 return obj.methodName.apply(obj, this); 123 } 124 }; 125 `.replace(/methodName/g,d))(x)},m=function(d){return new Function("obj",` 126 'use strict'; 127 return obj.propertyName; 128 `.replace("propertyName",d))},b=function(d,y,h){var g=h[d];if(typeof g!="function"){if(!o(d))return null;if(g=y(d),h[d]=g,h[" size"]++,h[" size"]>512){for(var k=Object.keys(h),w=0;w<256;++w)delete h[k[w]];h[" size"]=k.length-256}}return g};a=function(d){return b(d,f,t)},l=function(d){return b(d,m,r)}}function x(d,y){var h;if(d!=null&&(h=d[y]),typeof h!="function"){var g="Object "+s.classString(d)+" has no method '"+s.toString(y)+"'";throw new i.TypeError(g)}return h}function p(d){var y=this.pop(),h=x(d,y);return h.apply(d,this)}i.prototype.call=function(d){for(var y=arguments.length,h=new Array(Math.max(y-1,0)),g=1;g<y;++g)h[g-1]=arguments[g];if(c){var k=a(d);if(k!==null)return this._then(k,void 0,void 0,h,void 0)}return h.push(d),this._then(p,void 0,void 0,h,void 0)};function v(d){return d[this]}function u(d){var y=+this;return y<0&&(y=Math.max(0,y+d.length)),d[y]}i.prototype.get=function(d){var y=typeof d=="number",h;if(y)h=u;else if(c){var g=l(d);h=g!==null?g:v}else h=v;return this._then(h,void 0,void 0,d,void 0)}},ga}var ma,nc;function sf(){return nc||(nc=1,ma=function(e,t,r,i,s,c){var o=He(),a=un().TypeError,l=He().inherits,f=
128o.errorObj,m=o.tryCatch,b={};function x(g){setTimeout(function(){throw g},0)}function p(g){var k=r(g);return k!==g&&typeof g._isDisposable=="function"&&typeof g._getDisposer=="function"&&g._isDisposable()&&k._setDisposable(g._getDisposer()),k}function v(g,k){var w=0,F=g.length,z=new e(s);function S(){if(w>=F)return z._fulfill();var I=p(g[w++]);if(I instanceof e&&I._isDisposable()){try{I=r(I._getDisposer().tryDispose(k),g.promise)}catch(K){return x(K)}if(I instanceof e)return I._then(S,x,null,null,null)}S()}return S(),z}function u(g,k,w){this._data=g,this._promise=k,this._context=w}u.prototype.data=function(){return this._data},u.prototype.promise=function(){return this._promise},u.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():b},u.prototype.tryDispose=function(g){var k=this.resource(),w=this._context;w!==void 0&&w._pushContext();var F=k!==b?this.doDispose(k,g):null;return w!==void 0&&w._popContext(),this._promise._unsetDisposable(),this._data=null,F},u.isDisposer=function(g){return g!=null&&typeof g.resource=="function"&&typeof g.tryDispose=="function"};function d(g,k,w){this.constructor$(g,k,w)}l(d,u),d.prototype.doDispose=function(g,k){var w=this.data();return w.call(g,g,k)};function y(g){return u.isDisposer(g)?(this.resources[this.index]._setDisposable(g),g.promise()):g}function h(g){this.length=g,this.promise=null,this[g-1]=null}h.prototype._resultCancelled=function(){for(var g=this.length,k=0;k<g;++k){var w=this[k];w instanceof e&&w.cancel()}},e.using=function(){var g=arguments.length;if(g<2)return t("you must pass at least 2 arguments to Promise.using");var k=arguments[g-1];if(typeof k!="function")return t("expecting a function but got "+o.classString(k));var w,F=!0;g===2&&Array.isArray(arguments[0])?(w=arguments[0],g=w.length,F=!1):(w=arguments,g--);for(var z=new h(g),S=0;S<g;++S){var I=w[S];if(u.isDisposer(I)){var K=I;I=I.promise(),I._setDisposable(K)}else{var ae=r(I);ae instanceof e&&(I=ae._then(y,null,null,{resources:z,index:S},void 0))}z[S]=I}for(var j=new Array(z.length),S=0;S<j.length;++S)j[S]=e.resolve(z[S]).reflect();var R=e.all(j).then(function(J){for(var U=0;U<J.length;++U){var A=J[U];if(A.isRejected())return f.e=A.error(),f;if(!A.isFulfilled()){R.cancel();return}J[U]=A.value()}_._pushContext(),k=m(k);var E=F?k.apply(void 0,J):k(J),C=_._popContext();return c.checkForgottenReturns(E,C,"Promise.using",_),E}),_=R.lastly(function(){var J=new e.PromiseInspection(R);return v(z,J)});return z.promise=_,_._setOnCancel(z),_},e.prototype._setDisposable=function(g){this._bitField=this._bitField|131072,this._disposer=g},e.prototype._isDisposable=function(){return(this._bitField&131072)>0},e.prototype._getDisposer=function(){return this._disposer},e.prototype._unsetDisposable=function(){this._bitField=this._bitField&-131073,this._disposer=void 0},e.prototype.disposer=function(g){if(typeof g=="function")return new d(g,this,i());throw new a}}),ma}var ya,rc;function of(){return rc||(rc=1,ya=function(e,t,r){var i=He(),s=e.TimeoutError;function c(b){this.handle=b}c.prototype._resultCancelled=function(){clearTimeout(this.handle)};var o=function(b){return a(+this).thenReturn(b)},a=e.delay=function(b,x){var p,v;return x!==void 0?(p=e.resolve(x)._then(o,null,null,b,void 0),r.cancellation()&&x instanceof e&&p._setOnCancel(x)):(p=new e(t),v=setTimeout(function(){p._fulfill()},+b),r.cancellation()&&p._setOnCancel(new c(v)),p._captureStackTrace()),p._setAsyncGuaranteed(),p};e.prototype.delay=function(b){return a(b,this)};var l=function(b,x,p){var v;typeof x!="string"?x instanceof Error?v=x:v=new s("operation timed out"):v=new s(x),i.markAsOriginatingFromRejection(v),b._attachExtraTrace(v),b._reject(v),p!=null&&p.cancel()};function f(b){return clearTimeout(this.handle),b}function m(b){throw clearTimeout(this.handle),b}e.prototype.timeout=function(b,x){b=+b;var p,v,u=new c(setTimeout(function(){p.isPending()&&l(p,x,v)},b));return r.cancellation()?(v=this.then(),p=v._then(f,m,void 0,u,void 0),p._setOnCancel(u)):p=this._then(f,m,void 0,u,void 0),p}}),ya}var ba,ic;function cf(){return ic||(ic=1,ba=function(e,t,r,i,s,c){var o=un(),a=o.TypeError,l=He(),f=l.errorObj,m=l.tryCatch,b=[];function x(v,u,d){for(var y=0;y<u.length;++y){d._pushContext();var h=m(u[y])(v);if(d._popContext(),h===f){d._pushContext();var g=e.reject(f.e);return d._popContext(),g}var k=i(h,d);if(k instanceof e)return k}return null}function p(v,u,d,y){if(c.cancellation()){var h=new e(r),g=this._finallyPromise=new e(r);this._promise=h.lastly(function(){return g}),h._captureStackTrace(),h._setOnCancel(this)}else{var k=this._promise=new e(r);k._captureStackTrace()}this._stack=y,this._generatorFunction=v,this._receiver=u,this._generator=void 0,this._yieldHandlers=typeof d=="function"?[d].concat(b):b,this._yieldedPromise=null,this._cancellationPhase=!1}l.inherits(p,s),p.prototype._isResolved=function(){return this._promise===null},p.prototype._cleanup=function(){this._promise=this._generator=null,c.cancellation()&&this._finallyPromise!==null&&(this._finallyPromise._fulfill(),this._finallyPromise=null)},p.prototype._promiseCancelled=function(){if(!this._isResolved()){var v=typeof this._generator.return<"u",u;
128if(v)this._promise._pushContext(),u=m(this._generator.return).call(this._generator,void 0),this._promise._popContext();else{var d=new e.CancellationError("generator .return() sentinel");e.coroutine.returnSentinel=d,this._promise._attachExtraTrace(d),this._promise._pushContext(),u=m(this._generator.throw).call(this._generator,d),this._promise._popContext()}this._cancellationPhase=!0,this._yieldedPromise=null,this._continue(u)}},p.prototype._promiseFulfilled=function(v){this._yieldedPromise=null,this._promise._pushContext();var u=m(this._generator.next).call(this._generator,v);this._promise._popContext(),this._continue(u)},p.prototype._promiseRejected=function(v){this._yieldedPromise=null,this._promise._attachExtraTrace(v),this._promise._pushContext();var u=m(this._generator.throw).call(this._generator,v);this._promise._popContext(),this._continue(u)},p.prototype._resultCancelled=function(){if(this._yieldedPromise instanceof e){var v=this._yieldedPromise;this._yieldedPromise=null,v.cancel()}},p.prototype.promise=function(){return this._promise},p.prototype._run=function(){this._generator=this._generatorFunction.call(this._receiver),this._receiver=this._generatorFunction=void 0,this._promiseFulfilled(void 0)},p.prototype._continue=function(v){var u=this._promise;if(v===f)return this._cleanup(),this._cancellationPhase?u.cancel():u._rejectCallback(v.e,!1);var d=v.value;if(v.done===!0)return this._cleanup(),this._cancellationPhase?u.cancel():u._resolveCallback(d);var y=i(d,this._promise);if(!(y instanceof e)&&(y=x(y,this._yieldHandlers,this._promise),y===null)){this._promiseRejected(new a(`A value %s was yielded that could not be treated as a promise 129 130 See http://goo.gl/MqrFmX 131 132`.replace("%s",d)+`From coroutine: 133`+this._stack.split(` 134`).slice(1,-7).join(` 135`)));return}y=y._target();var h=y._bitField;h&50397184?h&33554432?e._async.invoke(this._promiseFulfilled,this,y._value()):h&16777216?e._async.invoke(this._promiseRejected,this,y._reason()):this._promiseCancelled():(this._yieldedPromise=y,y._proxy(this,null))},e.coroutine=function(v,u){if(typeof v!="function")throw new a(`generatorFunction must be a function 136 137 See http://goo.gl/MqrFmX 138`);var d=Object(u).yieldHandler,y=p,h=new Error().stack;return function(){var g=v.apply(this,arguments),k=new y(void 0,void 0,d,h),w=k.promise();return k._generator=g,k._promiseFulfilled(void 0),w}},e.coroutine.addYieldHandler=function(v){if(typeof v!="function")throw new a("expecting a function but got "+l.classString(v));b.push(v)},e.spawn=function(v){if(c.deprecated("Promise.spawn()","Promise.coroutine()"),typeof v!="function")return t(`generatorFunction must be a function 139 140 See http://goo.gl/MqrFmX 141`);var u=new p(v,this),d=u.promise();return u._run(e.spawn),d}}),ba}var va,ac;
141function lf(){return ac||(ac=1,va=function(e){var t=He(),r=e._async,i=t.tryCatch,s=t.errorObj;function c(l,f){var m=this;if(!t.isArray(l))return o.call(m,l,f);var b=i(f).apply(m._boundValue(),[null].concat(l));b===s&&r.throwLater(b.e)}function o(l,f){var m=this,b=m._boundValue(),x=l===void 0?i(f).call(b,null):i(f).call(b,null,l);x===s&&r.throwLater(x.e)}function a(l,f){var m=this;if(!l){var b=new Error(l+"");b.cause=l,l=b}var x=i(f).call(m._boundValue(),l);x===s&&r.throwLater(x.e)}e.prototype.asCallback=e.prototype.nodeify=function(l,f){if(typeof l=="function"){var m=o;f!==void 0&&Object(f).spread&&(m=c),this._then(m,a,void 0,this,l)}return this}}),va}var xa,sc;function uf(){return sc||(sc=1,xa=function(e,t){var r={},i=He(),s=Ll(),c=i.withAppended,o=i.maybeWrapAsError,a=i.canEvaluate,l=un().TypeError,f="Async",m={__isPromisified__:!0},b=["arity","length","name","arguments","caller","callee","prototype","__isPromisified__"],x=new RegExp("^(?:"+b.join("|")+")$"),p=function(R){return i.isIdentifier(R)&&R.charAt(0)!=="_"&&R!=="constructor"};function v(R){return!x.test(R)}function u(R){try{return R.__isPromisified__===!0}catch{return!1}}function d(R,_,J){var U=i.getDataPropertyOrDefault(R,_+J,m);return U?u(U):!1}function y(R,_,J){for(var U=0;U<R.length;U+=2){var A=R[U];if(J.test(A)){for(var E=A.replace(J,""),C=0;C<R.length;C+=2)if(R[C]===E)throw new l(`Cannot promisify an API that has normal methods with '%s'-suffix 142 143 See http://goo.gl/MqrFmX 144`.replace("%s",_))}}}function h(R,_,J,U){for(var A=i.inheritedDataKeys(R),E=[],C=0;C<A.length;++C){var O=A[C],B=R[O],M=U===p?!0:p(O);typeof B=="function"&&!u(B)&&!d(R,O,_)&&U(O,B,R,M)&&E.push(O,B)}return y(E,_,J),E}var g=function(R){return R.replace(/([$])/,"\\$")},k;{var w=function(R){for(var _=[R],J=Math.max(0,R-1-3),U=R-1;U>=J;--U)_.push(U);for(var U=R+1;U<=3;++U)_.push(U);return _},F=function(R){return i.filledRange(R,"_arg","")},z=function(R){return i.filledRange(Math.max(R,3),"_arg","")},S=function(R){return typeof R.length=="number"?Math.max(Math.min(R.length,1024),0):0};k=function(R,_,J,U,A,E){var C=Math.max(0,S(U)-1),O=w(C),B=typeof R=="string"||_===r;function M(he){var fe=F(he).join(", "),ve=he>0?", ":"",De;return B?De=`ret = callback.call(this, {{args}}, nodeback); break; 145`:De=_===void 0?`ret = callback({{args}}, nodeback); break; 146`:`ret = callback.call(receiver, {{args}}, nodeback); break; 147`,De.replace("{{args}}",fe).replace(", ",ve)}function P(){for(var he="",fe=0;fe<O.length;++fe)he+="case "+O[fe]+":"+M(O[fe]);return he+=` 148 default: 149 var args = new Array(len + 1); 150 var i = 0; 151 for (var i = 0; i < len; ++i) { 152 args[i] = arguments[i]; 153 } 154 args[i] = nodeback; 155 [CodeForCall] 156 break; 157 `.replace("[CodeForCall]",B?`ret = callback.apply(this, args); 158`:`ret = callback.apply(receiver, args); 159`),he}var te=typeof R=="string"?"this != null ? this['"+R+"'] : fn":"fn",se=`'use strict'; 160 var ret = function (Parameters) { 161 'use strict'; 162 var len = arguments.length; 163 var promise = new Promise(INTERNAL); 164 promise._captureStackTrace(); 165 var nodeback = nodebackForPromise(promise, `+E+`); 166 var ret; 167 var callback = tryCatch([GetFunctionCode]); 168 switch(len) { 169 [CodeForSwitchCase] 170 } 171 if (ret === errorObj) { 172 promise._rejectCallback(maybeWrapAsError(ret.e), true, true); 173 } 174 if (!promise._isFateSealed()) promise._setAsyncGuaranteed(); 175 return promise; 176 }; 177 notEnumerableProp(ret, '__isPromisified__', true); 178 return ret; 179 `.replace("[CodeForSwitchCase]",P()).replace("[GetFunctionCode]",te);return se=se.replace("Parameters",z(C)),new Function("Promise","fn","receiver","withAppended","maybeWrapAsError","nodebackForPromise","tryCatch","errorObj","notEnumerableProp","INTERNAL",se)(e,U,_,c,o,s,i.tryCatch,i.errorObj,i.notEnumerableProp,t)}}function I(R,_,J,U,A,E){var C=function(){return this}(),O=R;typeof O=="string"&&(R=U);function B(){var M=_;_===r&&(M=this);var P=new e(t);P._captureStackTrace();var te=typeof O=="string"&&this!==C?this[O]:R,se=s(P,E);try{te.apply(M,c(arguments,se))}catch(he){P._rejectCallback(o(he),!0,!0)}return P._isFateSealed()||P._setAsyncGuaranteed(),P}return i.notEnumerableProp(B,"__isPromisified__",!0),B}var K=a?k:I;function ae(R,_,J,U,A){for(var E=new RegExp(g(_)+"$"),C=h(R,_,E,J),O=0,B=C.length;O<B;O+=2){var M=C[O],P=C[O+1],te=M+_;if(U===K)R[te]=K(M,r,M,P,_,A);else{var se=U(P,function(){return K(M,r,M,P,_,A)});i.notEnumerableProp(se,"__isPromisified__",!0),R[te]=se}}return i.toFastProperties(R),R}function j(R,_,J){return K(R,_,void 0,R,null,J)}e.promisify=function(R,_){if(typeof R!="function")throw new l("expecting a function but got "+i.classString(R));if(u(R))return R;_=Object(_);var J=_.context===void 0?r:_.context,U=!!_.multiArgs,A=j(R,J,U);return i.copyDescriptors(R,A,v),A},e.promisifyAll=function(R,_){if(typeof R!="function"&&typeof R!="object")throw new l(`the target of promisifyAll must be an object or a function 180 181 See http://goo.gl/MqrFmX 182`);_=Object(_);var J=!!_.multiArgs,U=_.suffix;
182typeof U!="string"&&(U=f);var A=_.filter;typeof A!="function"&&(A=p);var E=_.promisifier;if(typeof E!="function"&&(E=K),!i.isIdentifier(U))throw new RangeError(`suffix must be a valid identifier 183 184 See http://goo.gl/MqrFmX 185`);for(var C=i.inheritedDataKeys(R),O=0;O<C.length;++O){var B=R[C[O]];C[O]!=="constructor"&&i.isClass(B)&&(ae(B.prototype,U,A,E,J),ae(B,U,A,E,J))}return ae(R,U,A,E,J)}}),xa}var Da,oc;function df(){return oc||(oc=1,Da=function(e,t,r,i){var s=He(),c=s.isObject,o=Zn(),a;typeof Map=="function"&&(a=Map);var l=function(){var x=0,p=0;function v(u,d){this[x]=u,this[x+p]=d,x++}return function(d){p=d.size,x=0;var y=new Array(d.size*2);return d.forEach(v,y),y}}(),f=function(x){for(var p=new a,v=x.length/2|0,u=0;u<v;++u){var d=x[v+u],y=x[u];p.set(d,y)}return p};function m(x){var p=!1,v;if(a!==void 0&&x instanceof a)v=l(x),p=!0;else{var u=o.keys(x),d=u.length;v=new Array(d*2);for(var y=0;y<d;++y){var h=u[y];v[y]=x[h],v[y+d]=h}}this.constructor$(v),this._isMap=p,this._init$(void 0,-3)}s.inherits(m,t),m.prototype._init=function(){},m.prototype._promiseFulfilled=function(x,p){this._values[p]=x;var v=++this._totalResolved;if(v>=this._length){var u;if(this._isMap)u=f(this._values);else{u={};for(var d=this.length(),y=0,h=this.length();y<h;++y)u[this._values[y+d]]=this._values[y]}return this._resolve(u),!0}return!1},m.prototype.shouldCopyValues=function(){return!1},m.prototype.getActualLength=function(x){return x>>1};function b(x){var p,v=r(x);if(c(v))v instanceof e?p=v._then(e.props,void 0,void 0,void 0,void 0):p=new m(v).promise();else return i(`cannot await properties of a non-object 186 187 See http://goo.gl/MqrFmX 188`);return v instanceof e&&p._propagateFrom(v,2),p}e.prototype.props=function(){return b(this)},e.props=function(x){return b(x)}}),Da}var _a,cc;function hf(){return cc||(cc=1,_a=function(e,t,r,i){var s=He(),c=function(a){return a.then(function(l){return o(l,a)})};function o(a,l){var f=r(a);if(f instanceof e)return c(f);if(a=s.asArray(a),a===null)return i("expecting an array or an iterable object but got "+s.classString(a));var m=new e(t);l!==void 0&&m._propagateFrom(l,3);for(var b=m._fulfill,x=m._reject,p=0,v=a.length;p<v;++p){var u=a[p];u===void 0&&!(p in a)||e.cast(u)._then(b,x,void 0,m,null)}return m}e.race=function(a){return o(a,void 0)},e.prototype.race=function(){return o(this,void 0)}}),_a}var ka,lc;function ff(){return lc||(lc=1,ka=function(e,t,r,i,s,c){var o=e._getDomain,a=He(),l=a.tryCatch;function f(v,u,d,y){this.constructor$(v);var h=o();this._fn=h===null?u:a.domainBind(h,u),d!==void 0&&(d=e.resolve(d),d._attachCancellationCallback(this)),this._initialValue=d,this._currentCancellable=null,y===s?this._eachValues=Array(this._length):y===0?this._eachValues=null:this._eachValues=void 0,this._promise._captureStackTrace(),this._init$(void 0,-5)}a.inherits(f,t),f.prototype._gotAccum=function(v){this._eachValues!==void 0&&this._eachValues!==null&&v!==s&&this._eachValues.push(v)},f.prototype._eachComplete=function(v){return this._eachValues!==null&&this._eachValues.push(v),this._eachValues},f.prototype._init=function(){},f.prototype._resolveEmptyArray=function(){this._resolve(this._eachValues!==void 0?this._eachValues:this._initialValue)},f.prototype.shouldCopyValues=function(){return!1},f.prototype._resolve=function(v){this._promise._resolveCallback(v),this._values=null},f.prototype._resultCancelled=function(v){if(v===this._initialValue)return this._cancel();this._isResolved()||(this._resultCancelled$(),this._currentCancellable instanceof e&&this._currentCancellable.cancel(),this._initialValue instanceof e&&this._initialValue.cancel())},f.prototype._iterate=function(v){this._values=v;var u,d,y=v.length;if(this._initialValue!==void 0?(u=this._initialValue,d=0):(u=e.resolve(v[0]),d=1),this._currentCancellable=u,!u.isRejected())for(;d<y;++d){var h={accum:null,value:v[d],index:d,length:y,array:this};u=u._then(x,void 0,void 0,h,void 0)}this._eachValues!==void 0&&(u=u._then(this._eachComplete,void 0,void 0,this,void 0)),u._then(m,m,void 0,u,this)},e.prototype.reduce=function(v,u){return b(this,v,u,null)},e.reduce=function(v,u,d,y){return b(v,u,d,y)};function m(v,u){this.isFulfilled()?u._resolve(v):u._reject(v)}function b(v,u,d,y){if(typeof u!="function")return r("expecting a function but got "+a.classString(u));var h=new f(v,u,d,y);return h.promise()}function x(v){this.accum=v,this.array._gotAccum(v);var u=i(this.value,this.array._promise);return u instanceof e?(this.array._currentCancellable=u,u._then(p,void 0,void 0,this,void 0)):p.call(this,u)}function p(v){var u=this.array,d=u._promise,y=l(u._fn);d._pushContext();var h;u._eachValues!==void 0?h=y.call(d._boundValue(),v,this.index,this.length):h=y.call(d._boundValue(),this.accum,v,this.index,this.length),h instanceof e&&(u._currentCancellable=h);var g=d._popContext();return c.checkForgottenReturns(h,g,u._eachValues!==void 0?"Promise.each":"Promise.reduce",d),h}}),ka}var wa,uc;function pf(){return uc||(uc=1,wa=function(e,t,r){var i=e.PromiseInspection,s=He();function c(o){this.constructor$(o)}s.inherits(c,t),c.prototype._promiseResolved=function(o,a){this._values[o]=a;var l=++this._totalResolved;return l>=this._length?(this._resolve(this._values),!0):!1},c.prototype._promiseFulfilled=function(o,a){var l=new i;return l._bitField=33554432,l._settledValueField=o,this._promiseResolved(a,l)}
188,c.prototype._promiseRejected=function(o,a){var l=new i;return l._bitField=16777216,l._settledValueField=o,this._promiseResolved(a,l)},e.settle=function(o){return r.deprecated(".settle()",".reflect()"),new c(o).promise()},e.prototype.settle=function(){return e.settle(this)}}),wa}var Ua,dc;function gf(){return dc||(dc=1,Ua=function(e,t,r){var i=He(),s=un().RangeError,c=un().AggregateError,o=i.isArray,a={};function l(m){this.constructor$(m),this._howMany=0,this._unwrap=!1,this._initialized=!1}i.inherits(l,t),l.prototype._init=function(){if(this._initialized){if(this._howMany===0){this._resolve([]);return}this._init$(void 0,-5);var m=o(this._values);!this._isResolved()&&m&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}},l.prototype.init=function(){this._initialized=!0,this._init()},l.prototype.setUnwrap=function(){this._unwrap=!0},l.prototype.howMany=function(){return this._howMany},l.prototype.setHowMany=function(m){this._howMany=m},l.prototype._promiseFulfilled=function(m){return this._addFulfilled(m),this._fulfilled()===this.howMany()?(this._values.length=this.howMany(),this.howMany()===1&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values),!0):!1}
188,l.prototype._promiseRejected=function(m){return this._addRejected(m),this._checkOutcome()},l.prototype._promiseCancelled=function(){return this._values instanceof e||this._values==null?this._cancel():(this._addRejected(a),this._checkOutcome())},l.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var m=new c,b=this.length();b<this._values.length;++b)this._values[b]!==a&&m.push(this._values[b]);return m.length>0?this._reject(m):this._cancel(),!0}return!1},l.prototype._fulfilled=function(){return this._totalResolved},l.prototype._rejected=function(){return this._values.length-this.length()},l.prototype._addRejected=function(m){this._values.push(m)},l.prototype._addFulfilled=function(m){this._values[this._totalResolved++]=m},l.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},l.prototype._getRangeError=function(m){var b="Input array must contain at least "+this._howMany+" items but contains only "+m+" items";return new s(b)},l.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))};function f(m,b){if((b|0)!==b||b<0)return r(`expecting a positive integer 189 190 See http://goo.gl/MqrFmX 191`);var x=new l(m),p=x.promise();return x.setHowMany(b),x.init(),p}e.some=function(m,b){return f(m,b)},e.prototype.some=function(m){return f(this,m)},e._SomePromiseArray=l}),Ua}var Ta,hc;function mf(){return hc||(hc=1,Ta=function(e,t){var r=e.map;e.prototype.filter=function(i,s){return r(this,i,s,t)},e.filter=function(i,s,c){return r(i,s,c,t)}}),Ta}var Ca,fc;function yf(){return fc||(fc=1,Ca=function(e,t){var r=e.reduce,i=e.all;function s(){return i(this)}function c(o,a){return r(o,a,t,t)}e.prototype.each=function(o){return r(this,o,t,0)._then(s,void 0,void 0,this,void 0)},e.prototype.mapSeries=function(o){return r(this,o,t,t)},e.each=function(o,a){return r(o,a,t,0)._then(s,void 0,void 0,o,void 0)},e.mapSeries=c}),Ca}var Ea,pc;function bf(){return pc||(pc=1,Ea=function(e){var t=e._SomePromiseArray;function r(i){var s=new t(i),c=s.promise();return s.setHowMany(1),s.setUnwrap(),s.init(),c}e.any=function(i){return r(i)},e.prototype.any=function(){return r(this)}}),Ea}(function(e){e.exports=function(){var t=function(){return new x(`circular promise resolution chain 192 193 See http://goo.gl/MqrFmX 194`)},r=function(){return new j.PromiseInspection(this._target())},i=function(U){return j.reject(new x(U))};function s(){}var c={},o=He(),a;o.isNode?a=function(){var U=process.domain;return U===void 0&&(U=null),U}:a=function(){return null},o.notEnumerableProp(j,"_getDomain",a);var l=Zn(),f=Hh(),m=new f;l.defineProperty(j,"_async",{value:m});var b=un(),x=j.TypeError=b.TypeError;j.RangeError=b.RangeError;var p=j.CancellationError=b.CancellationError;j.TimeoutError=b.TimeoutError,j.OperationalError=b.OperationalError,j.RejectionError=b.OperationalError,j.AggregateError=b.AggregateError;var v=function(){},u={},d={},y=Xh()(j,v),h=Vh()(j,v,y,i,s),g=$h()(j),k=g.create,w=Kh()(j,g);w.CapturedTrace;var F=Jh()(j,y),z=Gh()(d),S=Ll(),I=o.errorObj,K=o.tryCatch;function ae(U,A){if(typeof A!="function")throw new x("expecting a function but got "+o.classString(A));if(U.constructor!==j)throw new x(`the promise constructor cannot be invoked directly 195 196 See http://goo.gl/MqrFmX 197`)}function j(U){this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,U!==v&&(ae(this,U),this._resolveFromExecutor(U)),this._promiseCreated(),this._fireEvent("promiseCreated",this)}j.prototype.toString=function(){return"[object Promise]"},j.prototype.caught=j.prototype.catch=function(U){var A=arguments.length;if(A>1){var E=new Array(A-1),C=0,O;for(O=0;O<A-1;++O){var B=arguments[O];if(o.isObject(B))E[C++]=B;else return i("expecting an object but got A catch statement predicate "+o.classString(B))}return E.length=C,U=arguments[O],this.then(void 0,z(E,U,this))}return this.then(void 0,U)},j.prototype.reflect=function(){return this._then(r,r,void 0,this,void 0)},j.prototype.then=function(U,A){if(w.warnings()&&arguments.length>0&&typeof U!="function"&&typeof A!="function"){var E=".then() only accepts functions but was passed: "+o.classString(U);arguments.length>1&&(E+=", "+o.classString(A)),this._warn(E)}return this._then(U,A,void 0,void 0,void 0)},j.prototype.done=function(U,A){var E=this._then(U,A,void 0,void 0,void 0);E._setIsFinal()},j.prototype.spread=function(U){return typeof U!="function"?i("expecting a function but got "+o.classString(U)):this.all()._then(U,void 0,void 0,u,void 0)},j.prototype.toJSON=function(){var U={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(U.fulfillmentValue=this.value(),U.isFulfilled=!0):this.isRejected()&&(U.rejectionReason=this.reason(),U.isRejected=!0),U},j.prototype.all=function(){return arguments.length>0&&this._warn(".all() was passed arguments but it does not take any"),new h(this).promise()},j.prototype.error=function(U){return this.caught(o.originatesFromRejection,U)},j.getNewLibraryCopy=e.exports,j.is=function(U){return U instanceof j},j.fromNode=j.fromCallback=function(U){var A=new j(v);A._captureStackTrace();var E=arguments.length>1?!!Object(arguments[1]).multiArgs:!1,C=K(U)(S(A,E));return C===I&&A._rejectCallback(C.e,!0),A._isFateSealed()||A._setAsyncGuaranteed(),A},j.all=function(U){return new h(U).promise()},j.cast=function(U){var A=y(U);return A instanceof j||(A=new j(v),A._captureStackTrace(),A._setFulfilled(),A._rejectionHandler0=U),A},j.resolve=j.fulfilled=j.cast,j.reject=j.rejected=function(U){var A=new j(v);return A._captureStackTrace(),A._rejectCallback(U,!0),A}
197,j.setScheduler=function(U){if(typeof U!="function")throw new x("expecting a function but got "+o.classString(U));return m.setScheduler(U)},j.prototype._then=function(U,A,E,C,O){var B=O!==void 0,M=B?O:new j(v),P=this._target(),te=P._bitField;B||(M._propagateFrom(this,3),M._captureStackTrace(),C===void 0&&this._bitField&2097152&&(te&50397184?C=this._boundValue():C=P===this?void 0:this._boundTo),this._fireEvent("promiseChained",this,M));var se=a();if(te&50397184){var he,fe,ve=P._settlePromiseCtx;te&33554432?(fe=P._rejectionHandler0,he=U):te&16777216?(fe=P._fulfillmentHandler0,he=A,P._unsetRejectionIsUnhandled()):(ve=P._settlePromiseLateCancellationObserver,fe=new p("late cancellation observer"),P._attachExtraTrace(fe),he=A),m.invoke(ve,P,{handler:se===null?he:typeof he=="function"&&o.domainBind(se,he),promise:M,receiver:C,value:fe})}else P._addCallbacks(U,A,M,C,se);return M},j.prototype._length=function(){return this._bitField&65535},j.prototype._isFateSealed=function(){return(this._bitField&117506048)!==0},j.prototype._isFollowing=function(){return(this._bitField&67108864)===67108864},j.prototype._setLength=function(U){this._bitField=this._bitField&-65536|U&65535},j.prototype._setFulfilled=function(){this._bitField=this._bitField|33554432,this._fireEvent("promiseFulfilled",this)},j.prototype._setRejected=function(){this._bitField=this._bitField|16777216,this._fireEvent("promiseRejected",this)},j.prototype._setFollowing=function(){this._bitField=this._bitField|67108864,this._fireEvent("promiseResolved",this)},j.prototype._setIsFinal=function(){this._bitField=this._bitField|4194304},j.prototype._isFinal=function(){return(this._bitField&4194304)>0},j.prototype._unsetCancelled=function(){this._bitField=this._bitField&-65537},j.prototype._setCancelled=function(){this._bitField=this._bitField|65536,this._fireEvent("promiseCancelled",this)},j.prototype._setWillBeCancelled=function(){this._bitField=this._bitField|8388608},j.prototype._setAsyncGuaranteed=function(){m.hasCustomScheduler()||(this._bitField=this._bitField|134217728)},j.prototype._receiverAt=function(U){var A=U===0?this._receiver0:this[U*4-4+3];if(A!==c)return A===void 0&&this._isBound()?this._boundValue():A},j.prototype._promiseAt=function(U){return this[U*4-4+2]},j.prototype._fulfillmentHandlerAt=function(U){return this[U*4-4+0]},j.prototype._rejectionHandlerAt=function(U){return this[U*4-4+1]},j.prototype._boundValue=function(){},j.prototype._migrateCallback0=function(U){U._bitField;var A=U._fulfillmentHandler0,E=U._rejectionHandler0,C=U._promise0,O=U._receiverAt(0);O===void 0&&(O=c),this._addCallbacks(A,E,C,O,null)},j.prototype._migrateCallbackAt=function(U,A){var E=U._fulfillmentHandlerAt(A),C=U._rejectionHandlerAt(A),O=U._promiseAt(A),B=U._receiverAt(A);B===void 0&&(B=c),this._addCallbacks(E,C,O,B,null)},j.prototype._addCallbacks=function(U,A,E,C,O){var B=this._length();if(B>=65531&&(B=0,this._setLength(0)),B===0)this._promise0=E,this._receiver0=C,typeof U=="function"&&(this._fulfillmentHandler0=O===null?U:o.domainBind(O,U)),typeof A=="function"&&(this._rejectionHandler0=O===null?A:o.domainBind(O,A));else{var M=B*4-4;this[M+2]=E,this[M+3]=C,typeof U=="function"&&(this[M+0]=O===null?U:o.domainBind(O,U)),typeof A=="function"&&(this[M+1]=O===null?A:o.domainBind(O,A))}return this._setLength(B+1),B},j.prototype._proxy=function(U,A){this._addCallbacks(void 0,void 0,A,U,null)},j.prototype._resolveCallback=function(U,A){if(!(this._bitField&117506048)){if(U===this)return this._rejectCallback(t(),!1);var E=y(U,this);if(!(E instanceof j))return this._fulfill(U);A&&this._propagateFrom(E,2);var C=E._target();if(C===this){this._reject(t());return}var O=C._bitField;if(O&50397184)if(O&33554432)this._fulfill(C._value());else if(O&16777216)this._reject(C._reason());else{var P=new p("late cancellation observer");C._attachExtraTrace(P),this._reject(P)}else{var B=this._length();B>0&&C._migrateCallback0(this);for(var M=1;M<B;++M)C._migrateCallbackAt(this,M);this._setFollowing(),this._setLength(0),this._setFollowee(C)}}},j.prototype._rejectCallback=function(U,A,E){var C=o.ensureErrorObject(U),O=C===U;
197if(!O&&!E&&w.warnings()){var B="a promise was rejected with a non-error: "+o.classString(U);this._warn(B,!0)}this._attachExtraTrace(C,A?O:!1),this._reject(U)},j.prototype._resolveFromExecutor=function(U){var A=this;this._captureStackTrace(),this._pushContext();var E=!0,C=this._execute(U,function(O){A._resolveCallback(O)},function(O){A._rejectCallback(O,E)});E=!1,this._popContext(),C!==void 0&&A._rejectCallback(C,!0)},j.prototype._settlePromiseFromHandler=function(U,A,E,C){var O=C._bitField;if(!(O&65536)){C._pushContext();var B;A===u?!E||typeof E.length!="number"?(B=I,B.e=new x("cannot .spread() a non-array: "+o.classString(E))):B=K(U).apply(this._boundValue(),E):B=K(U).call(A,E);var M=C._popContext();O=C._bitField,!(O&65536)&&(B===d?C._reject(E):B===I?C._rejectCallback(B.e,!1):(w.checkForgottenReturns(B,M,"",C,this),C._resolveCallback(B)))}},j.prototype._target=function(){for(var U=this;U._isFollowing();)U=U._followee();return U},j.prototype._followee=function(){return this._rejectionHandler0},j.prototype._setFollowee=function(U){this._rejectionHandler0=U},j.prototype._settlePromise=function(U,A,E,C){var O=U instanceof j,B=this._bitField,M=(B&134217728)!==0;B&65536?(O&&U._invokeInternalOnCancel(),E instanceof F&&E.isFinallyHandler()?(E.cancelPromise=U,K(A).call(E,C)===I&&U._reject(I.e)):A===r?U._fulfill(r.call(E)):E instanceof s?E._promiseCancelled(U):O||U instanceof h?U._cancel():E.cancel()):typeof A=="function"?O?(M&&U._setAsyncGuaranteed(),this._settlePromiseFromHandler(A,E,C,U)):A.call(E,C,U):E instanceof s?E._isResolved()||(B&33554432?E._promiseFulfilled(C,U):E._promiseRejected(C,U)):O&&(M&&U._setAsyncGuaranteed(),B&33554432?U._fulfill(C):U._reject(C))},j.prototype._settlePromiseLateCancellationObserver=function(U){var A=U.handler,E=U.promise,C=U.receiver,O=U.value;typeof A=="function"?E instanceof j?this._settlePromiseFromHandler(A,C,O,E):A.call(C,O,E):E instanceof j&&E._reject(O)},j.prototype._settlePromiseCtx=function(U){this._settlePromise(U.promise,U.handler,U.receiver,U.value)},j.prototype._settlePromise0=function(U,A,E){var C=this._promise0,O=this._receiverAt(0);this._promise0=void 0,this._receiver0=void 0,this._settlePromise(C,U,O,A)},j.prototype._clearCallbackDataAtIndex=function(U){var A=U*4-4;this[A+2]=this[A+3]=this[A+0]=this[A+1]=void 0},j.prototype._fulfill=function(U){var A=this._bitField;if(!((A&117506048)>>>16)){if(U===this){var E=t();return this._attachExtraTrace(E),this._reject(E)}this._setFulfilled(),this._rejectionHandler0=U,(A&65535)>0&&(A&134217728?this._settlePromises():m.settlePromises(this))}},j.prototype._reject=function(U){var A=this._bitField;if(!((A&117506048)>>>16)){if(this._setRejected(),this._fulfillmentHandler0=U,this._isFinal())return m.fatalError(U,o.isNode);(A&65535)>0?m.settlePromises(this):this._ensurePossibleRejectionHandled()}},j.prototype._fulfillPromises=function(U,A){for(var E=1;E<U;E++){var C=this._fulfillmentHandlerAt(E),O=this._promiseAt(E),B=this._receiverAt(E);this._clearCallbackDataAtIndex(E),this._settlePromise(O,C,B,A)}},j.prototype._rejectPromises=function(U,A){for(var E=1;E<U;E++){var C=this._rejectionHandlerAt(E),O=this._promiseAt(E),B=this._receiverAt(E);this._clearCallbackDataAtIndex(E),this._settlePromise(O,C,B,A)}},j.prototype._settlePromises=function(){var U=this._bitField,A=U&65535;if(A>0){if(U&16842752){var E=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,E,U),this._rejectPromises(A,E)}else{var C=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,C,U),this._fulfillPromises(A,C)}this._setLength(0)}this._clearCancellationData()},j.prototype._settledValue=function(){var U=this._bitField;if(U&33554432)return this._rejectionHandler0;if(U&16777216)return this._fulfillmentHandler0};function R(U){this.promise._resolveCallback(U)}function _(U){this.promise._rejectCallback(U,!1)}j.defer=j.pending=function(){w.deprecated("Promise.defer","new Promise");var U=new j(v);return{promise:U,resolve:R,reject:_}},o.notEnumerableProp(j,"_makeSelfResolutionError",t),Zh()(j,v,y,i,w),Qh()(j,v,y,w),Yh()(j,h,i,w),ef()(j),tf()(j),nf()(j,h,y,v,m,a),j.Promise=j,j.version="3.4.7",rf()(j,h,i,y,v,w),af()(j),sf()(j,i,y,k,v,w),of()(j,v,w),cf()(j,i,v,y,s,w),lf()(j),uf()(j,v),df()(j,h,y,i),hf()(j,v,y,i),ff()(j,h,i,y,v,w),pf()(j,h,w),gf()(j,h,i),mf()(j,v),yf()(j,v),bf()(j),o.toFastProperties(j),o.toFastProperties(j.prototype);function J(U){var A=new j(v);A._fulfillmentHandler0=U,A._rejectionHandler0=U,A._promise0=U,A._receiver0=U}return J({a:1}),J({b:2}),J({c:3}),J(1),J(function(){}),J(void 0),J(!1),J(new j(v)),w.setBounds(f.firstLineError,o.lastLineError),j}})(Il);var vf=Il.exports,xf=$e,dt=vf();Ze.defer=Df;Ze.when=dt.resolve;Ze.resolve=dt.resolve;Ze.all=dt.all;Ze.props=dt.props;Ze.reject=dt.reject;Ze.promisify=dt.promisify;Ze.mapSeries=dt.mapSeries;Ze.attempt=dt.attempt;Ze.nfcall=function(e){var t=Array.prototype.slice.call(arguments,1
197),r=dt.promisify(e);return r.apply(null,t)};dt.prototype.fail=dt.prototype.caught;dt.prototype.also=function(e){return this.then(function(t){var r=xf.extend({},t,e(t));return dt.props(r)})};function Df(){var e,t,r=new dt.Promise(function(i,s){e=i,t=s});return{resolve:e,reject:t,promise:r}}var Ne={},_f=$e,et=Ne.types={document:"document",paragraph:"paragraph",run:"run",text:"text",tab:"tab",checkbox:"checkbox",hyperlink:"hyperlink",noteReference:"noteReference",image:"image",note:"note",commentReference:"commentReference",comment:"comment",table:"table",tableRow:"tableRow",tableCell:"tableCell",break:"break",bookmarkStart:"bookmarkStart"};function kf(e,t){return t=t||{},{type:et.document,children:e,notes:t.notes||new ti({}),comments:t.comments||[]}}function wf(e,t){t=t||{};var r=t.indent||{};return{type:et.paragraph,children:e,styleId:t.styleId||null,styleName:t.styleName||null,numbering:t.numbering||null,alignment:t.alignment||null,indent:{start:r.start||null,end:r.end||null,firstLine:r.firstLine||null,hanging:r.hanging||null}}}function Uf(e,t){return t=t||{},{type:et.run,children:e,styleId:t.styleId||null,styleName:t.styleName||null,isBold:!!t.isBold,isUnderline:!!t.isUnderline,isItalic:!!t.isItalic,isStrikethrough:!!t.isStrikethrough,isAllCaps:!!t.isAllCaps,isSmallCaps:!!t.isSmallCaps,verticalAlignment:t.verticalAlignment||Ml.baseline,font:t.font||null,fontSize:t.fontSize||null,highlight:t.highlight||null}}var Ml={baseline:"baseline",superscript:"superscript",subscript:"subscript"};function Tf(e){return{type:et.text,value:e}}function Cf(){return{type:et.tab}}function Ef(e){return{type:et.checkbox,checked:e.checked}}function Ff(e,t){return{type:et.hyperlink,children:e,href:t.href,anchor:t.anchor,targetFrame:t.targetFrame}}function jf(e){return{type:et.noteReference,noteType:e.noteType,noteId:e.noteId}}function ti(e){this._notes=_f.indexBy(e,function(t){return ql(t.noteType,t.noteId)})}ti.prototype.resolve=function(e){return this.findNoteByKey(ql(e.noteType,e.noteId))};ti.prototype.findNoteByKey=function(e){return this._notes[e]||null};function Af(e){return{type:et.note,noteType:e.noteType,noteId:e.noteId,body:e.body}}function zf(e){return{type:et.commentReference,commentId:e.commentId}}function Nf(e){return{type:et.comment,commentId:e.commentId,body:e.body,authorName:e.authorName,authorInitials:e.authorInitials}}function ql(e,t){return e+"-"+t}function Sf(e){return{type:et.image,read:function(t){return t?e.readImage(t):e.readImage().then(function(r){return Buffer.from(r)})},readAsArrayBuffer:function(){return e.readImage()},readAsBase64String:function(){return e.readImage("base64")},readAsBuffer:function(){return e.readImage().then(function(t){return Buffer.from(t)})},altText:e.altText,contentType:e.contentType}}function Bf(e,t){return t=t||{},{type:et.table,children:e,styleId:t.styleId||null,styleName:t.styleName||null}}function Wf(e,t){return t=t||{},{type:et.tableRow,children:e,isHeader:t.isHeader||!1}}function Of(e,t){return t=t||{},{type:et.tableCell,children:e,colSpan:t.colSpan==null?1:t.colSpan,rowSpan:t.rowSpan==null?1:t.rowSpan}}function _s(e){return{type:et.break,breakType:e}}function Rf(e){return{type:et.bookmarkStart,name:e.name}}Ne.document=Ne.Document=kf;Ne.paragraph=Ne.Paragraph=wf;Ne.run=Ne.Run=Uf;Ne.text=Ne.Text=Tf;Ne.tab=Ne.Tab=Cf;Ne.checkbox=Ne.Checkbox=Ef;Ne.Hyperlink=Ff;Ne.noteReference=Ne.NoteReference=jf;Ne.Notes=ti;Ne.Note=Af;Ne.commentReference=zf;Ne.comment=Nf;Ne.Image=Sf;Ne.Table=Bf;Ne.TableRow=Wf;Ne.TableCell=Of;Ne.lineBreak=_s("line");Ne.pageBreak=_s("page");Ne.columnBreak=_s("column");Ne.BookmarkStart=Rf;Ne.verticalAlignment=Ml;var _t={},yr=$e;_t.Result=Lt;_t.success=If;_t.warning=Lf;_t.error=Mf;function Lt(e,t){this.value=e,this.messages=t||[]}Lt.prototype.map=function(e){return new Lt(e(this.value),this.messages)};Lt.prototype.flatMap=function(e){var t=e(this.value);return new Lt(t.value,ks([this,t]))};Lt.prototype.flatMapThen=function(e){var t=this;return e(this.value).then(function(r){return new Lt(r.value,ks([t,r]))})};Lt.combine=function(e){var t=yr.flatten(yr.pluck(e,"value")),r=ks(e);return new Lt(t,r)};function If(e){return new Lt(e,[])}function Lf(e){return{type:"warning",message:e}}function Mf(e){return{type:"error",message:e.message,error:e}}function ks(e){var t=[];
197return yr.flatten(yr.pluck(e,"messages"),!0).forEach(function(r){qf(t,r)||t.push(r)}),t}function qf(e,t){return yr.find(e,Pf.bind(null,t))!==void 0}function Pf(e,t){return e.type===t.type&&e.message===t.message}var Ur={},ni={};ni.byteLength=Vf;ni.toByteArray=Kf;ni.fromByteArray=Zf;var Ot=[],wt=[],Hf=typeof Uint8Array<"u"?Uint8Array:Array,Fa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var En=0,Xf=Fa.length;En<Xf;++En)Ot[En]=Fa[En],wt[Fa.charCodeAt(En)]=En;wt[45]=62;wt[95]=63;function Pl(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var i=r===t?0:4-r%4;return[r,i]}function Vf(e){var t=Pl(e),r=t[0],i=t[1];return(r+i)*3/4-i}function $f(e,t,r){return(t+r)*3/4-r}function Kf(e){var t,r=Pl(e),i=r[0],s=r[1],c=new Hf($f(e,i,s)),o=0,a=s>0?i-4:i,l;for(l=0;l<a;l+=4)t=wt[e.charCodeAt(l)]<<18|wt[e.charCodeAt(l+1)]<<12|wt[e.charCodeAt(l+2)]<<6|wt[e.charCodeAt(l+3)],c[o++]=t>>16&255,c[o++]=t>>8&255,c[o++]=t&255;return s===2&&(t=wt[e.charCodeAt(l)]<<2|wt[e.charCodeAt(l+1)]>>4,c[o++]=t&255),s===1&&(t=wt[e.charCodeAt(l)]<<10|wt[e.charCodeAt(l+1)]<<4|wt[e.charCodeAt(l+2)]>>2,c[o++]=t>>8&255,c[o++]=t&255),c}function Jf(e){return Ot[e>>18&63]+Ot[e>>12&63]+Ot[e>>6&63]+Ot[e&63]}function Gf(e,t,r){for(var i,s=[],c=t;c<r;c+=3)i=(e[c]<<16&16711680)+(e[c+1]<<8&65280)+(e[c+2]&255),s.push(Jf(i));return s.join("")}function Zf(e){for(var t,r=e.length,i=r%3,s=[],c=16383,o=0,a=r-i;o<a;o+=c)s.push(Gf(e,o,o+c>a?a:o+c));return i===1?(t=e[r-1],s.push(Ot[t>>2]+Ot[t<<4&63]+"==")):i===2&&(t=(e[r-2]<<8)+e[r-1],s.push(Ot[t>>10]+Ot[t>>4&63]+Ot[t<<2&63]+"=")),s.join("")}function Rr(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Hl={exports:{}};/*! 198 199JSZip v3.10.1 - A JavaScript class for generating and reading zip files 200<http://stuartk.com/jszip> 201 202(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com> 203Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown. 204 205JSZip uses the library pako released under the MIT license : 206https://github.com/nodeca/pako/blob/main/LICENSE 207*/(function(e,t){(function(r){e.exports=r()})(function(){return function r(i,s,c){function o(f,m){if(!s[f]){if(!i[f]){var b=typeof Rr=="function"&&Rr;if(!m&&b)return b(f,!0);if(a)return a(f,!0);var x=new Error("Cannot find module '"+f+"'");throw x.code="MODULE_NOT_FOUND",x}var p=s[f]={exports:{}};i[f][0].call(p.exports,function(v){var u=i[f][1][v];return o(u||v)},p,p.exports,r,i,s,c)}return s[f].exports}for(var a=typeof Rr=="function"&&Rr,l=0;l<c.length;l++)o(c[l]);return o}({1:[function(r,i,s){var c=r("./utils"),o=r("./support"),a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";s.encode=function(l){for(var f,m,b,x,p,v,u,d=[],y=0,h=l.length,g=h,k=c.getTypeOf(l)!=="string";y<l.length;)g=h-y,b=k?(f=l[y++],m=y<h?l[y++]:0,y<h?l[y++]:0):(f=l.charCodeAt(y++),m=y<h?l.charCodeAt(y++):0,y<h?l.charCodeAt(y++):0),x=f>>2,p=(3&f)<<4|m>>4,v=1<g?(15&m)<<2|b>>6:64,u=2<g?63&b:64,d.push(a.charAt(x)+a.charAt(p)+a.charAt(v)+a.charAt(u));return d.join("")},s.decode=function(l){var f,m,b,x,p,v,u=0,d=0,y="data:";if(l.substr(0,y.length)===y)throw new Error("Invalid base64 input, it looks like a data url.");var h,g=3*(l=l.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(l.charAt(l.length-1)===a.charAt(64)&&g--,l.charAt(l.length-2)===a.charAt(64)&&g--,g%1!=0)throw new Error("Invalid base64 input, bad content length.");for(h=o.uint8array?new Uint8Array(0|g):new Array(0|g);u<l.length;)f=a.indexOf(l.charAt(u++))<<2|(x=a.indexOf(l.charAt(u++)))>>4,m=(15&x)<<4|(p=a.indexOf(l.charAt(u++)))>>2,b=(3&p)<<6|(v=a.indexOf(l.charAt(u++))),h[d++]=f,p!==64&&(h[d++]=m),v!==64&&(h[d++]=b);return h}},{"./support":30,"./utils":32}],2:[function(r,i,s){var c=r("./external"),o=r("./stream/DataWorker"),a=r("./stream/Crc32Probe"),l=r("./stream/DataLengthProbe");function f(m,b,x,p,v){this.compressedSize=m,this.uncompressedSize=b,this.crc32=x,this.compression=p,this.compressedContent=v}f.prototype={getContentWorker:function(){var m=new o(c.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new l("data_length")),b=this;return m.on("end",function(){if(this.streamInfo.data_length!==b.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),m},getCompressedWorker:function(){return new o(c.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},f.createWorkerFrom=function(m,b,x){return m.pipe(new a).pipe(new l("uncompressedSize")).pipe(b.compressWorker(x)).pipe(new l("compressedSize")).withStreamInfo("compression",b)},i.exports=f},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(r,i,s){var c=r("./stream/GenericWorker");s.STORE={magic:"\0\0",compressWorker:function(){return new c("STORE compression")},uncompressWorker:function(){return new c("STORE decompression")}},s.DEFLATE=r("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(r,i,s){var c=r("./utils"),o=function(){for(var a,l=[],f=0;f<256;f++){a=f;for(var m=0;m<8;m++)a=1&a?3988292384^a>>>1:a>>>1;l[f]=a}return l}();i.exports=function(a,l){return a!==void 0&&a.length?c.getTypeOf(a)!=="string"?function(f,m,b,x){var p=o,v=x+b;f^=-1;for(var u=x;u<v;u++)f=f>>>8^p[255&(f^m[u])];return-1^f}(0|l,a,a.length,0):function(f,m,b,x){var p=o,v=x+b;f^=-1;for(var u=x;u<v;u++)f=f>>>8^p[255&(f^m.charCodeAt(u))];return-1^f}(0|l,a,a.length,0):0}},{"./utils":32}],5:[function(r,i,s){s.base64=!1,s.binary=!1,s.dir=!1,s.createFolders=!0,s.date=null,s.compression=null,s.compressionOptions=null,s.comment=null,s.unixPermissions=null,s.dosPermissions=null},{}],6:[function(r,i,s){var c=null;c=typeof Promise<"u"?Promise:r("lie"),i.exports={Promise:c}},{lie:37}],7:[function(r,i,s){var c=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",o=r("pako"),a=r
vendor: 5,231 bytes, lines 207-208
207("./utils"),l=r("./stream/GenericWorker"),f=c?"uint8array":"array";function m(b,x){l.call(this,"FlateWorker/"+b),this._pako=null,this._pakoAction=b,this._pakoOptions=x,this.meta={}}s.magic="\b\0",a.inherits(m,l),m.prototype.processChunk=function(b){this.meta=b.meta,this._pako===null&&this._createPako(),this._pako.push(a.transformTo(f,b.data),!1)},m.prototype.flush=function(){l.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},m.prototype.cleanUp=function(){l.prototype.cleanUp.call(this),this._pako=null},m.prototype._createPako=function(){this._pako=new o[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var b=this;this._pako.onData=function(x){b.push({data:x,meta:b.meta})}},s.compressWorker=function(b){return new m("Deflate",b)},s.uncompressWorker=function(){return new m("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(r,i,s){function c(p,v){var u,d="";for(u=0;u<v;u++)d+=String.fromCharCode(255&p),p>>>=8;return d}function o(p,v,u,d,y,h){var g,k,w=p.file,F=p.compression,z=h!==f.utf8encode,S=a.transformTo("string",h(w.name)),I=a.transformTo("string",f.utf8encode(w.name)),K=w.comment,ae=a.transformTo("string",h(K)),j=a.transformTo("string",f.utf8encode(K)),R=I.length!==w.name.length,_=j.length!==K.length,J="",U="",A="",E=w.dir,C=w.date,O={crc32:0,compressedSize:0,uncompressedSize:0};v&&!u||(O.crc32=p.crc32,O.compressedSize=p.compressedSize,O.uncompressedSize=p.uncompressedSize);var B=0;v&&(B|=8),z||!R&&!_||(B|=2048);var M=0,P=0;E&&(M|=16),y==="UNIX"?(P=798,M|=function(se,he){var fe=se;return se||(fe=he?16893:33204),(65535&fe)<<16}(w.unixPermissions,E)):(P=20,M|=function(se){return 63&(se||0)}(w.dosPermissions)),g=C.getUTCHours(),g<<=6,g|=C.getUTCMinutes(),g<<=5,g|=C.getUTCSeconds()/2,k=C.getUTCFullYear()-1980,k<<=4,k|=C.getUTCMonth()+1,k<<=5,k|=C.getUTCDate(),R&&(U=c(1,1)+c(m(S),4)+I,J+="up"+c(U.length,2)+U),_&&(A=c(1,1)+c(m(ae),4)+j,J+="uc"+c(A.length,2)+A);var te="";return te+=` 208\0`,te+=c(B,2),te+=F.magic,te+=c(g,2),te+=c(k,2),te+=c(O.crc32,4),te+=c(O.compressedSize,4),te+=c(O.uncompressedSize,4),te+=c(S.length,2),te+=c(J.length,2),{fileRecord:b.LOCAL_FILE_HEADER+te+S+J,dirRecord:b.CENTRAL_FILE_HEADER+c(P,2)+te+c(ae.length,2)+"\0\0\0\0"+c(M,4)+c(d,4)+S+J+ae}}var a=r("../utils"),l=r("../stream/GenericWorker"),f=r("../utf8"),m=r("../crc32"),b=r("../signature");function x(p,v,u,d){l.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=v,this.zipPlatform=u,this.encodeFileName=d,this.streamFiles=p,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}a.inherits(x,l),x.prototype.push=function(p){var v=p.meta.percent||0,u=this.entriesCount,d=this._sources.length;this.accumulate?this.contentBuffer.push(p):(this.bytesWritten+=p.data.length,l.prototype.push.call(this,{data:p.data,meta:{currentFile:this.currentFile,percent:u?(v+100*(u-d-1))/u:100}}))},x.prototype.openedSource=function(p){this.currentSourceOffset=this.bytesWritten,this.currentFile=p.file.name;var v=this.streamFiles&&!p.file.dir;if(v){var u=o(p,v,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:u.fileRecord,meta:{percent:0}})}else this.accumulate=!0},x.prototype.closedSource=function(p){this.accumulate=!1;var v=this.streamFiles&&!p.file.dir,u=o(p,v,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(u.dirRecord),v)this.push({data:function(d){return b.DATA_DESCRIPTOR+c(d.crc32,4)+c(d.compressedSize,4)+c(d.uncompressedSize,4)}(p),meta:{percent:100}});else for(this.push({data:u.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},x.prototype.flush=function(){for(var p=this.bytesWritten,v=0;v<this.dirRecords.length;v++)this.push({data:this.dirRecords[v],meta:{percent:100}});var u=this.bytesWritten-p,d=function(y,h,g,k,w){var F=a.transformTo("string",w(k));return b.CENTRAL_DIRECTORY_END+"\0\0\0\0"+c(y,2)+c(y,2)+c(h,4)+c(g,4)+c(F.length,2)+F}(this.dirRecords.length,u,p,this.zipComment,this.encodeFileName);this.push({data:d,meta:{percent:100}})},x.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},x.prototype.registerPrevious=function(p){this._sources.push(p);var v=this;return p.on("data",function(u){v.processChunk(u)}),p.on("end",function(){v.closedSource(v.previous.streamInfo),v._sources.length?v.prepareNextSource():v.end()}),p.on("error",function(u){v.error(u)}),this},x.prototype.resume=function(){return!!l.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},x.prototype.error=function(p){var v=this._sources;if(!l.prototype.error.call(this,p))return!1;for(var u=0;u<v.length;u++)try{v[u].error(p)}catch{}return!0},x.prototype.lock=function(){l.prototype.lock.call(this);for(var p=this._sources,v=0;v<p.length;v++)p[v].lock()},i.exports=x},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}
vendor: 29,095 bytes, line 208
208],9:[function(r,i,s){var c=r("../compressions"),o=r("./ZipFileWorker");s.generateWorker=function(a,l,f){var m=new o(l.streamFiles,f,l.platform,l.encodeFileName),b=0;try{a.forEach(function(x,p){b++;var v=function(h,g){var k=h||g,w=c[k];if(!w)throw new Error(k+" is not a valid compression method !");return w}(p.options.compression,l.compression),u=p.options.compressionOptions||l.compressionOptions||{},d=p.dir,y=p.date;p._compressWorker(v,u).withStreamInfo("file",{name:x,dir:d,date:y,comment:p.comment||"",unixPermissions:p.unixPermissions,dosPermissions:p.dosPermissions}).pipe(m)}),m.entriesCount=b}catch(x){m.error(x)}return m}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(r,i,s){function c(){if(!(this instanceof c))return new c;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var o=new c;for(var a in this)typeof this[a]!="function"&&(o[a]=this[a]);return o}}(c.prototype=r("./object")).loadAsync=r("./load"),c.support=r("./support"),c.defaults=r("./defaults"),c.version="3.10.1",c.loadAsync=function(o,a){return new c().loadAsync(o,a)},c.external=r("./external"),i.exports=c},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(r,i,s){var c=r("./utils"),o=r("./external"),a=r("./utf8"),l=r("./zipEntries"),f=r("./stream/Crc32Probe"),m=r("./nodejsUtils");function b(x){return new o.Promise(function(p,v){var u=x.decompressed.getContentWorker().pipe(new f);u.on("error",function(d){v(d)}).on("end",function(){u.streamInfo.crc32!==x.decompressed.crc32?v(new Error("Corrupted zip : CRC32 mismatch")):p()}).resume()})}i.exports=function(x,p){var v=this;return p=c.extend(p||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:a.utf8decode}),m.isNode&&m.isStream(x)?o.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):c.prepareContent("the loaded zip file",x,!0,p.optimizedBinaryString,p.base64).then(function(u){var d=new l(p);return d.load(u),d}).then(function(u){var d=[o.Promise.resolve(u)],y=u.files;if(p.checkCRC32)for(var h=0;h<y.length;h++)d.push(b(y[h]));return o.Promise.all(d)}).then(function(u){for(var d=u.shift(),y=d.files,h=0;h<y.length;h++){var g=y[h],k=g.fileNameStr,w=c.resolve(g.fileNameStr);v.file(w,g.decompressed,{binary:!0,optimizedBinaryString:!0,date:g.date,dir:g.dir,comment:g.fileCommentStr.length?g.fileCommentStr:null,unixPermissions:g.unixPermissions,dosPermissions:g.dosPermissions,createFolders:p.createFolders}),g.dir||(v.file(w).unsafeOriginalName=k)}return d.zipComment.length&&(v.comment=d.zipComment),v})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(r,i,s){var c=r("../utils"),o=r("../stream/GenericWorker");function a(l,f){o.call(this,"Nodejs stream input adapter for "+l),this._upstreamEnded=!1,this._bindStream(f)}c.inherits(a,o),a.prototype._bindStream=function(l){var f=this;(this._stream=l).pause(),l.on("data",function(m){f.push({data:m,meta:{percent:0}})}).on("error",function(m){f.isPaused?this.generatedError=m:f.error(m)}).on("end",function(){f.isPaused?f._upstreamEnded=!0:f.end()})},a.prototype.pause=function(){return!!o.prototype.pause.call(this)&&(this._stream.pause(),!0)},a.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},i.exports=a},{"../stream/GenericWorker":28,"../utils":32}],13:[function(r,i,s){var c=r("readable-stream").Readable;function o(a,l,f){c.call(this,l),this._helper=a;var m=this;a.on("data",function(b,x){m.push(b)||m._helper.pause(),f&&f(x)}).on("error",function(b){m.emit("error",b)}).on("end",function(){m.push(null)})}r("../utils").inherits(o,c),o.prototype._read=function(){this._helper.resume()},i.exports=o},{"../utils":32,"readable-stream":16}],14:[function(r,i,s){i.exports={isNode:typeof Buffer<"u",newBufferFrom:function(c,o){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(c,o);if(typeof c=="number")throw new Error('The "data" argument must not be a number');return new Buffer(c,o)},allocBuffer:function(c){if(Buffer.alloc)return Buffer.alloc(c);var o=new Buffer(c);return o.fill(0),o},isBuffer:function(c){return Buffer.isBuffer(c)},isStream:function(c){return c&&typeof c.on=="function"&&typeof c.pause=="function"&&typeof c.resume=="function"}}},{}],15:[function(r,i,s){function c(w,F,z){var S,I=a.getTypeOf(F),K=a.extend(z||{},m);K.date=K.date||new Date,K.compression!==null&&(K.compression=K.compression.toUpperCase()),typeof K.unixPermissions=="string"&&(K.unixPermissions=parseInt(K.unixPermissions,8)),K.unixPermissions&&16384&K.unixPermissions&&(K.dir=!0),K.dosPermissions&&16&K.dosPermissions&&(K.dir=!0),K.dir&&(w=y(w)),K.createFolders&&(S=d(w))&&h.call(this,S,!0);var ae=I==="string"&&K.binary===!1&&K.base64===!1;z&&z.binary!==void 0||(K.binary=!ae),(F instanceof b&&F.uncompressedSize===0||K.dir||!F||F.length===0)&&(K.base64=!1,K.binary=!0,F="",K.compression="STORE",I="string");var j=null;j=F instanceof b||F instanceof l?F:v.isNode&&v.isStream(F)?new u(w,F):a.prepareContent(w,F,K.binary,K.optimizedBinaryString,K.base64);var R=new x(w,j,K);this.files[w]=R}var o=r("./utf8"),a=r("./utils"),l=r("./stream/GenericWorker"),f=r("./stream/StreamHelper"),m=r("./defaults"),b=r("./compressedObject"),x=r("./zipObject"),p=r("./generate"),v=r("./nodejsUtils"),u=r("./nodejs/NodejsStreamInputAdapter"),d=function(w){w.slice(-1)==="/"&&(w=w.substring(0,w.length-1));var F=w.lastIndexOf("/");return 0<F?w.substring(0,F):""},y=function(w){return w.slice(-1)!=="/"&&(w+="/"),w},h=function(w,F){return F=F!==void 0?F:m.createFolders,w=y(w),this.files[w]||c.call(this,w,null,{dir:!0,createFolders:F}),this.files[w]};function g(w){return Object.prototype.toString.call(w)==="[object RegExp]"}var k={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(w){var F,z,S;for(F in this.files)S=this.files[F],(z=F.slice(this.root.length,F.length))&&F.slice(0,this.root.length)===this.root&&w(z,S)},filter:function(w){var F=[];return this.forEach(function(z,S){w(z,S)&&F.push(S)}),F},file:function(w,F,z){if(arguments.length!==1)return w=this.root+w,c.call(this,w,F,z),this;if(g(w)){var S=w;return this.filter(function(K,ae){return!ae.dir&&S.test(K)})}var I=this.files[this.root+w];return I&&!I.dir?I:null},folder:function(w){if(!w)return this;if(g(w))return this.filter(function(I,K){return K.dir&&w.test(I)});var F=this.root+w,z=h.call(this,F),S=this.clone();return S.root=z.name,S},remove:function(w){w=this.root+w;var F=this.files[w];if(F||(w.slice(-1)!=="/"&&(w+="/"),F=this.files[w]),F&&!F.dir)delete this.files[w];else for(var z=this.filter(function(I,K){return K.name.slice(0,w.length)===w}),S=0;S<z.length;S++)delete this.files[z[S].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(w){var F,z={};try{if((z=a.extend(w||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:o.utf8encode})).type=z.type.toLowerCase(),z.compression=z.compression.toUpperCase(),z.type==="binarystring"&&(z.type="string"),!z.type)throw new Error("No output type specified.");a.checkSupport(z.type),z.platform!=="darwin"&&z.platform!=="freebsd"&&z.platform!=="linux"&&z.platform!=="sunos"||(z.platform="UNIX"),z.platform==="win32"&&(z.platform="DOS");var S=z.comment||this.comment||"";F=p.generateWorker(this,z,S)}catch(I){(F=new l("error")).error(I)}return new f(F,z.type||"string",z.mimeType)},generateAsync:function(w,F){return this.generateInternalStream(w).accumulate(F)},generateNodeStream:function(w,F){return(w=w||{}).type||(w.type="nodebuffer"),this.generateInternalStream(w).toNodejsStream(F)}};i.exports=k},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(r,i,s){i.exports=r("stream")},{stream:void 0}],17:[function(r,i,s){var c=r("./DataReader");function o(a){c.call(this,a);for(var l=0;l<this.data.length;l++)a[l]=255&a[l]}r("../utils").inherits(o,c),o.prototype.byteAt=function(a){return this.data[this.zero+a]},o.prototype.lastIndexOfSignature=function(a){for(var l=a.charCodeAt(0),f=a.charCodeAt(1),m=a.charCodeAt(2),b=a.charCodeAt(3),x=this.length-4;0<=x;--x)if(this.data[x]===l&&this.data[x+1]===f&&this.data[x+2]===m&&this.data[x+3]===b)return x-this.zero;return-1},o.prototype.readAndCheckSignature=function(a){var l=a.charCodeAt(0),f=a.charCodeAt(1),m=a.charCodeAt(2),b=a.charCodeAt(3),x=this.readData(4);return l===x[0]&&f===x[1]&&m===x[2]&&b===x[3]},o.prototype.readData=function(a){if(this.checkOffset(a),a===0)return[];var l=this.data.slice(this.zero+this.index,this.zero+this.index+a);return this.index+=a,l},i.exports=o},{"../utils":32,"./DataReader":18}],18:[function(r,i,s){var c=r("../utils");function o(a){this.data=a,this.length=a.length,this.index=0,this.zero=0}o.prototype={checkOffset:function(a){this.checkIndex(this.index+a)},checkIndex:function(a){if(this.length<this.zero+a||a<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+a+"). Corrupted zip ?")},setIndex:function(a){this.checkIndex(a),this.index=a},skip:function(a){this.setIndex(this.index+a)},byteAt:function(){},readInt:function(a){var l,f=0;for(this.checkOffset(a),l=this.index+a-1;l>=this.index;l--)f=(f<<8)+this.byteAt(l);return this.index+=a,f},readString:function(a){return c.transformTo("string",this.readData(a))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var a=this.readInt(4);return new Date(Date.UTC(1980+(a>>25&127),(a>>21&15)-1,a>>16&31,a>>11&31,a>>5&63,(31&a)<<1))}},i.exports=o},{"../utils":32}],19:[function(r,i,s){var c=r("./Uint8ArrayReader");function o(a){c.call(this,a)}r("../utils").inherits(o,c),o.prototype.readData=function(a){this.checkOffset(a);var l=this.data.slice(this.zero+this.index,this.zero+this.index+a);return this.index+=a,l},i.exports=o},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(r,i,s){var c=r("./DataReader");function o(a){c.call(this,a)}r("../utils").inherits(o,c),o.prototype.byteAt=function(a){return this.data.charCodeAt(this.zero+a)},o.prototype.lastIndexOfSignature=function(a){return this.data.lastIndexOf(a)-this.zero},o.prototype.readAndCheckSignature=function(a){return a===this.readData(4)},o.prototype.readData=function(a){this.checkOffset(a);var l=this.data.slice(this.zero+this.index,this.zero+this.index+a);return this.index+=a,l},i.exports=o},{"../utils":32,"./DataReader":18}],21:[function(r,i,s){var c=r("./ArrayReader");function o(a){c.call(this,a)}r("../utils").inherits(o,c),o.prototype.readData=function(a){if(this.checkOffset(a),a===0)return new Uint8Array(0);var l=this.data.subarray(this.zero+this.index,this.zero+this.index+a);return this.index+=a,l},i.exports=o},{"../utils":32,"./ArrayReader":17}],22:[function(r,i,s){var c=r("../utils"),o=r("../support"),a=r("./ArrayReader"),l=r("./StringReader"),f=r("./NodeBufferReader"),m=r("./Uint8ArrayReader");i.exports=function(b){var x=c.getTypeOf(b);return c.checkSupport(x),x!=="string"||o.uint8array?x==="nodebuffer"?new f(b):o.uint8array?new m(c.transformTo("uint8array",b)):new a(c.transformTo("array",b)):new l(b)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(r,i,s){s.LOCAL_FILE_HEADER="PK��",s.CENTRAL_FILE_HEADER="PK��",s.CENTRAL_DIRECTORY_END="PK��",s.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK�\x07",s.ZIP64_CENTRAL_DIRECTORY_END="PK��",s.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(r,i,s){var c=r("./GenericWorker"),o=r("../utils");function a(l){c.call(this,"ConvertWorker to "+l),this.destType=l}o.inherits(a,c),a.prototype.processChunk=function(l){this.push({data:o.transformTo(this.destType,l.data),meta:l.meta})},i.exports=a},{"../utils":32,"./GenericWorker":28}],25:[function(r,i,s){var c=r("./GenericWorker"),o=r("../crc32");function a(){c.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}r("../utils").inherits(a,c),a.prototype.processChunk=function(l){this.streamInfo.crc32=o(l.data,this.streamInfo.crc32||0),this.push(l)},i.exports=a},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(r,i,s){var c=r("../utils"),o=r("./GenericWorker");function a(l){o.call(this,"DataLengthProbe for "+l),this.propName=l,this.withStreamInfo(l,0)}c.inherits(a,o),a.prototype.processChunk=function(l){if(l){var f=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=f+l.data.length}o.prototype.processChunk.call(this,l)},i.exports=a},{"../utils":32,"./GenericWorker":28}],27:[function(r,i,s){var c=r("../utils"),o=r("./GenericWorker");function a(l){o.call(this,"DataWorker");var f=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,l.then(function(m){f.dataIsReady=!0,f.data=m,f.max=m&&m.length||0,f.type=c.getTypeOf(m),f.isPaused||f._tickAndRepeat()},function(m){f.error(m)})}c.inherits(a,o),a.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this.data=null},a.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,c.delay(this._tickAndRepeat,[],this)),!0)},a.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(c.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},a.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var l=null,f=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":l=this.data.substring(this.index,f);break;case"uint8array":l=this.data.subarray(this.index,f);break;case"array":case"nodebuffer":l=this.data.slice(this.index,f)}return this.index=f,this.push({data:l,meta:{percent:this.max?this.index/this.max*100:0}})},i.exports=a},{"../utils":32,"./GenericWorker":28}],28:[function(r,i,s){function c(o){this.name=o||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}c.prototype={push:function(o){this.emit("data",o)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(o){this.emit("error",o)}return!0},error:function(o){return!this.isFinished&&(this.isPaused?this.generatedError=o:(this.isFinished=!0,this.emit("error",o),this.previous&&this.previous.error(o),this.cleanUp()),!0)},on:function(o,a){return this._listeners[o].push(a),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(o,a){if(this._listeners[o])for(var l=0;l<this._listeners[o].length;l++)this._listeners[o][l].call(this,a)},pipe:function(o){return o.registerPrevious(this)},registerPrevious:function(o){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=o.streamInfo,this.mergeStreamInfo(),this.previous=o;var a=this;return o.on("data",function(l){a.processChunk(l)}),o.on("end",function(){a.end()}),o.on("error",function(l){a.error(l)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var o=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),o=!0),this.previous&&this.previous.resume(),!o},flush:function(){},processChunk:function(o){this.push(o)},withStreamInfo:function(o,a){return this.extraStreamInfo[o]=a,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var o in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,o)&&(this.streamInfo[o]=this.extraStreamInfo[o])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var o="Worker "+this.name;return this.previous?this.previous+" -> "+o:o}},i.exports=c},{}],29:[function(r,i,s){var c=r("../utils"),o=r("./ConvertWorker"),a=r("./GenericWorker"),l=r("../base64"),f=r("../support"),m=r("../external"),b=null;if(f.nodestream)try{b=r("../nodejs/NodejsStreamOutputAdapter")}catch{}function x(v,u){return new m.Promise(function(d,y){var h=[],g=v._internalType,k=v._outputType,w=v._mimeType;v.on("data",function(F,z){h.push(F),u&&u(z)}).on("error",function(F){h=[],y(F)}).on("end",function(){try{var F=function(z,S,I){switch(z){case"blob":return c.newBlob(c.transformTo("arraybuffer",S),I);case"base64":return l.encode(S);default:return c.transformTo(z,S)}}(k,function(z,S){var I,K=0,ae=null,j=0;for(I=0;I<S.length;I++)j+=S[I].length;switch(z){case"string":return S.join("");case"array":return Array.prototype.concat.apply([],S);case"uint8array":for(ae=new Uint8Array(j),I=0;I<S.length;I++)ae.set(S[I],K),K+=S[I].length;return ae;case"nodebuffer":return Buffer.concat(S);default:throw new Error("concat : unsupported type '"+z+"'")}}(g,h),w);d(F)}catch(z){y(z)}h=[]}).resume()})}function p(v,u,d){var y=u;switch(u){case"blob":case"arraybuffer":y="uint8array";break;case"base64":y="string"}try{this._internalType=y,this._outputType=u,this._mimeType=d,c.checkSupport(y),this._worker=v.pipe(new o(y)),v.lock()}catch(h){this._worker=new a("error"),this._worker.error(h)}}p.prototype={accumulate:function(v){return x(this,v)},on:function(v,u){var d=this;return v==="data"?this._worker.on(v,function(y){u.call(d,y.data,y.meta)}):this._worker.on(v,function(){c.delay(u,arguments,d)}),this},resume:function(){return c.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(v){if(c.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new b(this,{objectMode:this._outputType!=="nodebuffer"},v)}},i.exports=p},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(r,i,s){if(s.base64=!0,s.array=!0,s.string=!0,s.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",s.nodebuffer=typeof Buffer<"u",s.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")s.blob=!1;else{var c=new ArrayBuffer(0);try{s.blob=new Blob([c],{type:"application/zip"}).size===0}catch{try{var o=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);o.append(c),s.blob=o.getBlob("application/zip").size===0}catch{s.blob=!1}}}try{s.nodestream=!!r("readable-stream").Readable}catch{s.nodestream=!1}},{"readable-stream":16}],31:[function(r,i,s){for(var c=r("./utils"),o=r("./support"),a=r("./nodejsUtils"),l=r("./stream/GenericWorker"),f=new Array(256),m=0;m<256;m++)f[m]=252<=m?6:248<=m?5:240<=m?4:224<=m?3:192<=m?2:1;f[254]=f[254]=1;function b(){l.call(this,"utf-8 decode"),this.leftOver=null}function x(){l.call(this,"utf-8 encode")}s.utf8encode=function(p){return o.nodebuffer?a.newBufferFrom(p,"utf-8"):function(v){var u,d,y,h,g,k=v.length,w=0;for(h=0;h<k;h++)(64512&(d=v.charCodeAt(h)))==55296&&h+1<k&&(64512&(y=v.charCodeAt(h+1)))==56320&&(d=65536+(d-55296<<10)+(y-56320),h++),w+=d<128?1:d<2048?2:d<65536?3:4;for(u=o.uint8array?new Uint8Array(w):new Array(w),h=g=0;g<w;h++)(64512&(d=v.charCodeAt(h)))==55296&&h+1<k&&(64512&(y=v.charCodeAt(h+1)))==56320&&(d=65536+(d-55296<<10)+(y-56320),h++),d<128?u[g++]=d:(d<2048?u[g++]=192|d>>>6:(d<65536?u[g++]=224|d>>>12:(u[g++]=240|d>>>18,u[g++]=128|d>>>12&63),u[g++]=128|d>>>6&63),u[g++]=128|63&d);return u}(p)},s.utf8decode=function(p){return o.nodebuffer?c.transformTo("nodebuffer",p).toString("utf-8"):function(v){var u,d,y,h,g=v.length,k=new Array(2*g);for(u=d=0;u<g;)if((y=v[u++])<128)k[d++]=y;else if(4<(h=f[y]))k[d++]=65533,u+=h-1;else{for(y&=h===2?31:h===3?15:7;1<h&&u<g;)y=y<<6|63&v[u++],h--;1<h?k[d++]=65533:y<65536?k[d++]=y:(y-=65536,k[d++]=55296|y>>10&1023,k[d++]=56320|1023&y)}return k.length!==d&&(k.subarray?k=k.subarray(0,d):k.length=d),c.applyFromCharCode(k)}(p=c.transformTo(o.uint8array?"uint8array":"array",p))},c.inherits(b,l),b.prototype.processChunk=function(p){var v=c.transformTo(o.uint8array?"uint8array":"array",p.data);if(this.leftOver&&this.leftOver.length){if(o.uint8array){var u=v;(v=new Uint8Array(u.length+this.leftOver.length)).set(this.leftOver,0),v.set(u,this.leftOver.length)}else v=this.leftOver.concat(v);this.leftOver=null}var d=function(h,g){var k;for((g=g||h.length)>h.length&&(g=h.length),k=g-1;0<=k&&(192&h[k])==128;)k--;return k<0||k===0?g:k+f[h[k]]>g?k:g}(v),y=v;d!==v.length&&(o.uint8array?(y=v.subarray(0,d),this.leftOver=v.subarray(d,v.length)):(y=v.slice(0,d),this.leftOver=v.slice(d,v.length))),this.push({data:s.utf8decode(y),meta:p.meta})},b.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:s.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},s.Utf8DecodeWorker=b,c.inherits(x,l),x.prototype.processChunk=function(p){this.push({data:s.utf8encode(p.data),meta:p.meta})},s.Utf8EncodeWorker=x},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(r,i,s){var c=r("./support"),o=r("./base64"),a=r("./nodejsUtils"),l=r("./external");function f(u){return u}function m(u,d){for(var y=0;y<u.length;++y)d[y]=255&u.charCodeAt(y);return d}r("setimmediate"),s.newBlob=function(u,d){s.checkSupport("blob");try{return new Blob([u],{type:d})}catch{try{var y=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return y.append(u),y.getBlob(d)}catch{throw new Error("Bug : can't construct the Blob.")}}};var b={stringifyByChunk:function(u,d,y){var h=[],g=0,k=u.length;if(k<=y)return String.fromCharCode.apply(null,u);for(;g<k;)d==="array"||d==="nodebuffer"?h.push(String.fromCharCode.apply(null,u.slice(g,Math.min(g+y,k)))):h.push(String.fromCharCode.apply(null,u.subarray(g,Math.min(g+y,k)))),g+=y;return h.join("")},stringifyByChar:function(u){for(var d="",y=0;y<u.length;y++)d+=String.fromCharCode(u[y]);return d},applyCanBeUsed:{uint8array:function(){try{return c.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return c.nodebuffer&&String.fromCharCode.apply(null,a.allocBuffer(1)).length===1}catch{return!1}}()}};function x(u){var d=65536,y=s.getTypeOf(u),h=!0;if(y==="uint8array"?h=b.applyCanBeUsed.uint8array:y==="nodebuffer"&&(h=b.applyCanBeUsed.nodebuffer),h)for(;1<d;)try{return b.stringifyByChunk(u,y,d)}catch{d=Math.floor(d/2)}return b.stringifyByChar(u)}function p(u,d){for(var y=0;y<u.length;y++)d[y]=u[y];return d}s.applyFromCharCode=x;var v={};v.string={string:f,array:function(u){return m(u,new Array(u.length))},arraybuffer:function(u){return v.string.uint8array(u).buffer},uint8array:function(u){return m(u,new Uint8Array(u.length))},nodebuffer:function(u){return m(u,a.allocBuffer(u.length))}},v.array={string:x,array:f,arraybuffer:function(u){return new Uint8Array(u).buffer},uint8array:function(u){return new Uint8Array(u)},nodebuffer:function(u){return a.newBufferFrom(u)}},v.arraybuffer={string:function(u){return x(new Uint8Array(u))},array:function(u){return p(new Uint8Array(u),new Array(u.byteLength))},arraybuffer:f,uint8array:function(u){return new Uint8Array(u)},nodebuffer:function(u){return a.newBufferFrom(new Uint8Array(u))}},v.uint8array={string:x,array:function(u){return p(u,new Array(u.length))},arraybuffer:function(u){return u.buffer},uint8array:f,nodebuffer:function(u){return a.newBufferFrom(u)}},v.nodebuffer={string:x,array:function(u){return p(u,new Array(u.length))},arraybuffer:function(u){return v.nodebuffer.uint8array(u).buffer},uint8array:function(u){return p(u,new Uint8Array(u.length))},nodebuffer:f},s.transformTo=function(u,d){if(d=d||"",!u)return d;s.checkSupport(u);var y=s.getTypeOf(d);return v[y][u](d)},s.resolve=function(u){for(var d=u.split("/"),y=[],h=0;h<d.length;h++){var g=d[h];g==="."||g===""&&h!==0&&h!==d.length-1||(g===".."?y.pop():y.push(g))}return y.join("/")},s.getTypeOf=function(u){return typeof u=="string"?"string":Object.prototype.toString.call(u)==="[object Array]"?"array":c.nodebuffer&&a.isBuffer(u)?"nodebuffer":c.uint8array&&u instanceof Uint8Array?"uint8array":c.arraybuffer&&u instanceof ArrayBuffer?"arraybuffer":void 0},s.checkSupport=function(u){if(!c[u.toLowerCase()])throw new Error(u+" is not supported by this platform")},s.MAX_VALUE_16BITS=65535,s.MAX_VALUE_32BITS=-1,s.pretty=function(u){var d,y,h="";for(y=0;y<(u||"").length;y++)h+="\\x"+((d=u.charCodeAt(y))<16?"0":"")+d.toString(16).toUpperCase();return h},s.delay=function(u,d,y){setImmediate(function(){u.apply(y||null,d||[])})},s.inherits=function(u,d){function y(){}y.prototype=d.prototype,u.prototype=new y},s.extend=function(){var u,d,y={};for(u=0;u<arguments.length;u++)for(d in arguments[u])Object.prototype.hasOwnProperty.call(arguments[u],d)&&y[d]===void 0&&(y[d]=arguments[u][d]);return y},s.prepareContent=function(u,d,y,h,g){return l.Promise.resolve(d).then(function(k){return c.blob&&(k instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(k))!==-1)&&typeof FileReader<"u"?new l.Promise(function(w,F){var z=new FileReader;z.onload=function(S){w(S.target.result)},z.onerror=function(S){F(S.target.error)},z.readAsArrayBuffer(k)}):k}).then(function(k){var w=s.getTypeOf(k);return w?(w==="arraybuffer"?k=s.transformTo("uint8array",k):w==="string"&&(g?k=o.decode(k):y&&h!==!0&&(k=function(F){return m(F,c.uint8array?new Uint8Array(F.length):new Array(F.length))}(k))),k):l.Promise.reject(new Error("Can't read the data of '"+u+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(r,i,s){var c=r("./reader/readerFor"),o=r("./utils"),a=r("./signature"),l=r("./zipEntry"),f=r("./support");function m(b){this.files=[],this.loadOptions=b}m.prototype={checkSignature:function(b){if(!this.reader.readAndCheckSignature(b)){this.reader.index-=4;var x=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+o.pretty(x)+", expected "+o.pretty(b)+")")}},isSignature:function(b,x){var p=this.reader.index;this.reader.setIndex(b);var v=this.reader.readString(4)===x;return this.reader.setIndex(p),v},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var b=this.reader.readData(this.zipCommentLength),x=f.uint8array?"uint8array":"array",p=o.transformTo(x,b);this.zipComment=this.loadOptions.decodeFileName(p)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var b,x,p,v=this.zip64EndOfCentralSize-44;0<v;)b=this.reader.readInt(2),x=this.reader.readInt(4),p=this.reader.readData(x),this.zip64ExtensibleData[b]={id:b,length:x,value:p}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var b,x;for(b=0;b<this.files.length;b++)x=this.files[b],this.reader.setIndex(x.localHeaderOffset),this.checkSignature(a.LOCAL_FILE_HEADER),x.readLocalPart(this.reader),x.handleUTF8(),x.processAttributes()},readCentralDir:function(){var b;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(a.CENTRAL_FILE_HEADER);)(b=new l({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(b);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var b=this.reader.lastIndexOfSignature(a.CENTRAL_DIRECTORY_END);if(b<0)throw this.isSignature(0,a.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip f
208ile ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(b);var x=b;if(this.checkSignature(a.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===o.MAX_VALUE_16BITS||this.diskWithCentralDirStart===o.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===o.MAX_VALUE_16BITS||this.centralDirRecords===o.MAX_VALUE_16BITS||this.centralDirSize===o.MAX_VALUE_32BITS||this.centralDirOffset===o.MAX_VALUE_32BITS){if(this.zip64=!0,(b=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(b),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,a.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var p=this.centralDirOffset+this.centralDirSize;this.zip64&&(p+=20,p+=12+this.zip64EndOfCentralSize);var v=x-p;if(0<v)this.isSignature(x,a.CENTRAL_FILE_HEADER)||(this.reader.zero=v);else if(v<0)throw new Error("Corrupted zip: missing "+Math.abs(v)+" bytes.")},prepareReader:function(b){this.reader=c(b)},load:function(b){this.prepareReader(b),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},i.exports=m},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(r,i,s){var c=r("./reader/readerFor"),o=r("./utils"),a=r("./compressedObject"),l=r("./crc32"),f=r("./utf8"),m=r("./compressions"),b=r("./support");function x(p,v){this.options=p,this.loadOptions=v}x.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(p){var v,u;if(p.skip(22),this.fileNameLength=p.readInt(2),u=p.readInt(2),this.fileName=p.readData(this.fileNameLength),p.skip(u),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((v=function(d){for(var y in m)if(Object.prototype.hasOwnProperty.call(m,y)&&m[y].magic===d)return m[y];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+o.pretty(this.compressionMethod)+" unknown (inner file : "+o.transformTo("string",this.fileName)+")");this.decompressed=new a(this.compressedSize,this.uncompressedSize,this.crc32,v,p.readData(this.compressedSize))},readCentralPart:function(p){this.versionMadeBy=p.readInt(2),p.skip(2),this.bitFlag=p.readInt(2),this.compressionMethod=p.readString(2),this.date=p.readDate(),this.crc32=p.readInt(4),this.compressedSize=p.readInt(4),this.uncompressedSize=p.readInt(4);var v=p.readInt(2);if(this.extraFieldsLength=p.readInt(2),this.fileCommentLength=p.readInt(2),this.diskNumberStart=p.readInt(2),this.internalFileAttributes=p.readInt(2),this.externalFileAttributes=p.readInt(4),this.localHeaderOffset=p.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");p.skip(v),this.readExtraFields(p),this.parseZIP64ExtraField(p),this.fileComment=p.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var p=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),p==0&&(this.dosPermissions=63&this.externalFileAttributes),p==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var p=c(this.extraFields[1].value);this.uncompressedSize===o.MAX_VALUE_32BITS&&(this.uncompressedSize=p.readInt(8)),this.compressedSize===o.MAX_VALUE_32BITS&&(this.compressedSize=p.readInt(8)),this.localHeaderOffset===o.MAX_VALUE_32BITS&&
vendor: 8,645 bytes, line 208
208(this.localHeaderOffset=p.readInt(8)),this.diskNumberStart===o.MAX_VALUE_32BITS&&(this.diskNumberStart=p.readInt(4))}},readExtraFields:function(p){var v,u,d,y=p.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});p.index+4<y;)v=p.readInt(2),u=p.readInt(2),d=p.readData(u),this.extraFields[v]={id:v,length:u,value:d};p.setIndex(y)},handleUTF8:function(){var p=b.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=f.utf8decode(this.fileName),this.fileCommentStr=f.utf8decode(this.fileComment);else{var v=this.findExtraFieldUnicodePath();if(v!==null)this.fileNameStr=v;else{var u=o.transformTo(p,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(u)}var d=this.findExtraFieldUnicodeComment();if(d!==null)this.fileCommentStr=d;else{var y=o.transformTo(p,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(y)}}},findExtraFieldUnicodePath:function(){var p=this.extraFields[28789];if(p){var v=c(p.value);return v.readInt(1)!==1||l(this.fileName)!==v.readInt(4)?null:f.utf8decode(v.readData(p.length-5))}return null},findExtraFieldUnicodeComment:function(){var p=this.extraFields[25461];if(p){var v=c(p.value);return v.readInt(1)!==1||l(this.fileComment)!==v.readInt(4)?null:f.utf8decode(v.readData(p.length-5))}return null}},i.exports=x},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(r,i,s){function c(v,u,d){this.name=v,this.dir=d.dir,this.date=d.date,this.comment=d.comment,this.unixPermissions=d.unixPermissions,this.dosPermissions=d.dosPermissions,this._data=u,this._dataBinary=d.binary,this.options={compression:d.compression,compressionOptions:d.compressionOptions}}var o=r("./stream/StreamHelper"),a=r("./stream/DataWorker"),l=r("./utf8"),f=r("./compressedObject"),m=r("./stream/GenericWorker");c.prototype={internalStream:function(v){var u=null,d="string";try{if(!v)throw new Error("No output type specified.");var y=(d=v.toLowerCase())==="string"||d==="text";d!=="binarystring"&&d!=="text"||(d="string"),u=this._decompressWorker();var h=!this._dataBinary;h&&!y&&(u=u.pipe(new l.Utf8EncodeWorker)),!h&&y&&(u=u.pipe(new l.Utf8DecodeWorker))}catch(g){(u=new m("error")).error(g)}return new o(u,d,"")},async:function(v,u){return this.internalStream(v).accumulate(u)},nodeStream:function(v,u){return this.internalStream(v||"nodebuffer").toNodejsStream(u)},_compressWorker:function(v,u){if(this._data instanceof f&&this._data.compression.magic===v.magic)return this._data.getCompressedWorker();var d=this._decompressWorker();return this._dataBinary||(d=d.pipe(new l.Utf8EncodeWorker)),f.createWorkerFrom(d,v,u)},_decompressWorker:function(){return this._data instanceof f?this._data.getContentWorker():this._data instanceof m?this._data:new a(this._data)}};for(var b=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],x=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},p=0;p<b.length;p++)c.prototype[b[p]]=x;i.exports=c},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(r,i,s){(function(c){var o,a,l=c.MutationObserver||c.WebKitMutationObserver;if(l){var f=0,m=new l(v),b=c.document.createTextNode("");m.observe(b,{characterData:!0}),o=function(){b.data=f=++f%2}}else if(c.setImmediate||c.MessageChannel===void 0)o="document"in c&&"onreadystatechange"in c.document.createElement("script")?function(){var u=c.document.createElement("script");u.onreadystatechange=function(){v(),u.onreadystatechange=null,u.parentNode.removeChild(u),u=null},c.document.documentElement.appendChild(u)}:function(){setTimeout(v,0)};else{var x=new c.MessageChannel;x.port1.onmessage=v,o=function(){x.port2.postMessage(0)}}var p=[];function v(){var u,d;a=!0;for(var y=p.length;y;){for(d=p,p=[],u=-1;++u<y;)d[u]();y=p.length}a=!1}i.exports=function(u){p.push(u)!==1||a||o()}}).call(this,typeof Ee<"u"?Ee:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(r,i,s){var c=r("immediate");function o(){}var a={},l=["REJECTED"],f=["FULFILLED"],m=["PENDING"];function b(y){if(typeof y!="function")throw new TypeError("resolver must be a function");this.state=m,this.queue=[],this.outcome=void 0,y!==o&&u(this,y)}function x(y,h,g){this.promise=y,typeof h=="function"&&(this.onFulfilled=h,this.callFulfilled=this.otherCallFulfilled),typeof g=="function"&&(this.onRejected=g,this.callRejected=this.otherCallRejected)}function p(y,h,g){c(function(){var k;try{k=h(g)}catch(w){return a.reject(y,w)}k===y?a.reject(y,new TypeError("Cannot resolve promise with itself")):a.resolve(y,k)})}function v(y){var h=y&&y.then;if(y&&(typeof y=="object"||typeof y=="function")&&typeof h=="function")return function(){h.apply(y,arguments)}}function u(y,h){var g=!1;function k(z){g||(g=!0,a.reject(y,z))}function w(z){g||(g=!0,a.resolve(y,z))}var F=d(function(){h(w,k)});F.status==="error"&&k(F.value)}function d(y,h){var g={};try{g.value=y(h),g.status="success"}catch(k){g.status="error",g.value=k}return g}(i.exports=b).prototype.finally=function(y){if(typeof y!="function")return this;var h=this.constructor;return this.then(function(g){return h.resolve(y()).then(function(){return g})},function(g){return h.resolve(y()).then(function(){throw g})})},b.prototype.catch=function(y){return this.then(null,y)},b.prototype.then=function(y,h){if(typeof y!="function"&&this.state===f||typeof h!="function"&&this.state===l)return this;var g=new this.constructor(o);return this.state!==m?p(g,this.state===f?y:h,this.outcome):this.queue.push(new x(g,y,h)),g},x.prototype.callFulfilled=function(y){a.resolve(this.promise,y)},x.prototype.otherCallFulfilled=function(y){p(this.promise,this.onFulfilled,y)},x.prototype.callRejected=function(y){a.reject(this.promise,y)},x.prototype.otherCallRejected=function(y){p(this.promise,this.onRejected,y)},a.resolve=function(y,h){var g=d(v,h);if(g.status==="error")return a.reject(y,g.value);var k=g.value;if(k)u(y,k);else{y.state=f,y.outcome=h;for(var w=-1,F=y.queue.length;++w<F;)y.queue[w].callFulfilled(h)}return y},a.reject=function(y,h){y.state=l,y.outcome=h;for(var g=-1,k=y.queue.length;++g<k;)y.queue[g].callRejected(h);return y},b.resolve=function(y){return y instanceof this?y:a.resolve(new this(o),y)},b.reject=function(y){var h=new this(o);return a.reject(h,y)},b.all=function(y){var h=this;if(Object.prototype.toString.call(y)!=="[object Array]")return this.reject(new TypeError("must be an array"));var g=y.length,k=!1;if(!g)return this.resolve([]);for(var w=new Array(g),F=0,z=-1,S=new this(o);++z<g;)I(y[z],z);return S;function I(K,ae){h.resolve(K).then(function(j){w[ae]=j,++F!==g||k||(k=!0,a.resolve(S,w))},function(j){k||(k=!0,a.reject(S,j))})}},b.race=function(y){var h=this;if(Object.prototype.toString.call(y)!=="[object Array]")return this.reject(new TypeError("must be an array"));var g=y.length,k=!1;if(!g)return this.resolve([]);for(var w=-1,F=new this(o);++w<g;)z=y[w],h.resolve(z).then(function(S){k||(k=!0,a.resolve(F,S))},function(S){k||(k=!0,a.reject(F,S))});var z;return F}},{immediate:36}],38:[function(r,i,s){var c={};(0,r("./lib/utils/common").assign)(c,r("./lib/deflate"),r("./lib/inflate"),r("./lib/zlib/constants")),i.exports=c},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(r,i,s){var c=r("./zlib/deflate"),o=r("./utils/common"),a=r("./utils/strings"),l=r("./zlib/messages"),f=r("./zlib/zstream"),m=Object.prototype.toString,b=0,x=-1,p=0,v=8;function u(y){if(!(this instanceof u))return new u(y);this.options=o.assign({level:x,method:v,chunkSize:16384,windowBits:15,memLevel:8,strategy:p,to:""},y||{});var h=this.options;h.raw&&0<h.windowBits?h.windowBits=-h.windowBits:h.gzip&&0<h.windowBits&&h.windowBits<16&&(h.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new f,this.strm.avail_out=0;var g=c.deflateInit2(this.strm,h.level,h.method,h.windowBits,h.memLevel,h.strategy);if(g!==b)throw new Error(l[g]);if(h.header&&c.deflateSetHeader(this.strm,h.header),h.dictionary){var k;if(k=typeof h.dictionary=="string"?a.string2buf(h.dictionary):m.call(h.dictionary)==="[object ArrayBuffer]"?new Uint8Array(h.dictionary):h.dictionary,(g=c.deflateSetDictionary(this.strm,k))!==b)throw new Error(l[g]);this._dict_set=!0}}function d(y,h){var g=new u(h);if(g.push(y,!0),g.err)throw g.msg||l[g.err];return g.result}u.prototype.push=function(y,h){var g,k,w=this.strm,F=this.options.chunkSize;if(this.ended)return!1;k=h===~~h?h:h===!0?4:0,typeof y=="string"?w.input=a.string2buf(y):m.call(y)==="[object ArrayBuffer]"?w.input=new
vendor: 4,900 bytes, line 208
208Uint8Array(y):w.input=y,w.next_in=0,w.avail_in=w.input.length;do{if(w.avail_out===0&&(w.output=new o.Buf8(F),w.next_out=0,w.avail_out=F),(g=c.deflate(w,k))!==1&&g!==b)return this.onEnd(g),!(this.ended=!0);w.avail_out!==0&&(w.avail_in!==0||k!==4&&k!==2)||(this.options.to==="string"?this.onData(a.buf2binstring(o.shrinkBuf(w.output,w.next_out))):this.onData(o.shrinkBuf(w.output,w.next_out)))}while((0<w.avail_in||w.avail_out===0)&&g!==1);return k===4?(g=c.deflateEnd(this.strm),this.onEnd(g),this.ended=!0,g===b):k!==2||(this.onEnd(b),!(w.avail_out=0))},u.prototype.onData=function(y){this.chunks.push(y)},u.prototype.onEnd=function(y){y===b&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=y,this.msg=this.strm.msg},s.Deflate=u,s.deflate=d,s.deflateRaw=function(y,h){return(h=h||{}).raw=!0,d(y,h)},s.gzip=function(y,h){return(h=h||{}).gzip=!0,d(y,h)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(r,i,s){var c=r("./zlib/inflate"),o=r("./utils/common"),a=r("./utils/strings"),l=r("./zlib/constants"),f=r("./zlib/messages"),m=r("./zlib/zstream"),b=r("./zlib/gzheader"),x=Object.prototype.toString;function p(u){if(!(this instanceof p))return new p(u);this.options=o.assign({chunkSize:16384,windowBits:0,to:""},u||{});var d=this.options;d.raw&&0<=d.windowBits&&d.windowBits<16&&(d.windowBits=-d.windowBits,d.windowBits===0&&(d.windowBits=-15)),!(0<=d.windowBits&&d.windowBits<16)||u&&u.windowBits||(d.windowBits+=32),15<d.windowBits&&d.windowBits<48&&!(15&d.windowBits)&&(d.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new m,this.strm.avail_out=0;var y=c.inflateInit2(this.strm,d.windowBits);if(y!==l.Z_OK)throw new Error(f[y]);this.header=new b,c.inflateGetHeader(this.strm,this.header)}function v(u,d){var y=new p(d);if(y.push(u,!0),y.err)throw y.msg||f[y.err];return y.result}p.prototype.push=function(u,d){var y,h,g,k,w,F,z=this.strm,S=this.options.chunkSize,I=this.options.dictionary,K=!1;if(this.ended)return!1;h=d===~~d?d:d===!0?l.Z_FINISH:l.Z_NO_FLUSH,typeof u=="string"?z.input=a.binstring2buf(u):x.call(u)==="[object ArrayBuffer]"?z.input=new Uint8Array(u):z.input=u,z.next_in=0,z.avail_in=z.input.length;do{if(z.avail_out===0&&(z.output=new o.Buf8(S),z.next_out=0,z.avail_out=S),(y=c.inflate(z,l.Z_NO_FLUSH))===l.Z_NEED_DICT&&I&&(F=typeof I=="string"?a.string2buf(I):x.call(I)==="[object ArrayBuffer]"?new Uint8Array(I):I,y=c.inflateSetDictionary(this.strm,F)),y===l.Z_BUF_ERROR&&K===!0&&(y=l.Z_OK,K=!1),y!==l.Z_STREAM_END&&y!==l.Z_OK)return this.onEnd(y),!(this.ended=!0);z.next_out&&(z.avail_out!==0&&y!==l.Z_STREAM_END&&(z.avail_in!==0||h!==l.Z_FINISH&&h!==l.Z_SYNC_FLUSH)||(this.options.to==="string"?(g=a.utf8border(z.output,z.next_out),k=z.next_out-g,w=a.buf2string(z.output,g),z.next_out=k,z.avail_out=S-k,k&&o.arraySet(z.output,z.output,g,k,0),this.onData(w)):this.onData(o.shrinkBuf(z.output,z.next_out)))),z.avail_in===0&&z.avail_out===0&&(K=!0)}while((0<z.avail_in||z.avail_out===0)&&y!==l.Z_STREAM_END);return y===l.Z_STREAM_END&&(h=l.Z_FINISH),h===l.Z_FINISH?(y=c.inflateEnd(this.strm),this.onEnd(y),this.ended=!0,y===l.Z_OK):h!==l.Z_SYNC_FLUSH||(this.onEnd(l.Z_OK),!(z.avail_out=0))},p.prototype.onData=function(u){this.chunks.push(u)},p.prototype.onEnd=function(u){u===l.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=u,this.msg=this.strm.msg},s.Inflate=p,s.inflate=v,s.inflateRaw=function(u,d){return(d=d||{}).raw=!0,v(u,d)},s.ungzip=v},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(r,i,s){var c=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";s.assign=function(l){for(var f=Array.prototype.slice.call(arguments,1);f.length;){var m=f.shift();if(m){if(typeof m!="object")throw new TypeError(m+"must be non-object");for(var b in m)m.hasOwnProperty(b)&&(l[b]=m[b])}}return l},s.shrinkBuf=function(l,f){return l.length===f?l:l.subarray?l.subarray(0,f):(l.length=f,l)};var o={arraySet:function(l,f,m,b,x){if(f.subarray&&l.subarray)l.set(f.subarray(m,m+b),x);else for(var p=0;p<b;p++)l[x+p]=f[m+p]},flattenChunks:function(l){var f,m,b,x,p,v;for(f=b=0,m=l.length;f<m;f++)b+=l[f].length;for(v=new Uint8Array(b),f=x=0,m=l.length;f<m;f++)p=l[f],v.set(p,x),x+=p.length;return v}},a={arraySet:function(l,f,m,b,x){for(var p=0;p<b;p++)l[x+p]=f[m+p]},flattenChunks:function(l){return[].concat.apply([],l)}};s.setTyped=function(l){l?(s.Buf8=Uint8Array,s.Buf16=Uint16Array,s.Buf32=Int32Array,s.assign(s,o)):(s.Buf8=Array,s.Buf16=Array,s.Buf32=Array,s.assign(s,a))},s.setTyped(c)},{}],42:[function(r,i,s){var c=r("./common"),o=!0,a=!0;try{String.fromCharCode.apply(null,[0])}catch{o=!1}
vendor: 15,702 bytes, line 208
208try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{a=!1}for(var l=new c.Buf8(256),f=0;f<256;f++)l[f]=252<=f?6:248<=f?5:240<=f?4:224<=f?3:192<=f?2:1;function m(b,x){if(x<65537&&(b.subarray&&a||!b.subarray&&o))return String.fromCharCode.apply(null,c.shrinkBuf(b,x));for(var p="",v=0;v<x;v++)p+=String.fromCharCode(b[v]);return p}l[254]=l[254]=1,s.string2buf=function(b){var x,p,v,u,d,y=b.length,h=0;for(u=0;u<y;u++)(64512&(p=b.charCodeAt(u)))==55296&&u+1<y&&(64512&(v=b.charCodeAt(u+1)))==56320&&(p=65536+(p-55296<<10)+(v-56320),u++),h+=p<128?1:p<2048?2:p<65536?3:4;for(x=new c.Buf8(h),u=d=0;d<h;u++)(64512&(p=b.charCodeAt(u)))==55296&&u+1<y&&(64512&(v=b.charCodeAt(u+1)))==56320&&(p=65536+(p-55296<<10)+(v-56320),u++),p<128?x[d++]=p:(p<2048?x[d++]=192|p>>>6:(p<65536?x[d++]=224|p>>>12:(x[d++]=240|p>>>18,x[d++]=128|p>>>12&63),x[d++]=128|p>>>6&63),x[d++]=128|63&p);return x},s.buf2binstring=function(b){return m(b,b.length)},s.binstring2buf=function(b){for(var x=new c.Buf8(b.length),p=0,v=x.length;p<v;p++)x[p]=b.charCodeAt(p);return x},s.buf2string=function(b,x){var p,v,u,d,y=x||b.length,h=new Array(2*y);for(p=v=0;p<y;)if((u=b[p++])<128)h[v++]=u;else if(4<(d=l[u]))h[v++]=65533,p+=d-1;else{for(u&=d===2?31:d===3?15:7;1<d&&p<y;)u=u<<6|63&b[p++],d--;1<d?h[v++]=65533:u<65536?h[v++]=u:(u-=65536,h[v++]=55296|u>>10&1023,h[v++]=56320|1023&u)}return m(h,v)},s.utf8border=function(b,x){var p;for((x=x||b.length)>b.length&&(x=b.length),p=x-1;0<=p&&(192&b[p])==128;)p--;return p<0||p===0?x:p+l[b[p]]>x?p:x}},{"./common":41}],43:[function(r,i,s){i.exports=function(c,o,a,l){for(var f=65535&c|0,m=c>>>16&65535|0,b=0;a!==0;){for(a-=b=2e3<a?2e3:a;m=m+(f=f+o[l++]|0)|0,--b;);f%=65521,m%=65521}return f|m<<16|0}},{}],44:[function(r,i,s){i.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(r,i,s){var c=function(){for(var o,a=[],l=0;l<256;l++){o=l;for(var f=0;f<8;f++)o=1&o?3988292384^o>>>1:o>>>1;a[l]=o}return a}();i.exports=function(o,a,l,f){var m=c,b=f+l;o^=-1;for(var x=f;x<b;x++)o=o>>>8^m[255&(o^a[x])];return-1^o}},{}],46:[function(r,i,s){var c,o=r("../utils/common"),a=r("./trees"),l=r("./adler32"),f=r("./crc32"),m=r("./messages"),b=0,x=4,p=0,v=-2,u=-1,d=4,y=2,h=8,g=9,k=286,w=30,F=19,z=2*k+1,S=15,I=3,K=258,ae=K+I+1,j=42,R=113,_=1,J=2,U=3,A=4;function E(D,re){return D.msg=m[re],re}function C(D){return(D<<1)-(4<D?9:0)}function O(D){for(var re=D.length;0<=--re;)D[re]=0}function B(D){var re=D.state,ee=re.pending;ee>D.avail_out&&(ee=D.avail_out),ee!==0&&(o.arraySet(D.output,re.pending_buf,re.pending_out,ee,D.next_out),D.next_out+=ee,re.pending_out+=ee,D.total_out+=ee,D.avail_out-=ee,re.pending-=ee,re.pending===0&&(re.pending_out=0))}function M(D,re){a._tr_flush_block(D,0<=D.block_start?D.block_start:-1,D.strstart-D.block_start,re),D.block_start=D.strstart,B(D.strm)}function P(D,re){D.pending_buf[D.pending++]=re}function te(D,re){D.pending_buf[D.pending++]=re>>>8&255,D.pending_buf[D.pending++]=255&re}function se(D,re){var ee,L,W=D.max_chain_length,Z=D.strstart,oe=D.prev_length,ue=D.nice_match,G=D.strstart>D.w_size-ae?D.strstart-(D.w_size-ae):0,q=D.window,$=D.w_mask,Y=D.prev,X=D.strstart+K,pe=q[Z+oe-1],xe=q[Z+oe];D.prev_length>=D.good_match&&(W>>=2),ue>D.lookahead&&(ue=D.lookahead);do if(q[(ee=re)+oe]===xe&&q[ee+oe-1]===pe&&q[ee]===q[Z]&&q[++ee]===q[Z+1]){Z+=2,ee++;do;while(q[++Z]===q[++ee]&&q[++Z]===q[++ee]&&q[++Z]===q[++ee]&&q[++Z]===q[++ee]&&q[++Z]===q[++ee]&&q[++Z]===q[++ee]&&q[++Z]===q[++ee]&&q[++Z]===q[++ee]&&Z<X);if(L=K-(X-Z),Z=X-K,oe<L){if(D.match_start=re,ue<=(oe=L))break;pe=q[Z+oe-1],xe=q[Z+oe]}}while((re=Y[re&$])>G&&--W!=0);return oe<=D.lookahead?oe:D.lookahead}function he(D){var re,ee,L,W,Z,oe,ue,G,q,$,Y=D.w_size;do{if(W=D.window_size-D.lookahead-D.strstart,D.strstart>=Y+(Y-ae)){for(o.arraySet(D.window,D.window,Y,Y,0),D.match_start-=Y,D.strstart-=Y,D.block_start-=Y,re=ee=D.hash_size;L=D.head[--re],D.head[re]=Y<=L?L-Y:0,--ee;);for(re=ee=Y;L=D.prev[--re],D.prev[re]=Y<=L?L-Y:0,--ee;);W+=Y}if(D.strm.avail_in===0)break;if(oe=D.strm,ue=D.window,G=D.strstart+D.lookahead,q=W,$=void 0,$=oe.avail_in,q<$&&($=q),ee=$===0?0:(oe.avail_in-=$,o.arraySet(ue,oe.input,oe.next_in,$,G),oe.state.wrap===1?oe.adler=l(oe.adler,ue,$,G):oe.state.wrap===2&&(oe.adler=f(oe.adler,ue,$,G)),oe.next_in+=$,oe.total_in+=$,$),D.lookahead+=ee,D.lookahead+D.insert>=I)for(Z=D.strstart-D.insert,D.ins_h=D.window[Z],D.ins_h=(D.ins_h<<D.hash_shift^D.window[Z+1])&D.hash_mask;D.insert&&(D.ins_h=(D.ins_h<<D.hash_shift^D.window[Z+I-1])&D.hash_mask,D.prev[Z&D.w_mask]=D.head[D.ins_h],D.head[D.ins_h]=Z,Z++,D.insert--,!(D.lookahead+D.insert<I)););}while(D.lookahead<ae&&D.strm.avail_in!==0)}function fe(D,re){for(var ee,L;;){if(D.lookahead<ae){if(he(D),D.lookahead<ae&&re===b)return _;if(D.lookahead===0)break}if(ee=0,D.lookahead>=I&&(D.ins_h=(D.ins_h<<D.hash_shift^D.window[D.strstart+I-1])&D.hash_mask,ee=D.prev[D.strstart&D.w_mask]=D.head[D.ins_h],D.head[D.ins_h]=D.strstart),ee!==0&&D.strstart-ee<=D.w_size-ae&&(D.match_length=se(D,ee)),D.match_length>=I)if(L=a._tr_tally(D,D.strstart-D.match_start,D.match_length-I),D.lookahead-=D.match_length,D.match_length<=D.max_lazy_match&&D.lookahead>=I){for(D.match_length--;D.strstart++,D.ins_h=(D.ins_h<<D.hash_shift^D.window[D.strstart+I-1])&D.hash_mask,ee=D.prev[D.strstart&D.w_mask]=D.head[D.ins_h],D.head[D.ins_h]=D.strstart,--D.match_length!=0;);D.strstart++}else D.strstart+=D.match_length,D.match_length=0,D.ins_h=D.window[D.strstart],D.ins_h=(D.ins_h<<D.hash_shift^D.window[D.strstart+1])&D.hash_mask;else L=a._tr_tally(D,0,D.window[D.strstart]),D.lookahead--,D.strstart++;if(L&&(M(D,!1),D.strm.avail_out===0))return _}return D.insert=D.strstart<I-1?D.strstart:I-1,re===x?(M(D,!0),D.strm.avail_out===0?U:A):D.last_lit&&(M(D,!1),D.strm.avail_out===0)?_:J}function ve(D,re){for(var ee,L,W;;){if(D.lookahead<ae){if(he(D),D.lookahead<ae&&re===b)return _;if(D.lookahead===0)break}if(ee=0,D.lookahead>=I&&(D.ins_h=(D.ins_h<<D.hash_shift^D.window[D.strstart+I-1])&D.hash_mask,ee=D.prev[D.strstart&D.w_mask]=D.head[D.ins_h],D.head[D.ins_h]=D.strstart),D.prev_length=D.match_length,D.prev_match=D.match_start,D.match_length=I-1,ee!==0&&D.prev_length<D.max_lazy_match&&D.strstart-ee<=D.w_size-ae&&(D.match_length=se(D,ee),D.match_length<=5&&(D.strategy===1||D.match_length===I&&4096<D.strstart-D.match_start)&&(D.match_length=I-1)),D.prev_length>=I&&D.match_length<=D.prev_length){for(W=D.strstart+D.lookahead-I,L=a._tr_tally(D,D.strstart-1-D.prev_match,D.prev_length-I),D.lookahead-=D.prev_length-1,D.prev_length-=2;++D.strstart<=W&&(D.ins_h=(D.ins_h<<D.hash_shift^D.window[D.strstart+I-1])&D.hash_mask,ee=D.prev[D.strstart&D.w_mask]=D.head[D.ins_h],D.head[D.ins_h]=D.strstart),--D.prev_length!=0;);if(D.match_available=0,D.match_length=I-1,D.strstart++,L&&(M(D,!1),D.strm.avail_out===0))return _}else if(D.match_available){if((L=a._tr_tally(D,0,D.window[D.strstart-1]))&&M(D,!1),D.strstart++,D.lookahead--,D.strm.avail_out===0)return _}else D.match_available=1,D.strstart++,D.lookahead--}return D.match_available&&(L=a._tr_tally(D,0,D.window[D.strstart-1]),D.match_available=0),D.insert=D.strstart<I-1?D.strstart:I-1,re===x?(M(D,!0),D.strm.avail_out===0?U:A):D.last_lit&&(M(D,!1),D.strm.avail_out===0)?_:J}function De(D,re,ee,L,W){this.good_length=D,this.max_lazy=re,this.nice_length=ee,this.max_chain=L,this.func=W}function je(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=h,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new o.Buf16(2*z),this.dyn_dtree=new o.Buf16(2*(2*w+1)),this.bl_tree=new o.Buf16(2*(2*F+1)),O(this.dyn_ltree),O(this.dyn_dtree),O(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new o.Buf16(S+1),this.heap=new o.Buf16(2*k+1),O(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new o.Buf16(2*k+1),O(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function Se(D){var re;return D&&D.state?(D.total_in=D.total_out=0,D.data_type=y,(re=D.state).pending=0,re.pending_out=0,re.wrap<0&&(re.wrap=-re.wrap),re.status=re.wrap?j:R,D.adler=re.wrap===2?0:1,re.last_flush=b,a._tr_init(re),p):E(D,v)}function ne(D){var re=Se(D);return re===p&&function(ee){ee.window_size=2*ee.w_size,O(ee.head),ee.max_lazy_match=c[ee.level].max_lazy,ee.good_match=c[ee.level].good_length,ee.nice_match=c[ee.level].nice_length,ee.max_chain_length=c[ee.level].max_chain,ee.strstart=0,ee.block_start=0,ee.lookahead=0,ee.insert=0,ee.match_length=ee.prev_length=I-1,ee.match_available=0,ee.ins_h=0}(D.state),re}function le(D,re,ee,L,W,Z){if(!D)return v;var oe=1;if(re===u&&(re=6),L<0?(oe=0,L=-L):15<L&&(oe=2,L-=16),W<1||g<W||ee!==h||L<8||15<L||re<0||9<re||Z<0||d<Z)return E(D,v);L===8&&(L=9);var ue=new je;return(D.state=ue).strm=D,ue.wrap=oe,ue.gzhead=null,ue.w_bits=L,ue.w_size=1<<ue.w_bits,ue.w_mask=ue.w_size-1,ue.hash_bits=W+7,ue.hash_size=1<<ue.hash_bits,ue.hash_mask=ue.hash_size-1,ue.hash_shift=~~((ue.hash_bits+I-1)/I),ue.window=new o.Buf8(2*ue.w_size),ue.head=new o.Buf16(ue.hash_size),ue.prev=new o.Buf16(ue.w_size),ue.lit_bufsize=1<<W+6,ue.pending_buf_size=4*ue.lit_bufsize,ue.pending_buf=new o.Buf8(ue.pending_buf_size),ue.d_buf=1*ue.lit_bufsize,ue.l_buf=3*ue.lit_bufsize,ue.level=re,ue.strategy=Z,ue.method=ee,ne(D)}c=[new De(0,0,0,0,function(D,re){var ee=65535;for(ee>D.pending_buf_size-5&&(ee=D.pending_buf_size-5);;){if(D.lookahead<=1){if(he(D),D.lookahead===0&&re===b)return _;if(D.lookahead===0)break}D.strstart+=D.lookahead,D.lookahead=0;var L=D.block_start+ee;if((D.strstart===0||D.strstart>=L)&&(D.lookahead=D.strstart-L,D.strstart=L,M(D,!1),D.strm.avail_out===0)||D.strstart-D.block_start>=D.w_size-ae&&(M(D,!1),D.strm.avail_out===0))return _}return D.insert=0,re===x?(M(D,!0),D.strm.avail_out===0?U:A):(D.strstart>D.block_start&&(M(D,!1),D.strm.avail_out),_)}),new De(4,4,8,4,fe),new De(4,5,16,8,fe),new De(4,6,32,32,fe),new De(4,4,16,16,ve),new De(8,16,32,32,ve),new De(8,16,128,128,ve),new De(8,32,128,256,ve),new De(32,128,258,1024,ve),new De(32,258,258,4096,ve)],s.deflateInit=function(D,re){return le(D,re,h,15,8,0)},s.deflateInit2=le,s.deflateReset=ne,s.deflateResetKeep=Se,s.deflateSetHeader=function(D,re){return D&&D.state?D.state.wrap!==2?v:(D.state.gzhead=re,p):v},s.deflate=function(D,re){var ee,L,W,Z;if(!D||!D.state||5<re||re<0)return D?E(D,v):v;if(L=D.state,!D.output||!D.input&&D.avail_in!==0||L.status===666&&re!==x)return E(D,D.avail_out===0?-5:v);if(L.strm=D,ee=L.last_flush,L.last_flush=re,L.status===j)if(L.wrap===2)D.adler=0,P(L,31),P(L,139),P(L,8),L.gzhead?(P(L,(L.gzhead.text?1:0)+(L.gzhead.hcrc?2:0)+(L.gzhead.extra?4:0)+(L.gzhead.name?8:0)+(L.gzhead.comment?16:0)),P(L,255&L.gzhead.time),P(L,L.gzhead.time>>8&255),P(L,L.gzhead.time>>16&255),P(L,L.gzhead.time>>24&255),P(L,L.level===9?2:2<=L.strategy||L.level<2?4:0),P(L,255&L.gzhead.os),L.gzhead.extra&&L.gzhead.extra.length&&(P(L,255&L.gzhead.extra.length),P(L,L.gzhead.extra.length>>8&255)),L.gzhead.hcrc&&(D.adler=f(D.adler,L.pending_buf,L.pending,0)),L.gzindex=0,L.status=69):(P(L,0),P(L,0),P(L,0),P(L,0),P(L,0),P(L,L.level===9?2:2<=L.strategy||L.level<2?4:0),P(L,3),L.status=R);else{var oe=h+(L.w_bits-8<<4)<<8;oe|=(2<=L.strategy||L.level<2?0:L.level<6?1:L.level===6?2:3)<<6,L.strstart!==0&&(oe|=32),oe+=31-oe%31,L.status=R,te(L,oe),L.strstart!==0&&(te(L,D.adler>>>16),te(L,65535&D.adler)),D.adler=1}if(L.status===69)if(L.gzhead.extra){for(W=L.pending;L.gzindex<(65535&L.gzhead.extra.length)&&(L.pending!==L.pending_buf_size||(L.gzhead.hcrc&&L.pending>W&&(D.adler=f(D.adler,L.pending_buf,L.pending-W,W)),B(D),W=L.pending,L.pending!==L.pending_buf_size));)P(L,255&L.gzhead.extra[L.gzindex]),L.gzindex++;L.gzhead.hcrc&&L.pending>W&&(D.adler=f(D.adler,L.pending_buf,L.pending-W,W)),L.gzindex===L.gzhead.extra.length&&(L.gzindex=0,L.status=73)}else L.status=73;if(L.status===73)if(L.gzhead.name){W=L.pending;do{if(L.pending===L.pending_buf_size&&(L.gzhead.hcrc&&L.pending>W&&(D.adler=f(D.adler,L.pending_buf,L.pending-W,W)),B(D),W=L.pending,L.pending===L.pending_buf_size)){Z=1;break}Z=L.gzindex<L.gzhead.name.length?255&L.gzhead.name.charCodeAt(L.gzindex++):0,P(L,Z)}while(Z!==0);L.gzhead.hcrc&&L.pending>W&&(D.adler=f(D.adler,L.pending_buf,L.pending-W,W)),Z===0&&(L.gzindex=0,L.status=91)}else L.status=91;if(L.status===91)if(L.gzhead.comment){W=L.pending;do{if(L.pending===L.pending_buf_size&&(L.gzhead.hcrc&&L.pending>W&&(D.adler=f(D.adler,L.pending_buf,L.pending-W,W)),B(D),W=L.pending,L.pending===L.pending_buf_size)){Z=1;break}Z=L.gzindex<L.gzhead.comment.length?255&L.gzhead.comment.charCodeAt(L.gzindex++):0,P(L,Z)}while(Z!==0);L.gzhead.hcrc&&L.pending>W&&(D.adler=f(D.adler,L.pending_buf,L.pending-W,W)),Z===0&&(L.status=103)}else L.status=103;if(L.status===103&&(L.gzhead.hcrc?(L.pending+2>L.pending_buf_size&&B(D),L.pending+2<=L.pending_buf_size&&(P(L,255&D.adler),P(L,D.adler>>8&255),D.adler=0,L.status=R)):L.status=R),L.pending!==0){if(B(D),D.avail_out===0)return L.last_flush=-1,p}else if(D.avail_in===0&&C(re)<=C(ee)&&re!==x)return E(D,-5);if(L.status===666&&D.avail_in!==0)return E(D,-5);if(D.avail_in!==0||L.lookahead!==0||re!==b&&L.status!==666){var ue=L.strategy===2?function(G,q){for(var $;;){if(G.lookahead===0&&(he(G),G.lookahead===0)){if(q===b)return _;break}if(G.match_length=0,$=a._tr_tally(G,0,G.window[G.strstart]),G.lookahead--,G.strstart++,$&&(M(G,!1),G.strm.avail_out===0))return _}return G.insert=0,q===x?(M(G,!0),G.strm.avail_out===0?U:A):G.last_lit&&(M(G,!1),G.strm.avail_out===0)?_:J}(L,re):L.strategy===3?function(G,q){for(var $,Y,X,pe,xe=G.window;;){if(G.lookahead<=K){if(he(G),G.lookahead<=K&&q===b)return _;if(G.lookahead===0)break}if(G.match_length=0,G.lookahead>=I&&0<G.strstart&&(Y=xe[X=G.strstart-1])===xe[++X]&&Y===xe[++X]&&Y===xe[++X]){pe=G.strstart+K;do;while(Y===xe[++X]&&Y===xe[++X]&&Y===xe[++X]&&Y===xe[++X]&&Y===xe[++X]&&Y===xe[++X]&&Y===xe[++X]&&Y===xe[++X]&&X<pe);G.match_length=K-(pe-X),G.match_length>G.lookahead&&(G.match_length=G.lookahead)}if(G.match_length>=I?($=a._tr_tally(G,1,G.match_length-I),G.lookahead-=G.match_length,G.strstart+=G.match_length,G.match_length=0):($=a._tr_tally(G,0,G.window[G.strstart]),G.lookahead--,G.strstart++),$&&(M(G,!1),G.strm.avail_out===0))return _}return G.insert=0,q===x?(M(G,!0),G.strm.avail_out===0?U:A):G.last_lit&&(M(G,!1),G.strm.avail_out===0)?_:J}(L,re):c[L.level].func(L,re);if(ue!==U&&ue!==A||(L.status=666),ue===_||ue===U)return D.avail_out===0&&(L.last_flush=-1),p;if(ue===J&&(re===1?a._tr_align(L):re!==5&&(a._tr_stored_block(L,0,0,!1),re===3&&(O(L.head),L.lookahead===0&&(L.strstart=0,L.block_start=0,L.insert=0))),B(D),D.avail_out===0))return L.last_flush=-1,p}return re!==x?p:L.wrap<=0?1:(L.wrap===2?(P(L,255&D.adler),P(L,D.adler>>8&255),P(L,D.adler>>16&255),P(L,D.adler>>24&255),P(L,255&D.total_in),P(L,D.total_in>>8&255),P(L,D.total_in>>16&255),P(L,D.total_in>>24&255)):(te(L,D.adler>>>
vendor: 4,888 bytes, line 208
20816),te(L,65535&D.adler)),B(D),0<L.wrap&&(L.wrap=-L.wrap),L.pending!==0?p:1)},s.deflateEnd=function(D){var re;return D&&D.state?(re=D.state.status)!==j&&re!==69&&re!==73&&re!==91&&re!==103&&re!==R&&re!==666?E(D,v):(D.state=null,re===R?E(D,-3):p):v},s.deflateSetDictionary=function(D,re){var ee,L,W,Z,oe,ue,G,q,$=re.length;if(!D||!D.state||(Z=(ee=D.state).wrap)===2||Z===1&&ee.status!==j||ee.lookahead)return v;for(Z===1&&(D.adler=l(D.adler,re,$,0)),ee.wrap=0,$>=ee.w_size&&(Z===0&&(O(ee.head),ee.strstart=0,ee.block_start=0,ee.insert=0),q=new o.Buf8(ee.w_size),o.arraySet(q,re,$-ee.w_size,ee.w_size,0),re=q,$=ee.w_size),oe=D.avail_in,ue=D.next_in,G=D.input,D.avail_in=$,D.next_in=0,D.input=re,he(ee);ee.lookahead>=I;){for(L=ee.strstart,W=ee.lookahead-(I-1);ee.ins_h=(ee.ins_h<<ee.hash_shift^ee.window[L+I-1])&ee.hash_mask,ee.prev[L&ee.w_mask]=ee.head[ee.ins_h],ee.head[ee.ins_h]=L,L++,--W;);ee.strstart=L,ee.lookahead=I-1,he(ee)}return ee.strstart+=ee.lookahead,ee.block_start=ee.strstart,ee.insert=ee.lookahead,ee.lookahead=0,ee.match_length=ee.prev_length=I-1,ee.match_available=0,D.next_in=ue,D.input=G,D.avail_in=oe,ee.wrap=Z,p},s.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(r,i,s){i.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(r,i,s){i.exports=function(c,o){var a,l,f,m,b,x,p,v,u,d,y,h,g,k,w,F,z,S,I,K,ae,j,R,_,J;a=c.state,l=c.next_in,_=c.input,f=l+(c.avail_in-5),m=c.next_out,J=c.output,b=m-(o-c.avail_out),x=m+(c.avail_out-257),p=a.dmax,v=a.wsize,u=a.whave,d=a.wnext,y=a.window,h=a.hold,g=a.bits,k=a.lencode,w=a.distcode,F=(1<<a.lenbits)-1,z=(1<<a.distbits)-1;e:do{g<15&&(h+=_[l++]<<g,g+=8,h+=_[l++]<<g,g+=8),S=k[h&F];t:for(;;){if(h>>>=I=S>>>24,g-=I,(I=S>>>16&255)===0)J[m++]=65535&S;else{if(!(16&I)){if(!(64&I)){S=k[(65535&S)+(h&(1<<I)-1)];continue t}if(32&I){a.mode=12;break e}c.msg="invalid literal/length code",a.mode=30;break e}K=65535&S,(I&=15)&&(g<I&&(h+=_[l++]<<g,g+=8),K+=h&(1<<I)-1,h>>>=I,g-=I),g<15&&(h+=_[l++]<<g,g+=8,h+=_[l++]<<g,g+=8),S=w[h&z];n:for(;;){if(h>>>=I=S>>>24,g-=I,!(16&(I=S>>>16&255))){if(!(64&I)){S=w[(65535&S)+(h&(1<<I)-1)];continue n}c.msg="invalid distance code",a.mode=30;break e}if(ae=65535&S,g<(I&=15)&&(h+=_[l++]<<g,(g+=8)<I&&(h+=_[l++]<<g,g+=8)),p<(ae+=h&(1<<I)-1)){c.msg="invalid distance too far back",a.mode=30;break e}if(h>>>=I,g-=I,(I=m-b)<ae){if(u<(I=ae-I)&&a.sane){c.msg="invalid distance too far back",a.mode=30;break e}if(R=y,(j=0)===d){if(j+=v-I,I<K){for(K-=I;J[m++]=y[j++],--I;);j=m-ae,R=J}}else if(d<I){if(j+=v+d-I,(I-=d)<K){for(K-=I;J[m++]=y[j++],--I;);if(j=0,d<K){for(K-=I=d;J[m++]=y[j++],--I;);j=m-ae,R=J}}}else if(j+=d-I,I<K){for(K-=I;J[m++]=y[j++],--I;);j=m-ae,R=J}for(;2<K;)J[m++]=R[j++],J[m++]=R[j++],J[m++]=R[j++],K-=3;K&&(J[m++]=R[j++],1<K&&(J[m++]=R[j++]))}else{for(j=m-ae;J[m++]=J[j++],J[m++]=J[j++],J[m++]=J[j++],2<(K-=3););K&&(J[m++]=J[j++],1<K&&(J[m++]=J[j++]))}break}}break}}while(l<f&&m<x);l-=K=g>>3,h&=(1<<(g-=K<<3))-1,c.next_in=l,c.next_out=m,c.avail_in=l<f?f-l+5:5-(l-f),c.avail_out=m<x?x-m+257:257-(m-x),a.hold=h,a.bits=g}},{}],49:[function(r,i,s){var c=r("../utils/common"),o=r("./adler32"),a=r("./crc32"),l=r("./inffast"),f=r("./inftrees"),m=1,b=2,x=0,p=-2,v=1,u=852,d=592;function y(j){return(j>>>24&255)+(j>>>8&65280)+((65280&j)<<8)+((255&j)<<24)}function h(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new c.Buf16(320),this.work=new c.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function g(j){var R;return j&&j.state?(R=j.state,j.total_in=j.total_out=R.total=0,j.msg="",R.wrap&&(j.adler=1&R.wrap),R.mode=v,R.last=0,R.havedict=0,R.dmax=32768,R.head=null,R.hold=0,R.bits=0,R.lencode=R.lendyn=new c.Buf32(u),R.distcode=R.distdyn=new c.Buf32(d),R.sane=1,R.back=-1,x):p}function k(j){var R;return j&&j.state?((R=j.state).wsize=0,R.whave=0,R.wnext=0,g(j)):p}function w(j,R){var _,J;return j&&j.state?(J=j.state,R<0?(_=0,R=-R):(_=1+(R>>4),R<48&&(R&=15)),R&&(R<8||15<R)?p:(J.window!==null&&J.wbits!==R&&(J.window=null),J.wrap=_,J.wbits=R,k(j))):p}function F(j,R){var _,J;return j?(J=new h,(j.state=J).window=null,(_=w(j,R))!==x&&(j.state=null),_):p}var z,S,I=!0;function K(j){if(I){var R;for(z=new c.Buf32(512),S=new c.Buf32(32),R=0;R<144;)j.lens[R++]=8;for(;R<256;)j.lens[R++]=9;for(;R<280;)j.lens[R++]=7;for(;R<288;)j.lens[R++]=8;for(f(m,j.lens,0,288,z,0,j.work,{bits:9}),R=0;R<32;)j.lens[R++]=5;
vendor: 4,134 bytes, line 208
208f(b,j.lens,0,32,S,0,j.work,{bits:5}),I=!1}j.lencode=z,j.lenbits=9,j.distcode=S,j.distbits=5}function ae(j,R,_,J){var U,A=j.state;return A.window===null&&(A.wsize=1<<A.wbits,A.wnext=0,A.whave=0,A.window=new c.Buf8(A.wsize)),J>=A.wsize?(c.arraySet(A.window,R,_-A.wsize,A.wsize,0),A.wnext=0,A.whave=A.wsize):(J<(U=A.wsize-A.wnext)&&(U=J),c.arraySet(A.window,R,_-J,U,A.wnext),(J-=U)?(c.arraySet(A.window,R,_-J,J,0),A.wnext=J,A.whave=A.wsize):(A.wnext+=U,A.wnext===A.wsize&&(A.wnext=0),A.whave<A.wsize&&(A.whave+=U))),0}s.inflateReset=k,s.inflateReset2=w,s.inflateResetKeep=g,s.inflateInit=function(j){return F(j,15)},s.inflateInit2=F,s.inflate=function(j,R){var _,J,U,A,E,C,O,B,M,P,te,se,he,fe,ve,De,je,Se,ne,le,D,re,ee,L,W=0,Z=new c.Buf8(4),oe=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!j||!j.state||!j.output||!j.input&&j.avail_in!==0)return p;(_=j.state).mode===12&&(_.mode=13),E=j.next_out,U=j.output,O=j.avail_out,A=j.next_in,J=j.input,C=j.avail_in,B=_.hold,M=_.bits,P=C,te=O,re=x;e:for(;;)switch(_.mode){case v:if(_.wrap===0){_.mode=13;break}for(;M<16;){if(C===0)break e;C--,B+=J[A++]<<M,M+=8}if(2&_.wrap&&B===35615){Z[_.check=0]=255&B,Z[1]=B>>>8&255,_.check=a(_.check,Z,2,0),M=B=0,_.mode=2;break}if(_.flags=0,_.head&&(_.head.done=!1),!(1&_.wrap)||(((255&B)<<8)+(B>>8))%31){j.msg="incorrect header check",_.mode=30;break}if((15&B)!=8){j.msg="unknown compression method",_.mode=30;break}if(M-=4,D=8+(15&(B>>>=4)),_.wbits===0)_.wbits=D;else if(D>_.wbits){j.msg="invalid window size",_.mode=30;break}_.dmax=1<<D,j.adler=_.check=1,_.mode=512&B?10:12,M=B=0;break;case 2:for(;M<16;){if(C===0)break e;C--,B+=J[A++]<<M,M+=8}if(_.flags=B,(255&_.flags)!=8){j.msg="unknown compression method",_.mode=30;break}if(57344&_.flags){j.msg="unknown header flags set",_.mode=30;break}_.head&&(_.head.text=B>>8&1),512&_.flags&&(Z[0]=255&B,Z[1]=B>>>8&255,_.check=a(_.check,Z,2,0)),M=B=0,_.mode=3;case 3:for(;M<32;){if(C===0)break e;C--,B+=J[A++]<<M,M+=8}_.head&&(_.head.time=B),512&_.flags&&(Z[0]=255&B,Z[1]=B>>>8&255,Z[2]=B>>>16&255,Z[3]=B>>>24&255,_.check=a(_.check,Z,4,0)),M=B=0,_.mode=4;case 4:for(;M<16;){if(C===0)break e;C--,B+=J[A++]<<M,M+=8}_.head&&(_.head.xflags=255&B,_.head.os=B>>8),512&_.flags&&(Z[0]=255&B,Z[1]=B>>>8&255,_.check=a(_.check,Z,2,0)),M=B=0,_.mode=5;case 5:if(1024&_.flags){for(;M<16;){if(C===0)break e;C--,B+=J[A++]<<M,M+=8}_.length=B,_.head&&(_.head.extra_len=B),512&_.flags&&(Z[0]=255&B,Z[1]=B>>>8&255,_.check=a(_.check,Z,2,0)),M=B=0}else _.head&&(_.head.extra=null);_.mode=6;case 6:if(1024&_.flags&&(C<(se=_.length)&&(se=C),se&&(_.head&&(D=_.head.extra_len-_.length,_.head.extra||(_.head.extra=new Array(_.head.extra_len)),c.arraySet(_.head.extra,J,A,se,D)),512&_.flags&&(_.check=a(_.check,J,se,A)),C-=se,A+=se,_.length-=se),_.length))break e;_.length=0,_.mode=7;case 7:if(2048&_.flags){if(C===0)break e;for(se=0;D=J[A+se++],_.head&&D&&_.length<65536&&(_.head.name+=String.fromCharCode(D)),D&&se<C;);if(512&_.flags&&(_.check=a(_.check,J,se,A)),C-=se,A+=se,D)break e}else _.head&&(_.head.name=null);_.length=0,_.mode=8;case 8:if(4096&_.flags){if(C===0)break e;for(se=0;D=J[A+se++],_.head&&D&&_.length<65536&&(_.head.comment+=String.fromCharCode(D)),D&&se<C;);if(512&_.flags&&(_.check=a(_.check,J,se,A)),C-=se,A+=se,D)break e}else _.head&&(_.head.comment=null);_.mode=9;case 9:if(512&_.flags){for(;M<16;){if(C===0)break e;C--,B+=J[A++]<<M,M+=8}if(B!==(65535&_.check)){j.msg="header crc mismatch",_.mode=30;break}M=B=0}_.head&&(_.head.hcrc=_.flags>>9&1,_.head.done=!0),j.adler=_.check=0,_.mode=12;break;case 10:for(;M<32;){if(C===0)break e;C--,B+=J[A++]<<M,M+=8}j.adler=_.check=y(B),M=B=0,_.mode=11;case 11:if(_.havedict===0)return j.next_out=E,j.avail_out=O,j.next_in=A,j.avail_in=C,_.hold=B,_.bits=M,2;j.adler=_.check=1,_.mode=12;case 12:if(R===5||R===6)break e;case 13:if(_.last){B>>>=7&M,M-=7&M,_.mode=27;break}for(;M<3;){if(C===0)break e;C--,B+=J[A++]<<M,M+=8}switch(_.last=1&B,M-=1,3&(B>>>=1)){case 0:_.mode=14;break;case 1:if(K(_),_.mode=20,R!==6)break;B>>>=2,M-=2;break e;case 2:_.mode=17;break;case 3:j.msg="invalid block type",_.mode=30}B>>>=2,M-=2;break;case 14:for(B>>>=7&M,M-=7&M;M<32;){if(C===0)break e;
vendor: 9,508 bytes, line 208
208C--,B+=J[A++]<<M,M+=8}if((65535&B)!=(B>>>16^65535)){j.msg="invalid stored block lengths",_.mode=30;break}if(_.length=65535&B,M=B=0,_.mode=15,R===6)break e;case 15:_.mode=16;case 16:if(se=_.length){if(C<se&&(se=C),O<se&&(se=O),se===0)break e;c.arraySet(U,J,A,se,E),C-=se,A+=se,O-=se,E+=se,_.length-=se;break}_.mode=12;break;case 17:for(;M<14;){if(C===0)break e;C--,B+=J[A++]<<M,M+=8}if(_.nlen=257+(31&B),B>>>=5,M-=5,_.ndist=1+(31&B),B>>>=5,M-=5,_.ncode=4+(15&B),B>>>=4,M-=4,286<_.nlen||30<_.ndist){j.msg="too many length or distance symbols",_.mode=30;break}_.have=0,_.mode=18;case 18:for(;_.have<_.ncode;){for(;M<3;){if(C===0)break e;C--,B+=J[A++]<<M,M+=8}_.lens[oe[_.have++]]=7&B,B>>>=3,M-=3}for(;_.have<19;)_.lens[oe[_.have++]]=0;if(_.lencode=_.lendyn,_.lenbits=7,ee={bits:_.lenbits},re=f(0,_.lens,0,19,_.lencode,0,_.work,ee),_.lenbits=ee.bits,re){j.msg="invalid code lengths set",_.mode=30;break}_.have=0,_.mode=19;case 19:for(;_.have<_.nlen+_.ndist;){for(;De=(W=_.lencode[B&(1<<_.lenbits)-1])>>>16&255,je=65535&W,!((ve=W>>>24)<=M);){if(C===0)break e;C--,B+=J[A++]<<M,M+=8}if(je<16)B>>>=ve,M-=ve,_.lens[_.have++]=je;else{if(je===16){for(L=ve+2;M<L;){if(C===0)break e;C--,B+=J[A++]<<M,M+=8}if(B>>>=ve,M-=ve,_.have===0){j.msg="invalid bit length repeat",_.mode=30;break}D=_.lens[_.have-1],se=3+(3&B),B>>>=2,M-=2}else if(je===17){for(L=ve+3;M<L;){if(C===0)break e;C--,B+=J[A++]<<M,M+=8}M-=ve,D=0,se=3+(7&(B>>>=ve)),B>>>=3,M-=3}else{for(L=ve+7;M<L;){if(C===0)break e;C--,B+=J[A++]<<M,M+=8}M-=ve,D=0,se=11+(127&(B>>>=ve)),B>>>=7,M-=7}if(_.have+se>_.nlen+_.ndist){j.msg="invalid bit length repeat",_.mode=30;break}for(;se--;)_.lens[_.have++]=D}}if(_.mode===30)break;if(_.lens[256]===0){j.msg="invalid code -- missing end-of-block",_.mode=30;break}if(_.lenbits=9,ee={bits:_.lenbits},re=f(m,_.lens,0,_.nlen,_.lencode,0,_.work,ee),_.lenbits=ee.bits,re){j.msg="invalid literal/lengths set",_.mode=30;break}if(_.distbits=6,_.distcode=_.distdyn,ee={bits:_.distbits},re=f(b,_.lens,_.nlen,_.ndist,_.distcode,0,_.work,ee),_.distbits=ee.bits,re){j.msg="invalid distances set",_.mode=30;break}if(_.mode=20,R===6)break e;case 20:_.mode=21;case 21:if(6<=C&&258<=O){j.next_out=E,j.avail_out=O,j.next_in=A,j.avail_in=C,_.hold=B,_.bits=M,l(j,te),E=j.next_out,U=j.output,O=j.avail_out,A=j.next_in,J=j.input,C=j.avail_in,B=_.hold,M=_.bits,_.mode===12&&(_.back=-1);break}for(_.back=0;De=(W=_.lencode[B&(1<<_.lenbits)-1])>>>16&255,je=65535&W,!((ve=W>>>24)<=M);){if(C===0)break e;C--,B+=J[A++]<<M,M+=8}if(De&&!(240&De)){for(Se=ve,ne=De,le=je;De=(W=_.lencode[le+((B&(1<<Se+ne)-1)>>Se)])>>>16&255,je=65535&W,!(Se+(ve=W>>>24)<=M);){if(C===0)break e;C--,B+=J[A++]<<M,M+=8}B>>>=Se,M-=Se,_.back+=Se}if(B>>>=ve,M-=ve,_.back+=ve,_.length=je,De===0){_.mode=26;break}if(32&De){_.back=-1,_.mode=12;break}if(64&De){j.msg="invalid literal/length code",_.mode=30;break}_.extra=15&De,_.mode=22;case 22:if(_.extra){for(L=_.extra;M<L;){if(C===0)break e;C--,B+=J[A++]<<M,M+=8}_.length+=B&(1<<_.extra)-1,B>>>=_.extra,M-=_.extra,_.back+=_.extra}_.was=_.length,_.mode=23;case 23:for(;De=(W=_.distcode[B&(1<<_.distbits)-1])>>>16&255,je=65535&W,!((ve=W>>>24)<=M);){if(C===0)break e;C--,B+=J[A++]<<M,M+=8}if(!(240&De)){for(Se=ve,ne=De,le=je;De=(W=_.distcode[le+((B&(1<<Se+ne)-1)>>Se)])>>>16&255,je=65535&W,!(Se+(ve=W>>>24)<=M);){if(C===0)break e;C--,B+=J[A++]<<M,M+=8}B>>>=Se,M-=Se,_.back+=Se}if(B>>>=ve,M-=ve,_.back+=ve,64&De){j.msg="invalid distance code",_.mode=30;break}_.offset=je,_.extra=15&De,_.mode=24;case 24:if(_.extra){for(L=_.extra;M<L;){if(C===0)break e;C--,B+=J[A++]<<M,M+=8}_.offset+=B&(1<<_.extra)-1,B>>>=_.extra,M-=_.extra,_.back+=_.extra}if(_.offset>_.dmax){j.msg="invalid distance too far back",_.mode=30;break}_.mode=25;case 25:if(O===0)break e;if(se=te-O,_.offset>se){if((se=_.offset-se)>_.whave&&_.sane){j.msg="invalid distance too far back",_.mode=30;break}he=se>_.wnext?(se-=_.wnext,_.wsize-se):_.wnext-se,se>_.length&&(se=_.length),fe=_.window}else fe=U,he=E-_.offset,se=_.length;for(O<se&&(se=O),O-=se,_.length-=se;U[E++]=fe[he++],--se;);_.length===0&&(_.mode=21);break;case 26:if(O===0)break e;U[E++]=_.length,O--,_.mode=21;break;case 27:if(_.wrap){for(;M<32;){if(C===0)break e;C--,B|=J[A++]<<M,M+=8}if(te-=O,j.total_out+=te,_.total+=te,te&&(j.adler=_.check=_.flags?a(_.check,U,te,E-te):o(_.check,U,te,E-te)),te=O,(_.flags?B:y(B))!==_.check){j.msg="incorrect data check",_.mode=30;break}M=B=0}_.mode=28;case 28:if(_.wrap&&_.flags){for(;M<32;){if(C===0)break e;C--,B+=J[A++]<<M,M+=8}if(B!==(4294967295&_.total)){j.msg="incorrect length check",_.mode=30;break}M=B=0}_.mode=29;case 29:re=1;break e;case 30:re=-3;break e;case 31:return-4;case 32:default:return p}return j.next_out=E,j.avail_out=O,j.next_in=A,j.avail_in=C,_.hold=B,_.bits=M,(_.wsize||te!==j.avail_out&&_.mode<30&&(_.mode<27||R!==4))&&ae(j,j.output,j.next_out,te-j.avail_out)?(_.mode=31,-4):(P-=j.avail_in,te-=j.avail_out,j.total_in+=P,j.total_out+=te,_.total+=te,_.wrap&&te&&(j.adler=_.check=_.flags?a(_.check,U,te,j.next_out-te):o(_.check,U,te,j.next_out-te)),j.data_type=_.bits+(_.last?64:0)+(_.mode===12?128:0)+(_.mode===20||_.mode===15?256:0),(P==0&&te===0||R===4)&&re===x&&(re=-5),re)},s.inflateEnd=function(j){if(!j||!j.state)return p;var R=j.state;return R.window&&(R.window=null),j.state=null,x},s.inflateGetHeader=function(j,R){var _;return j&&j.state&&2&(_=j.state).wrap?((_.head=R).done=!1,x):p},s.inflateSetDictionary=function(j,R){var _,J=R.length;return j&&j.state?(_=j.state).wrap!==0&&_.mode!==11?p:_.mode===11&&o(1,R,J,0)!==_.check?-3:ae(j,R,J,J)?(_.mode=31,-4):(_.havedict=1,x):p},s.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(r,i,s){var c=r("../utils/common"),o=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],a=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],l=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],f=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];i.exports=function(m,b,x,p,v,u,d,y){var h,g,k,w,F,z,S,I,K,ae=y.bits,j=0,R=0,_=0,J=0,U=0,A=0,E=0,C=0,O=0,B=0,M=null,P=0,te=new c.Buf16(16),se=new c.Buf16(16),he=null,fe=0;for(j=0;j<=15;j++)te[j]=0;for(R=0;R<p;R++)te[b[x+R]]++;for(U=ae,J=15;1<=J&&te[J]===0;J--);if(J<U&&(U=J),J===0)return v[u++]=20971520,v[u++]=20971520,y.bits=1,0;for(_=1;_<J&&te[_]===0;_++);for(U<_&&(U=_),j=C=1;j<=15;j++)if(C<<=1,(C-=te[j])<0)return-1;if(0<C&&(m===0||J!==1))return-1;for(se[1]=0,j=1;j<15;j++)se[j+1]=se[j]+te[j];for(R=0;R<p;R++)b[x+R]!==0&&(d[se[b[x+R]]++]=R);if(z=m===0?(M=he=d,19):m===1?(M=o,P-=257,he=a,fe-=257,256):(M=l,he=f,-1),j=_,F=u,E=R=B=0,k=-1,w=(O=1<<(A=U))-1,m===1&&852<O||m===2&&592<O)return 1;for(;;){for(S=j-E,K=d[R]<z?(I=0,d[R]):d[R]>z?(I=he[fe+d[R]],M[P+d[R]]):(I=96,0),h=1<<j-E,_=g=1<<A;v[F+(B>>E)+(g-=h)]=S<<24|I<<16|K|0,g!==0;);for(h=1<<j-1;B&h;)h>>=1;if(h!==0?(B&=h-1,B+=h):B=0,R++,--te[j]==0){if(j===J)break;j=b[x+d[R]]}if(U<j&&(B&w)!==k){for(E===0&&(E=U),F+=_,C=1<<(A=j-E);A+E<J&&!((C-=te[A+E])<=0);)A++,C<<=1;if(O+=1<<A,m===1&&852<O||m===2&&592<O)return 1;v[k=B&w]=U<<24|A<<16|F-u|0}}return B!==0&&(v[F+B]=j-E<<24|64<<16|0),y.bits=U,0}},{"../utils/common":41}],51:[function(r,i,s){i.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(r,i,s){var c=r("../utils/common"),o=0,a=1;function l(W){for(var Z=W.length;0<=--Z;)W[Z]=0}var f=0,m=29,b=256,x=b+1+m,p=30,v=19,u=2*x+1,d=15,y=16,h=7,g=256,k=16,w=17,F=18,z=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],S=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],I=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],K=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],ae=new Array(2*(x+2));l(ae);var j=new Array(2*p);l(j);var R=new Array(512);l(R);var _=new Array(256);l(_);var J=new Array(m);l(J);var U,A,E,C=new Array(p);function O(W,Z,oe,ue,G){this.static_tree=W,this.extra_bits=Z,this.extra_base=oe,this.elems=ue,this.max_length=G,this.has_stree=W&&W.length}function B(W,Z){this.dyn_tree=W,this.max_code=0,this.stat_desc=Z}function M(W){return W<256?R[W]:R[256+(W>>>7)]}function P(W,Z){W.pending_buf[W.pending++]=255&Z,W.pending_buf[W.pending++]=Z>>>8&255}function te(W,Z,oe){W.bi_valid>y-oe?(W.bi_buf|=Z<<W.bi_valid&65535,P(W,W.bi_buf),W.bi_buf=Z>>y-W.bi_valid,W.bi_valid+=oe-y):(W.bi_buf|=Z<<W.bi_valid&65535,W.bi_valid+=oe)}function se(W,Z,oe){te(W,oe[2*Z],oe[2*Z+1])}function he(W,Z){for(var oe=0;oe|=1&W,W>>>=1,oe<<=1,0<--Z;);return oe>>>1}function fe(W,Z,oe){var ue,G,q=new Array(d+1),$=0;for(ue=1;ue<=d;ue++)q[ue]=$=$+oe[ue-1]<<1;for(G=0;G<=Z;G++){var Y=W[2*G+1];Y!==0&&(W[2*G]=he(q[Y]++,Y))}}function ve(W){var Z;for(Z=0;Z<x;Z++)W.dyn_ltree[2*Z]=0;for(Z=0;Z<p;Z++)W.dyn_dtree[2*Z]=0;for(Z=0;Z<v;Z++)W.bl_tree[2*Z]=0;W.dyn_ltree[2*g]=1,W.opt_len=W.static_len=0,W.last_lit=W.matches=0}function De(W){8<W.bi_valid?P(W,W.bi_buf):0<W.bi_valid&&(W.pending_buf[W.pending++]=W.bi_buf),W.bi_buf=0,W.bi_valid=0}function je(W,Z,oe,ue){var G=2*Z,q=2*oe;return W[G]<W[q]||W[G]===W[q]&&ue[Z]<=ue[oe]}function Se(W,Z,oe){for(var ue=W.heap[oe],G=oe<<1;G<=W.heap_len&&(G<W.heap_len&&je(Z,W.heap[G+1],W.heap[G],W.depth)&&G++,!je(Z,ue,W.heap[G],W.depth));)W.heap[oe]=W.heap[G],oe=G,G<<=1;W.heap[oe]=ue}function ne(W,Z,oe){var ue,G,q,$,Y=0;if(W.last_lit!==0)for(;
vendor: 6,544 bytes, line 208
208ue=W.pending_buf[W.d_buf+2*Y]<<8|W.pending_buf[W.d_buf+2*Y+1],G=W.pending_buf[W.l_buf+Y],Y++,ue===0?se(W,G,Z):(se(W,(q=_[G])+b+1,Z),($=z[q])!==0&&te(W,G-=J[q],$),se(W,q=M(--ue),oe),($=S[q])!==0&&te(W,ue-=C[q],$)),Y<W.last_lit;);se(W,g,Z)}function le(W,Z){var oe,ue,G,q=Z.dyn_tree,$=Z.stat_desc.static_tree,Y=Z.stat_desc.has_stree,X=Z.stat_desc.elems,pe=-1;for(W.heap_len=0,W.heap_max=u,oe=0;oe<X;oe++)q[2*oe]!==0?(W.heap[++W.heap_len]=pe=oe,W.depth[oe]=0):q[2*oe+1]=0;for(;W.heap_len<2;)q[2*(G=W.heap[++W.heap_len]=pe<2?++pe:0)]=1,W.depth[G]=0,W.opt_len--,Y&&(W.static_len-=$[2*G+1]);for(Z.max_code=pe,oe=W.heap_len>>1;1<=oe;oe--)Se(W,q,oe);for(G=X;oe=W.heap[1],W.heap[1]=W.heap[W.heap_len--],Se(W,q,1),ue=W.heap[1],W.heap[--W.heap_max]=oe,W.heap[--W.heap_max]=ue,q[2*G]=q[2*oe]+q[2*ue],W.depth[G]=(W.depth[oe]>=W.depth[ue]?W.depth[oe]:W.depth[ue])+1,q[2*oe+1]=q[2*ue+1]=G,W.heap[1]=G++,Se(W,q,1),2<=W.heap_len;);W.heap[--W.heap_max]=W.heap[1],function(xe,Ue){var ke,Ae,Ie,We,nt,fn,mt=Ue.dyn_tree,jr=Ue.max_code,Ni=Ue.stat_desc.static_tree,qt=Ue.stat_desc.has_stree,Ar=Ue.stat_desc.extra_bits,Un=Ue.stat_desc.extra_base,Pt=Ue.stat_desc.max_length,pn=0;for(We=0;We<=d;We++)xe.bl_count[We]=0;for(mt[2*xe.heap[xe.heap_max]+1]=0,ke=xe.heap_max+1;ke<u;ke++)Pt<(We=mt[2*mt[2*(Ae=xe.heap[ke])+1]+1]+1)&&(We=Pt,pn++),mt[2*Ae+1]=We,jr<Ae||(xe.bl_count[We]++,nt=0,Un<=Ae&&(nt=Ar[Ae-Un]),fn=mt[2*Ae],xe.opt_len+=fn*(We+nt),qt&&(xe.static_len+=fn*(Ni[2*Ae+1]+nt)));if(pn!==0){do{for(We=Pt-1;xe.bl_count[We]===0;)We--;xe.bl_count[We]--,xe.bl_count[We+1]+=2,xe.bl_count[Pt]--,pn-=2}while(0<pn);for(We=Pt;We!==0;We--)for(Ae=xe.bl_count[We];Ae!==0;)jr<(Ie=xe.heap[--ke])||(mt[2*Ie+1]!==We&&(xe.opt_len+=(We-mt[2*Ie+1])*mt[2*Ie],mt[2*Ie+1]=We),Ae--)}}(W,Z),fe(q,pe,W.bl_count)}function D(W,Z,oe){var ue,G,q=-1,$=Z[1],Y=0,X=7,pe=4;for($===0&&(X=138,pe=3),Z[2*(oe+1)+1]=65535,ue=0;ue<=oe;ue++)G=$,$=Z[2*(ue+1)+1],++Y<X&&G===$||(Y<pe?W.bl_tree[2*G]+=Y:G!==0?(G!==q&&W.bl_tree[2*G]++,W.bl_tree[2*k]++):Y<=10?W.bl_tree[2*w]++:W.bl_tree[2*F]++,q=G,pe=(Y=0)===$?(X=138,3):G===$?(X=6,3):(X=7,4))}function re(W,Z,oe){var ue,G,q=-1,$=Z[1],Y=0,X=7,pe=4;for($===0&&(X=138,pe=3),ue=0;ue<=oe;ue++)if(G=$,$=Z[2*(ue+1)+1],!(++Y<X&&G===$)){if(Y<pe)for(;se(W,G,W.bl_tree),--Y!=0;);else G!==0?(G!==q&&(se(W,G,W.bl_tree),Y--),se(W,k,W.bl_tree),te(W,Y-3,2)):Y<=10?(se(W,w,W.bl_tree),te(W,Y-3,3)):(se(W,F,W.bl_tree),te(W,Y-11,7));q=G,pe=(Y=0)===$?(X=138,3):G===$?(X=6,3):(X=7,4)}}l(C);var ee=!1;function L(W,Z,oe,ue){te(W,(f<<1)+(ue?1:0),3),function(G,q,$,Y){De(G),P(G,$),P(G,~$),c.arraySet(G.pending_buf,G.window,q,$,G.pending),G.pending+=$}(W,Z,oe)}s._tr_init=function(W){ee||(function(){var Z,oe,ue,G,q,$=new Array(d+1);for(G=ue=0;G<m-1;G++)for(J[G]=ue,Z=0;Z<1<<z[G];Z++)_[ue++]=G;for(_[ue-1]=G,G=q=0;G<16;G++)for(C[G]=q,Z=0;Z<1<<S[G];Z++)R[q++]=G;for(q>>=7;G<p;G++)for(C[G]=q<<7,Z=0;Z<1<<S[G]-7;Z++)R[256+q++]=G;for(oe=0;oe<=d;oe++)$[oe]=0;for(Z=0;Z<=143;)ae[2*Z+1]=8,Z++,$[8]++;for(;Z<=255;)ae[2*Z+1]=9,Z++,$[9]++;for(;Z<=279;)ae[2*Z+1]=7,Z++,$[7]++;for(;Z<=287;)ae[2*Z+1]=8,Z++,$[8]++;for(fe(ae,x+1,$),Z=0;Z<p;Z++)j[2*Z+1]=5,j[2*Z]=he(Z,5);U=new O(ae,z,b+1,x,d),A=new O(j,S,0,p,d),E=new O(new Array(0),I,0,v,h)}(),ee=!0),W.l_desc=new B(W.dyn_ltree,U),W.d_desc=new B(W.dyn_dtree,A),W.bl_desc=new B(W.bl_tree,E),W.bi_buf=0,W.bi_valid=0,ve(W)},s._tr_stored_block=L,s._tr_flush_block=function(W,Z,oe,ue){var G,q,$=0;0<W.level?(W.strm.data_type===2&&(W.strm.data_type=function(Y){var X,pe=4093624447;for(X=0;X<=31;X++,pe>>>=1)if(1&pe&&Y.dyn_ltree[2*X]!==0)return o;if(Y.dyn_ltree[18]!==0||Y.dyn_ltree[20]!==0||Y.dyn_ltree[26]!==0)return a;for(X=32;X<b;X++)if(Y.dyn_ltree[2*X]!==0)return a;return o}(W)),le(W,W.l_desc),le(W,W.d_desc),$=function(Y){var X;for(D(Y,Y.dyn_ltree,Y.l_desc.max_code),D(Y,Y.dyn_dtree,Y.d_desc.max_code),le(Y,Y.bl_desc),X=v-1;3<=X&&Y.bl_tree[2*K[X]+1]===0;X--);return Y.opt_len+=3*(X+1)+5+5+4,X}(W),G=W.opt_len+3+7>>>3,(q=W.static_len+3+7>>>3)<=G&&(G=q)):G=q=oe+5,oe+4<=G&&Z!==-1?L(W,Z,oe,ue):W.strategy===4||q===G?(te(W,2+(ue?1:0),3),ne(W,ae,j)):(te(W,4+(ue?1:0),3),function(Y,X,pe,xe){var Ue;for(te(Y,X-257,5),te(Y,pe-1,5),te(Y,xe-4,4),Ue=0;Ue<xe;Ue++)te(Y,Y.bl_tree[2*K[Ue]+1],3);re(Y,Y.dyn_ltree,X-1),re(Y,Y.dyn_dtree,pe-1)}(W,W.l_desc.max_code+1,W.d_desc.max_code+1,$+1),ne(W,W.dyn_ltree,W.dyn_dtree)),ve(W),ue&&De(W)},s._tr_tally=function(W,Z,oe){return W.pending_buf[W.d_buf+2*W.last_lit]=Z>>>8&255,W.pending_buf[W.d_buf+2*W.last_lit+1]=255&Z,W.pending_buf[W.l_buf+W.last_lit]=255&oe,W.last_lit++,Z===0?W.dyn_ltree[2*oe]++:(W.matches++,Z--,W.dyn_ltree[2*(_[oe]+b+1)]++,W.dyn_dtree[2*M(Z)]++),W.last_lit===W.lit_bufsize-1},s._tr_align=function(W){te(W,2,3),se(W,g,ae),function(Z){Z.bi_valid===16?(P(Z,Z.bi_buf),Z.bi_buf=0,Z.bi_valid=0):8<=Z.bi_valid&&(Z.pending_buf[Z.pending++]=255&Z.bi_buf,Z.bi_buf>>=8,Z.bi_valid-=8)}(W)}},{"../utils/common":41}],53:[function(r,i,s){i.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(r,i,s){(function(c){(function(o,a){if(!o.setImmediate){var l,f,m,b,x=1,p={},v=!1,u=o.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(o);d=d&&d.setTimeout?d:o,l={}.toString.call(o.process)==="[object process]"?function(k){process.nextTick(function(){h(k)})}:function(){if(o.postMessage&&!o.importScripts){var k=!0,w=o.onmessage;return o.onmessage=function(){k=!1},o.postMessage("","*"),o.onmessage=w,k}}()?(b="setImmediate$"+Math.random()+"$",o.addEventListener?o.addEventListener("message",g,!1):o.attachEvent("onmessage",g),function(k){o.postMessage(b+k,"*")}):o.MessageChannel?((m=new MessageChannel).port1.onmessage=function(k){h(k.data)},function(k){m.port2.postMessage(k)}):u&&"onreadystatechange"in u.createElement("script")?(f=u.documentElement,function(k){var w=u.createElement("script");w.onreadystatechange=function(){h(k),w.onreadystatechange=null,f.removeChild(w),w=null},f.appendChild(w)}):function(k){setTimeout(h,0,k)},d.setImmediate=function(k){typeof k!="function"&&(k=new Function(""+k));for(var w=new Array(arguments.length-1),F=0;F<w.length;F++)w[F]=arguments[F+1];var z={callback:k,args:w};return p[x]=z,l(x),x++},d.clearImmediate=y}function y(k){delete p[k]}function h(k){if(v)setTimeout(h,0,k);else{var w=p[k];if(w){v=!0;try{(function(F){var z=F.callback,S=F.args;switch(S.length){case 0:z();break;case 1:z(S[0]);break;case 2:z(S[0],S[1]);break;case 3:z(S[0],S[1],S[2]);break;default:z.apply(a,S)}})(w)}finally{y(k),v=!1}}}}
208function g(k){k.source===o&&typeof k.data=="string"&&k.data.indexOf(b)===0&&h(+k.data.slice(b.length))}})(typeof self>"u"?c===void 0?this:c:self)}).call(this,typeof Ee<"u"?Ee:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(Hl);var Qf=Hl.exports,Yf=ni,ep=Qf;Ur.openArrayBuffer=tp;Ur.splitPath=np;Ur.joinPath=rp;function tp(e){return ep.loadAsync(e).then(function(t){function r(o){return t.file(o)!==null}function i(o,a){return t.file(o).async("uint8array").then(function(l){if(a==="base64")return Yf.fromByteArray(l);if(a){var f=new TextDecoder(a);return f.decode(l)}else return l})}function s(o,a){t.file(o,a)}function c(){return t.generateAsync({type:"arraybuffer"})}return{exists:r,read:i,write:s,toArrayBuffer:c}})}function np(e){var t=e.lastIndexOf("/");return t===-1?{dirname:"",basename:e}:{dirname:e.substring(0,t),basename:e.substring(t+1)}}function rp(){var e=Array.prototype.filter.call(arguments,function(r){return r}),t=[];return e.forEach(function(r){/^\//.test(r)?t=[r]:t.push(r)}),t.join("/")}var ws={},nn={},Qn={},ri=$e;Qn.Element=Yn;Qn.element=function(e,t,r){return new Yn(e,t,r)};Qn.text=function(e){return{type:"text",value:e}};var Xl=Qn.emptyElement={first:function(){return null},firstOrEmpty:function(){return Xl},attributes:{},children:[]};function Yn(e,t,r){this.type="element",this.name=e,this.attributes=t||{},this.children=r||[]}Yn.prototype.first=function(e){return ri.find(this.children,function(t){return t.name===e})};Yn.prototype.firstOrEmpty=function(e){return this.first(e)||Xl};Yn.prototype.getElementsByTagName=function(e){var t=ri.filter(this.children,function(r){return r.name===e});return Vl(t)};Yn.prototype.text=function(){if(this.children.length===0)return"";if(this.children.length!==1||this.children[0].type!=="text")throw new Error("Not implemented");return this.children[0].value};var ip={getElementsByTagName:function(e){return Vl(ri.flatten(this.map(function(t){return t.getElementsByTagName(e)},!0)))}};function Vl(e){return ri.extend(e,ip)}var $l={},Us={},ii={},Mt={},rn={};function ap(e,t,r){if(r===void 0&&(r=Array.prototype),e&&typeof r.find=="function")return r.find.call(e,t);for(var i=0;i<e.length;i++)if(Object.prototype.hasOwnProperty.call(e,i)){var s=e[i];if(t.call(void 0,s,i,e))return s}}function Ts(e,t){return t===void 0&&(t=Object),t&&typeof t.freeze=="function"?t.freeze(e):e}function sp(e,t){if(e===null||typeof e!="object")throw new TypeError("target is not an object");for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}var Kl=Ts({HTML:"text/html",isHTML:function(e){return e===Kl.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),Jl=Ts({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(e){return e===Jl.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});rn.assign=sp;rn.find=ap;rn.freeze=Ts;rn.MIME_TYPE=Kl;rn.NAMESPACE=Jl;var Gl=rn,Rt=Gl.find,br=Gl.NAMESPACE;function op(e){return e!==""}function cp(e){return e?e.split(/[\t\n\f\r ]+/).filter(op):[]}function lp(e,t){return e.hasOwnProperty(t)||(e[t]=!0),e}function gc(e){if(!e)return[];var t=cp(e);return Object.keys(t.reduce(lp,{}))}function up(e){return function(t){return e&&e.indexOf(t)!==-1}}function Tr(e,t){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}function ft(e,t){var r=e.prototype;if(!(r instanceof t)){let i=function(){};i.prototype=t.prototype,i=new i,Tr(r,i),e.prototype=r=i}r.constructor!=e&&(typeof e!="function"&&console.error("unknown Class:"+e),r.constructor=e)}var pt={},Ct=pt.ELEMENT_NODE=1,Vn=pt.ATTRIBUTE_NODE=2,Kr=pt.TEXT_NODE=3,Zl=pt.CDATA_SECTION_NODE=4,Ql=pt.ENTITY_REFERENCE_NODE=5,dp=pt.ENTITY_NODE=6,Yl=pt.PROCESSING_INSTRUCTION_NODE=7,eu=pt.COMMENT_NODE=8,tu=pt.DOCUMENT_NODE=9,nu=pt.DOCUMENT_TYPE_NODE=10,en=pt.DOCUMENT_FRAGMENT_NODE=11,hp=pt.NOTATION_NODE=12,st={},Ge={};st.INDEX_SIZE_ERR=(Ge[1]="Index size error",1);st.DOMSTRING_SIZE_ERR=(Ge[2]="DOMString size error",2);var ut=st.HIERARCHY_REQUEST_ERR=(Ge[3]="Hierarchy request error",3);st.WRONG_DOCUMENT_ERR=(Ge[4]="Wrong document",4);var fp=st.INVALID_CHARACTER_ERR=(Ge[5]="Invalid character",5);
vendor: 6,389 bytes, line 208
208st.NO_DATA_ALLOWED_ERR=(Ge[6]="No data allowed",6);st.NO_MODIFICATION_ALLOWED_ERR=(Ge[7]="No modification allowed",7);var ru=st.NOT_FOUND_ERR=(Ge[8]="Not found",8);st.NOT_SUPPORTED_ERR=(Ge[9]="Not supported",9);var mc=st.INUSE_ATTRIBUTE_ERR=(Ge[10]="Attribute in use",10);st.INVALID_STATE_ERR=(Ge[11]="Invalid state",11);st.SYNTAX_ERR=(Ge[12]="Syntax error",12);st.INVALID_MODIFICATION_ERR=(Ge[13]="Invalid modification",13);st.NAMESPACE_ERR=(Ge[14]="Invalid namespace",14);st.INVALID_ACCESS_ERR=(Ge[15]="Invalid access",15);function Xe(e,t){if(t instanceof Error)var r=t;else r=this,Error.call(this,Ge[e]),this.message=Ge[e],Error.captureStackTrace&&Error.captureStackTrace(this,Xe);return r.code=e,t&&(this.message=this.message+": "+t),r}Xe.prototype=Error.prototype;Tr(st,Xe);function Qt(){}Qt.prototype={length:0,item:function(e){return e>=0&&e<this.length?this[e]:null},toString:function(e,t){for(var r=[],i=0;i<this.length;i++)Bn(this[i],r,e,t);return r.join("")},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}};function $n(e,t){this._node=e,this._refresh=t,Cs(this)}function Cs(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==t){var r=e._refresh(e._node);if(gu(e,"length",r.length),!e.$$length||r.length<e.$$length)for(var i=r.length;i in e;i++)Object.prototype.hasOwnProperty.call(e,i)&&delete e[i];Tr(r,e),e._inc=t}}$n.prototype.item=function(e){return Cs(this),this[e]||null};ft($n,Qt);function Jr(){}function iu(e,t){for(var r=e.length;r--;)if(e[r]===t)return r}function yc(e,t,r,i){if(i?t[iu(t,i)]=r:t[t.length++]=r,e){r.ownerElement=e;var s=e.ownerDocument;s&&(i&&ou(s,e,i),pp(s,e,r))}}function bc(e,t,r){var i=iu(t,r);if(i>=0){for(var s=t.length-1;i<s;)t[i]=t[++i];if(t.length=s,e){var c=e.ownerDocument;c&&(ou(c,e,r),r.ownerElement=null)}}else throw new Xe(ru,new Error(e.tagName+"@"+r))}Jr.prototype={length:0,item:Qt.prototype.item,getNamedItem:function(e){for(var t=this.length;t--;){var r=this[t];if(r.nodeName==e)return r}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new Xe(mc);var r=this.getNamedItem(e.nodeName);return yc(this._ownerElement,this,e,r),r},setNamedItemNS:function(e){var t=e.ownerElement,r;if(t&&t!=this._ownerElement)throw new Xe(mc);return r=this.getNamedItemNS(e.namespaceURI,e.localName),yc(this._ownerElement,this,e,r),r},removeNamedItem:function(e){var t=this.getNamedItem(e);return bc(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var r=this.getNamedItemNS(e,t);return bc(this._ownerElement,this,r),r},getNamedItemNS:function(e,t){for(var r=this.length;r--;){var i=this[r];if(i.localName==t&&i.namespaceURI==e)return i}return null}};function au(){}au.prototype={hasFeature:function(e,t){return!0},createDocument:function(e,t,r){var i=new Cr;if(i.implementation=this,i.childNodes=new Qt,i.doctype=r||null,r&&i.appendChild(r),t){var s=i.createElementNS(e,t);i.appendChild(s)}return i},createDocumentType:function(e,t,r){var i=new ai;return i.name=e,i.nodeName=e,i.publicId=t||"",i.systemId=r||"",i}};function Re(){}Re.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(e,t){return Gr(this,e,t)},replaceChild:function(e,t){Gr(this,e,t,lu),t&&this.removeChild(t)},removeChild:function(e){return cu(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(e){return hs(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var t=e.nextSibling;t&&t.nodeType==Kr&&e.nodeType==Kr?(this.removeChild(t),e.appendData(t.data)):(e.normalize(),e=t)}},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(e){for(var t=this;t;){var r=t._nsMap;if(r){for(var i in r)if(Object.prototype.hasOwnProperty.call(r,i)&&r[i]===e)return i}t=t.nodeType==Vn?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var r=t._nsMap;if(r&&Object.prototype.hasOwnProperty.call(r,e))return r[e];t=t.nodeType==Vn?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){var t=this.lookupPrefix(e);return t==null}};function su(e){return e=="<"&&"<"||e==">"&&">"||e=="&"&&"&"||e=='"'&&"""||"&#"+e.charCodeAt()+";"}Tr(pt,Re);Tr(pt,Re.prototype);function vr(e,t){if(t(e))return!0;if(e=e.firstChild)do if(vr(e,t))return!0;while(e=e.nextSibling)}function Cr(){this.ownerDocument=this}function pp(e,t,r){e&&e._inc++;var i=r.namespaceURI;i===br.XMLNS&&(t._nsMap[r.prefix?r.localName:""]=r.value)}function ou(e,t,r,i){e&&e._inc++;var s=r.namespaceURI;s===br.XMLNS&&delete t._nsMap[r.prefix?r.localName:""]}function Es(e,t,r){if(e&&e._inc){e._inc++;var i=t.childNodes;if(r)i[i.length++]=r;else{for(var s=t.firstChild,c=0;s;)i[c++]=s,s=s.nextSibling;i.length=c,delete i[i.length]}}}function cu(e,t){var r=t.previousSibling,i=t.nextSibling;return r?r.nextSibling=i:e.firstChild=i,i?i.previousSibling=r:e.lastChild=r,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,Es(e.ownerDocument,e),t}function gp(e){return e&&(e.nodeType===Re.DOCUMENT_NODE||e.nodeType===Re.DOCUMENT_FRAGMENT_NODE||e.nodeType===Re.ELEMENT_NODE)}function mp(e){return e&&(It(e)||Fs(e)||tn(e)||e.nodeType===Re.DOCUMENT_FRAGMENT_NODE||e.nodeType===Re.COMMENT_NODE||e.nodeType===Re.PROCESSING_INSTRUCTION_NODE)}function tn(e){return e&&e.nodeType===Re.DOCUMENT_TYPE_NODE}function It(e){return e&&e.nodeType===Re.ELEMENT_NODE}function Fs(e){return e&&e.nodeType===Re.TEXT_NODE}function vc(e,t){var r=e.childNodes||[];if(Rt(r,It)||tn(t))return!1;var i=Rt(r,tn);return!(t&&i&&r.indexOf(i)>r.indexOf(t))}function xc(e,t){var r=e.childNodes||[];function i(c){return It(c)&&c!==t}if(Rt(r,i))return!1;var s=Rt(r,tn);return!(t&&s&&r.indexOf(s)>r.indexOf(t))}function yp(e,t,r){if(!gp(e))throw new Xe(ut,"Unexpected parent node type "+e.nodeType);if(r&&r.parentNode!==e)throw new Xe(ru,"child not in parent");if(!mp(t)||tn(t)&&e.nodeType!==Re.DOCUMENT_NODE)throw new Xe(ut,"Unexpected node type "+t.nodeType+" for parent node type "+e.nodeType)}function bp(e,t,r){var i=e.childNodes||[],s=t.childNodes||[];
vendor: 5,117 bytes, line 208
208if(t.nodeType===Re.DOCUMENT_FRAGMENT_NODE){var c=s.filter(It);if(c.length>1||Rt(s,Fs))throw new Xe(ut,"More than one element or text in fragment");if(c.length===1&&!vc(e,r))throw new Xe(ut,"Element in fragment can not be inserted before doctype")}if(It(t)&&!vc(e,r))throw new Xe(ut,"Only one element can be added and only after doctype");if(tn(t)){if(Rt(i,tn))throw new Xe(ut,"Only one doctype is allowed");var o=Rt(i,It);if(r&&i.indexOf(o)<i.indexOf(r))throw new Xe(ut,"Doctype can only be inserted before an element");if(!r&&o)throw new Xe(ut,"Doctype can not be appended since element is present")}}function lu(e,t,r){var i=e.childNodes||[],s=t.childNodes||[];if(t.nodeType===Re.DOCUMENT_FRAGMENT_NODE){var c=s.filter(It);if(c.length>1||Rt(s,Fs))throw new Xe(ut,"More than one element or text in fragment");if(c.length===1&&!xc(e,r))throw new Xe(ut,"Element in fragment can not be inserted before doctype")}if(It(t)&&!xc(e,r))throw new Xe(ut,"Only one element can be added and only after doctype");if(tn(t)){if(Rt(i,function(l){return tn(l)&&l!==r}))throw new Xe(ut,"Only one doctype is allowed");var o=Rt(i,It);if(r&&i.indexOf(o)<i.indexOf(r))throw new Xe(ut,"Doctype can only be inserted before an element")}}function Gr(e,t,r,i){yp(e,t,r),e.nodeType===Re.DOCUMENT_NODE&&(i||bp)(e,t,r);var s=t.parentNode;if(s&&s.removeChild(t),t.nodeType===en){var c=t.firstChild;if(c==null)return t;var o=t.lastChild}else c=o=t;var a=r?r.previousSibling:e.lastChild;c.previousSibling=a,o.nextSibling=r,a?a.nextSibling=c:e.firstChild=c,r==null?e.lastChild=o:r.previousSibling=o;do{c.parentNode=e;var l=e.ownerDocument||e;xr(c,l)}while(c!==o&&(c=c.nextSibling));return Es(e.ownerDocument||e,e),t.nodeType==en&&(t.firstChild=t.lastChild=null),t}function xr(e,t){if(e.ownerDocument!==t){if(e.ownerDocument=t,e.nodeType===Ct&&e.attributes)for(var r=0;r<e.attributes.length;r++){var i=e.attributes.item(r);i&&(i.ownerDocument=t)}for(var s=e.firstChild;s;)xr(s,t),s=s.nextSibling}}function vp(e,t){t.parentNode&&t.parentNode.removeChild(t),t.parentNode=e,t.previousSibling=e.lastChild,t.nextSibling=null,t.previousSibling?t.previousSibling.nextSibling=t:e.firstChild=t,e.lastChild=t,Es(e.ownerDocument,e,t);var r=e.ownerDocument||e;return xr(t,r),t}Cr.prototype={nodeName:"#document",nodeType:tu,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==en){for(var r=e.firstChild;r;){var i=r.nextSibling;this.insertBefore(r,t),r=i}return e}return Gr(this,e,t),xr(e,this),this.documentElement===null&&e.nodeType===Ct&&(this.documentElement=e),e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),cu(this,e)},replaceChild:function(e,t){Gr(this,e,t,lu),xr(e,this),t&&this.removeChild(t),It(e)&&(this.documentElement=e)},importNode:function(e,t){return pu(this,e,t)},getElementById:function(e){var t=null;return vr(this.documentElement,function(r){if(r.nodeType==Ct&&r.getAttribute("id")==e)return t=r,!0}),t},getElementsByClassName:function(e){var t=gc(e);return new $n(this,function(r){var i=[];return t.length>0&&vr(r.documentElement,function(s){if(s!==r&&s.nodeType===Ct){var c=s.getAttribute("class");if(c){var o=e===c;if(!o){var a=gc(c);o=t.every(up(a))}o&&i.push(s)}}}),i})},createElement:function(e){var t=new _n;t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new Qt;var r=t.attributes=new Jr;return r._ownerElement=t,t},createDocumentFragment:function(){var e=new si;return e.ownerDocument=this,e.childNodes=new Qt,e},createTextNode:function(e){var t=new js;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new As;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){if(e.indexOf("]]>")!==-1)throw new Xe(fp,'data contains "]]>"');var t=new zs;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var r=new Ss;return r.ownerDocument=this,r.tagName=r.nodeName=r.target=e,r.nodeValue=r.data=t,r},createAttribute:function(e){var t=new Zr;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new Ns;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var r=new _n,i=t.split(":"),s=r.attributes=new Jr;return r.childNodes=new Qt,r.ownerDocument=this,r.nodeName=t,r.tagName=t,r.namespaceURI=e,i.length==2?(r.prefix=i[0],r.localName=i[1]):r.localName=t,s._ownerElement=r,r},createAttributeNS:function(e,t){var r=new Zr,i=t.split(":");return r.ownerDocument=this,r.nodeName=t,r.name=t,r.namespaceURI=e,r.specified=!0,i.length==2?(r.prefix=i[0],r.localName=i[1]):r.localName=t,r}};ft(Cr,Re);function _n(){this._nsMap={}}_n.prototype={nodeType:Ct,hasAttribute:function(e){return this.getAttributeNode(e)!=null},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var r=this.ownerDocument.createAttribute(e);r.value=r.nodeValue=""+t,this.setAttributeNode(r)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)}
vendor: 4,702 bytes, line 208
208,appendChild:function(e){return e.nodeType===en?this.insertBefore(e,null):vp(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var r=this.getAttributeNodeNS(e,t);r&&this.removeAttributeNode(r)},hasAttributeNS:function(e,t){return this.getAttributeNodeNS(e,t)!=null},getAttributeNS:function(e,t){var r=this.getAttributeNodeNS(e,t);return r&&r.value||""},setAttributeNS:function(e,t,r){var i=this.ownerDocument.createAttributeNS(e,t);i.value=i.nodeValue=""+r,this.setAttributeNode(i)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new $n(this,function(t){var r=[];return vr(t,function(i){i!==t&&i.nodeType==Ct&&(e==="*"||i.tagName==e)&&r.push(i)}),r})},getElementsByTagNameNS:function(e,t){return new $n(this,function(r){var i=[];return vr(r,function(s){s!==r&&s.nodeType===Ct&&(e==="*"||s.namespaceURI===e)&&(t==="*"||s.localName==t)&&i.push(s)}),i})}};Cr.prototype.getElementsByTagName=_n.prototype.getElementsByTagName;Cr.prototype.getElementsByTagNameNS=_n.prototype.getElementsByTagNameNS;ft(_n,Re);function Zr(){}Zr.prototype.nodeType=Vn;ft(Zr,Re);function Er(){}Er.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw new Error(Ge[ut])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,r){var i=this.data.substring(0,e),s=this.data.substring(e+t);r=i+r+s,this.nodeValue=this.data=r,this.length=r.length}};ft(Er,Re);function js(){}js.prototype={nodeName:"#text",nodeType:Kr,splitText:function(e){var t=this.data,r=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var i=this.ownerDocument.createTextNode(r);return this.parentNode&&this.parentNode.insertBefore(i,this.nextSibling),i}};ft(js,Er);function As(){}As.prototype={nodeName:"#comment",nodeType:eu};ft(As,Er);function zs(){}zs.prototype={nodeName:"#cdata-section",nodeType:Zl};ft(zs,Er);function ai(){}ai.prototype.nodeType=nu;ft(ai,Re);function uu(){}uu.prototype.nodeType=hp;ft(uu,Re);function du(){}du.prototype.nodeType=dp;ft(du,Re);function Ns(){}Ns.prototype.nodeType=Ql;ft(Ns,Re);function si(){}si.prototype.nodeName="#document-fragment";si.prototype.nodeType=en;ft(si,Re);function Ss(){}Ss.prototype.nodeType=Yl;ft(Ss,Re);function hu(){}hu.prototype.serializeToString=function(e,t,r){return fu.call(e,t,r)};Re.prototype.toString=fu;function fu(e,t){var r=[],i=this.nodeType==9&&this.documentElement||this,s=i.prefix,c=i.namespaceURI;if(c&&s==null){var s=i.lookupPrefix(c);if(s==null)var o=[{namespace:c,prefix:null}]}return Bn(this,r,e,t,o),r.join("")}function Dc(e,t,r){var i=e.prefix||"",s=e.namespaceURI;if(!s||i==="xml"&&s===br.XML||s===br.XMLNS)return!1;for(var c=r.length;c--;){var o=r[c];if(o.prefix===i)return o.namespace!==s}return!0}function ja(e,t,r){e.push(" ",t,'="',r.replace(/[<>&"\t\n\r]/g,su),'"')}function Bn(e,t,r,i,s){if(s||(s=[]),i)if(e=i(e),e){if(typeof e=="string"){t.push(e);return}}else return;switch(e.nodeType){case Ct:var c=e.attributes,o=c.length,y=e.firstChild,a=e.tagName;r=br.isHTML(e.namespaceURI)||r;var l=a;if(!r&&!e.prefix&&e.namespaceURI){for(var f,m=0;m<c.length;m++)if(c.item(m).name==="xmlns"){f=c.item(m).value;break}if(!f)for(var b=s.length-1;b>=0;b--){var x=s[b];if(x.prefix===""&&x.namespace===e.namespaceURI){f=x.namespace;break}}if(f!==e.namespaceURI)for(var b=s.length-1;b>=0;b--){var x=s[b];if(x.namespace===e.namespaceURI){x.prefix&&(l=x.prefix+":"+a);break}}}t.push("<",l);for(var p=0;p<o;p++){var v=c.item(p);v.prefix=="xmlns"?s.push({prefix:v.localName,namespace:v.value}):v.nodeName=="xmlns"&&s.push({prefix:"",namespace:v.value})}for(var p=0;p<o;p++){var v=c.item(p);if(Dc(v,r,s)){var u=v.prefix||"",d=v.namespaceURI;ja(t,u?"xmlns:"+u:"xmlns",d),s.push({prefix:u,namespace:d})}Bn(v,t,r,i,s)}if(a===l&&Dc(e,r,s)){var u=e.prefix||"",d=e.namespaceURI;ja(t,u?"xmlns:"+u:"xmlns",d),s.push({prefix:u,namespace:d})}if(y||r&&!/^(?:meta|link|img|br|hr|input)$/i.test(a)){if(t.push(">"),r&&/^script$/i.test(a))for(;y;)y.data?t.push(y.data):Bn(y,t,r,i,s.slice()),y=y.nextSibling;else for(;y;)Bn(y,t,r,i,s.slice()),y=y.nextSibling;t.push("</",l,">")}else t.push("/>");return;case tu:case en:for(var y=e.firstChild;y;)Bn(y,t,r,i,s.slice()),y=y.nextSibling;return;case Vn:return ja(t,e.name,e.value);case Kr:return t.push(e.data.replace(/[<&>]/g,su));
vendor: 2,080 bytes, line 208
208case Zl:return t.push("<![CDATA[",e.data.replace(/]]>/g,"]]]]><![CDATA[>"),"]]>");case eu:return t.push("<!--",e.data,"-->");case nu:var h=e.publicId,g=e.systemId;if(t.push("<!DOCTYPE ",e.name),h)t.push(" PUBLIC ",h),g&&g!="."&&t.push(" ",g),t.push(">");else if(g&&g!=".")t.push(" SYSTEM ",g,">");else{var k=e.internalSubset;k&&t.push(" [",k,"]"),t.push(">")}return;case Yl:return t.push("<?",e.target," ",e.data,"?>");case Ql:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function pu(e,t,r){var i;switch(t.nodeType){case Ct:i=t.cloneNode(!1),i.ownerDocument=e;case en:break;case Vn:r=!0;break}if(i||(i=t.cloneNode(!1)),i.ownerDocument=e,i.parentNode=null,r)for(var s=t.firstChild;s;)i.appendChild(pu(e,s,r)),s=s.nextSibling;return i}function hs(e,t,r){var i=new t.constructor;for(var s in t)if(Object.prototype.hasOwnProperty.call(t,s)){var c=t[s];typeof c!="object"&&c!=i[s]&&(i[s]=c)}switch(t.childNodes&&(i.childNodes=new Qt),i.ownerDocument=e,i.nodeType){case Ct:var o=t.attributes,a=i.attributes=new Jr,l=o.length;a._ownerElement=i;for(var f=0;f<l;f++)i.setAttributeNode(hs(e,o.item(f),!0));break;case Vn:r=!0}if(r)for(var m=t.firstChild;m;)i.appendChild(hs(e,m,r)),m=m.nextSibling;return i}function gu(e,t,r){e[t]=r}try{if(Object.defineProperty){let e=function(t){switch(t.nodeType){case Ct:case en:var r=[];for(t=t.firstChild;t;)t.nodeType!==7&&t.nodeType!==8&&r.push(e(t)),t=t.nextSibling;return r.join("");default:return t.nodeValue}};Object.defineProperty($n.prototype,"length",{get:function(){return Cs(this),this.$$length}}),Object.defineProperty(Re.prototype,"textContent",{get:function(){return e(this)},set:function(t){switch(this.nodeType){case Ct:case en:for(;this.firstChild;)this.removeChild(this.firstChild);(t||String(t))&&this.appendChild(this.ownerDocument.createTextNode(t));break;default:this.data=t,this.value=t,this.nodeValue=t}}}),gu=function(t,r,i){t["$$"+r]=i}}}catch{}Mt.DocumentType=ai;Mt.DOMException=Xe;Mt.DOMImplementation=au;Mt.Element=_n;Mt.Node=Re;Mt.NodeList=Qt;Mt.XMLSerializer=hu;var oi={},mu={};(function(e){var t=rn
vendor: 14,900 bytes, line 208
208.freeze;e.XML_ENTITIES=t({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),e.HTML_ENTITIES=t({Aacute:"Ã",aacute:"á",Abreve:"Ä",abreve:"Ä",ac:"â¾",acd:"â¿",acE:"â¾Ì³",Acirc:"Ã",acirc:"â",acute:"´",Acy:"Ð",acy:"а",AElig:"Ã",aelig:"æ",af:"â¡",Afr:"ð",afr:"ð",Agrave:"Ã",agrave:"à ",alefsym:"âµ",aleph:"âµ",Alpha:"Î",alpha:"α",Amacr:"Ä",amacr:"Ä",amalg:"⨿",AMP:"&",amp:"&",And:"â©",and:"â§",andand:"â©",andd:"â©",andslope:"â©",andv:"â©",ang:"â ",ange:"⦤",angle:"â ",angmsd:"â¡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"â¦",angmsdag:"⦮",angmsdah:"⦯",angrt:"â",angrtvb:"â¾",angrtvbd:"â¦",angsph:"â¢",angst:"Ã
",angzarr:"â¼",Aogon:"Ä",aogon:"Ä
",Aopf:"ð¸",aopf:"ð",ap:"â",apacir:"⩯",apE:"â©°",ape:"â",apid:"â",apos:"'",ApplyFunction:"â¡",approx:"â",approxeq:"â",Aring:"Ã
",aring:"Ã¥",Ascr:"ð",ascr:"ð¶",Assign:"â",ast:"*",asymp:"â",asympeq:"â",Atilde:"Ã",atilde:"ã",Auml:"Ã",auml:"ä",awconint:"â³",awint:"â¨",backcong:"â",backepsilon:"϶",backprime:"âµ",backsim:"â½",backsimeq:"â",Backslash:"â",Barv:"â«§",barvee:"â½",Barwed:"â",barwed:"â
",barwedge:"â
",bbrk:"âµ",bbrktbrk:"â¶",bcong:"â",Bcy:"Ð",bcy:"б",bdquo:"â",becaus:"âµ",Because:"âµ",because:"âµ",bemptyv:"⦰",bepsi:"϶",bernou:"â¬",Bernoullis:"â¬",Beta:"Î",beta:"β",beth:"â¶",between:"â¬",Bfr:"ð
",bfr:"ð",bigcap:"â",bigcirc:"â¯",bigcup:"â",bigodot:"â¨",bigoplus:"â¨",bigotimes:"â¨",bigsqcup:"â¨",bigstar:"â
",bigtriangledown:"â½",bigtriangleup:"â³",biguplus:"â¨",bigvee:"â",bigwedge:"â",bkarow:"â¤",blacklozenge:"â§«",blacksquare:"âª",blacktriangle:"â´",blacktriangledown:"â¾",blacktriangleleft:"â",blacktriangleright:"â¸",blank:"â£",blk12:"â",blk14:"â",blk34:"â",block:"â",bne:"=â¥",bnequiv:"â¡â¥",bNot:"â«",bnot:"â",Bopf:"ð¹",bopf:"ð",bot:"â¥",bottom:"â¥",bowtie:"â",boxbox:"â§",boxDL:"â",boxDl:"â",boxdL:"â",boxdl:"â",boxDR:"â",boxDr:"â",boxdR:"â",boxdr:"â",boxH:"â",boxh:"â",boxHD:"â¦",boxHd:"â¤",boxhD:"â¥",boxhd:"â¬",boxHU:"â©",boxHu:"â§",boxhU:"â¨",boxhu:"â´",boxminus:"â",boxplus:"â",boxtimes:"â ",boxUL:"â",boxUl:"â",boxuL:"â",boxul:"â",boxUR:"â",boxUr:"â",boxuR:"â",boxur:"â",boxV:"â",boxv:"â",boxVH:"â¬",boxVh:"â«",boxvH:"âª",boxvh:"â¼",boxVL:"â£",boxVl:"â¢",boxvL:"â¡",boxvl:"â¤",boxVR:"â ",boxVr:"â",boxvR:"â",boxvr:"â",bprime:"âµ",Breve:"Ë",breve:"Ë",brvbar:"¦",Bscr:"â¬",bscr:"ð·",bsemi:"â",bsim:"â½",bsime:"â",bsol:"\\",bsolb:"â§
",bsolhsub:"â",bull:"â¢",bullet:"â¢",bump:"â",bumpE:"⪮",bumpe:"â",Bumpeq:"â",bumpeq:"â",Cacute:"Ä",cacute:"Ä",Cap:"â",cap:"â©",capand:"â©",capbrcup:"â©",capcap:"â©",capcup:"â©",capdot:"â©",CapitalDifferentialD:"â
",caps:"â©ï¸",caret:"â",caron:"Ë",Cayleys:"â",ccaps:"â©",Ccaron:"Ä",ccaron:"Ä",Ccedil:"Ã",ccedil:"ç",Ccirc:"Ä",ccirc:"Ä",Cconint:"â°",ccups:"â©",ccupssm:"â©",Cdot:"Ä",cdot:"Ä",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"â",cfr:"ð ",CHcy:"Ч",chcy:"Ñ",check:"â",checkmark:"â",Chi:"Χ",chi:"Ï",cir:"â",circ:"Ë",circeq:"â",circlearrowleft:"âº",circlearrowright:"â»",circledast:"â",circledcirc:"â",circleddash:"â",CircleDot:"â",circledR:"®",circledS:"â",CircleMinus:"â",CirclePlus:"â",CircleTimes:"â",cirE:"â§",cire:"â",cirfnint:"â¨",cirmid:"⫯",cirscir:"â§",ClockwiseContourIntegral:"â²",CloseCurlyDoubleQuote:"â",CloseCurlyQuote:"â",clubs:"â£",clubsuit:"â£",Colon:"â·",colon:":",Colone:"â©´",colone:"â",coloneq:"â",comma:",",commat:"@",comp:"â",compfn:"â",complement:"â",complexes:"â",cong:"â
",congdot:"â©",Congruent:"â¡",Conint:"â¯",conint:"â®",ContourIntegral:"â®",Copf:"â",copf:"ð",coprod:"â",Coproduct:"â",COPY:"©",copy:"©",copysr:"â",CounterClockwiseContourIntegral:"â³",crarr:"âµ",Cross:"⨯",cross:"â",Cscr:"ð",cscr:"ð¸",csub:"â«",csube:"â«",csup:"â«",csupe:"â«",ctdot:"â¯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"â",cuesc:"â",cularr:"â¶",cularrp:"⤽",Cup:"â",cup:"âª",cupbrcap:"â©",CupCap:"â",cupcap:"â©",cupcup:"â©",cupdot:"â",cupor:"â©
",cups:"âªï¸",curarr:"â·",curarrm:"⤼",curlyeqprec:"â",curlyeqsucc:"â",curlyvee:"â",curlywedge:"â",curren:"¤",curvearrowleft:"â¶",curvearrowright:"â·",cuvee:"â",cuwed:"â",cwconint:"â²",cwint:"â±",cylcty:"â",Dagger:"â¡",dagger:"â ",daleth:"â¸",Darr:"â¡",dArr:"â",darr:"â",dash:"â",Dashv:"⫤",dashv:"â£",dbkarow:"â¤",dblac:"Ë",Dcaron:"Ä",dcaron:"Ä",Dcy:"Ð",dcy:"д",DD:"â
",dd:"â
",ddagger:"â¡",ddarr:"â",DDotrahd:"â¤",ddotseq:"â©·",deg:"°",Del:"â",Delta:"Î",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"ð",dfr:"ð¡",dHar:"⥥",dharl:"â",dharr:"â",DiacriticalAcute:"´",DiacriticalDot:"Ë",DiacriticalDoubleAcute:"Ë",DiacriticalGrave:"`",DiacriticalTilde:"Ë",diam:"â",Diamond:"â",diamond:"â",diamondsuit:"â¦",diams:"â¦",die:"¨",DifferentialD:"â
",digamma:"Ï",disin:"â²",div:"÷",divide:"÷",divideontimes:"â",divonx:"â",DJcy:"Ð",djcy:"Ñ",dlcorn:"â",dlcrop:"â",dollar:"$",Dopf:"ð»",dopf:"ð",Dot:"¨",dot:"Ë",DotDot:"â",doteq:"â",doteqdot:"â",DotEqual:"â",dotminus:"â¸",dotplus:"â",dotsquare:"â¡",doublebarwedge:"â",DoubleContourIntegral:"â¯",DoubleDot:"¨",DoubleDownArrow:"â",DoubleLeftArrow:"â",DoubleLeftRightArrow:"â",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"â¸",DoubleLongLeftRightArrow:"âº",DoubleLongRightArrow:"â¹",DoubleRightArrow:"â",DoubleRightTee:"â¨",DoubleUpArrow:"â",DoubleUpDownArrow:"â",DoubleVerticalBar:"â¥",DownArrow:"â",Downarrow:"â",downarrow:"â",DownArrowBar:"â¤",DownArrowUpArrow:"âµ",DownBreve:"Ì",downdownarrows:"â",downharpoonleft:"â",downharpoonright:"â",DownLeftRightVector:"â¥",DownLeftTeeVector:"â¥",DownLeftVector:"â½",DownLeftVectorBar:"â¥",DownRightTeeVector:"â¥",DownRightVector:"â",DownRightVectorBar:"â¥",DownTee:"â¤",DownTeeArrow:"â§",drbkarow:"â¤",drcorn:"â",drcrop:"â",Dscr:"ð",dscr:"ð¹",DScy:"Ð
",dscy:"Ñ",dsol:"â§¶",Dstrok:"Ä",dstrok:"Ä",dtdot:"â±",dtri:"â¿",dtrif:"â¾",duarr:"âµ",duhar:"⥯",dwangle:"⦦",DZcy:"Ð",dzcy:"Ñ",dzigrarr:"â¿",Eacute:"Ã",eacute:"é",easter:"â©®",Ecaron:"Ä",ecaron:"Ä",ecir:"â",Ecirc:"Ã",ecirc:"ê",ecolon:"â",Ecy:"Ð",ecy:"Ñ",eDDot:"â©·",Edot:"Ä",eDot:"â",edot:"Ä",ee:"â
",efDot:"â",Efr:"ð",efr:"ð¢",eg:"âª",Egrave:"Ã",egrave:"è",egs:"âª",egsdot:"âª",el:"âª",Element:"â",elinters:"â§",ell:"â",els:"âª",elsdot:"âª",Emacr:"Ä",emacr:"Ä",empty:"â
",emptyset:"â
",EmptySmallSquare:"â»",emptyv:"â
",EmptyVerySmallSquare:"â«",emsp:"â",emsp13:"â",emsp14:"â
",ENG:"Å",eng:"Å",ensp:"â",Eogon:"Ä",eogon:"Ä",Eopf:"ð¼",eopf:"ð",epar:"â",eparsl:"â§£",eplus:"⩱",epsi:"ε",Epsilon:"Î",epsilon:"ε",epsiv:"ϵ",eqcirc:"â",eqcolon:"â",eqsim:"â",eqslantgtr:"âª",eqslantless:"âª",Equal:"⩵",equals:"=",EqualTilde:"â",equest:"â",Equilibrium:"â",equiv:"â¡",equivDD:"⩸",eqvparsl:"â§¥",erarr:"⥱",erDot:"â",Escr:"â°",escr:"â¯",esdot:"â",Esim:"⩳",esim:"â",Eta:"Î",eta:"η",ETH:"Ã",eth:"ð",Euml:"Ã",euml:"ë",euro:"â¬",excl:"!",exist:"â",Exists:"â",expectation:"â°",ExponentialE:"â
",exponentiale:"â
",fallingdotseq:"â",Fcy:"Ф",fcy:"Ñ",female:"â",ffilig:"ï¬",fflig:"ï¬",ffllig:"ï¬",Ffr:"ð",ffr:"ð£",filig:"ï¬",FilledSmallSquare:"â¼",FilledVerySmallSquare:"âª",fjlig:"fj",flat:"â",fllig:"ï¬",fltns:"â±",fnof:"Æ",Fopf:"ð½",fopf:"ð",ForAll:"â",forall:"â",fork:"â",forkv:"â«",Fouriertrf:"â±",fpartint:"â¨",frac12:"½",frac13:"â
",frac14:"¼",frac15:"â
",frac16:"â
",frac18:"â
",frac23:"â
",frac25:"â
",frac34:"¾",frac35:"â
",frac38:"â
",frac45:"â
",frac56:"â
",frac58:"â
",frac78:"â
",frasl:"â",frown:"â¢",Fscr:"â±",fscr:"ð»",gacute:"ǵ",Gamma:"Î",gamma:"γ",Gammad:"Ï",gammad:"Ï",gap:"âª",Gbreve:"Ä",gbreve:"Ä",Gcedil:"Ä¢",Gcirc:"Ä",gcirc:"Ä",Gcy:"Ð",gcy:"г",Gdot:"Ä ",gdot:"Ä¡",gE:"â§",ge:"â¥",gEl:"âª",gel:"â",geq:"â¥",geqq:"â§",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"âª",gesdoto:"âª",gesdotol:"âª",gesl:"âï¸",gesles:"âª",Gfr:"ð",gfr:"ð¤",Gg:"â",gg:"â«",ggg:"â",gimel:"â·",GJcy:"Ð",gjcy:"Ñ",gl:"â·",gla:"⪥",glE:"âª",glj:"⪤",gnap:"âª",gnapprox:"âª",gnE:"â©",gne:"âª",gneq:"âª",gneqq:"â©",gnsim:"â§",Gopf:"ð¾",gopf:"ð",grave:"`",GreaterEqual:"â¥",GreaterEqualLess:"â",GreaterFullEqual:"â§",GreaterGreater:"⪢",GreaterLess:"â·",GreaterSlantEqual:"⩾",GreaterTilde:"â³",Gscr:"ð¢",gscr:"â",gsim:"â³",gsime:"âª",gsiml:"âª",Gt:"â«",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"â",gtlPar:"â¦",gtquest:"⩼",gtrapprox:"âª",gtrarr:"⥸",gtrdot:"â",gtreqless:"â",gtreqqless:"âª",gtrless:"â·",gtrsim:"â³",gvertneqq:"â©ï¸",gvnE:"â©ï¸",Hacek:"Ë",hairsp:"â",half:"½",hamilt:"â",HARDcy:"Ъ",hardcy:"Ñ",hArr:"â",harr:"â",harrcir:"â¥",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",Im:"â",Imacr:"Ī",imacr:"Ä«",image:"â",ImaginaryI:"â
",imagline:"â",imagpart:"â",imath:"ı",imof:"â·",imped:"Ƶ",Implies:"â",in:"â",incare:"â
",infin:"â",infintie:"â§",inodot:"ı",Int:"â¬",int:"â«",intcal:"âº",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:"«",Larr:"â",lArr:"â",larr:"â",larrb:"â¤",larrbfs:"â¤",larrfs:"â¤",larrhk:"â©",larrlp:"â«",larrpl:"⤹",larrsim:"⥳",larrtl:"â¢",lat:"⪫",lAtail:"â¤",latail:"â¤",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:"â¨",LeftArrow:"â",Leftarrow:"â",leftarrow:"â",LeftArrowBar:"â¤",LeftArrowRightArrow:"â",leftarrowtail:"â¢",LeftCeiling:"â",LeftDoubleBracket:"â¦",LeftDownTeeVector:"⥡",LeftDownVector:"â",LeftDownVectorBar:"â¥",LeftFloor:"â",leftharpoondown:"â½",leftharpoonup:"â¼",leftleftarrows:"â",LeftRightArrow:"â",Leftrightarrow:"â",leftrightarrow:"â",leftrightarrows:"â",leftrightharpoons:"â",leftrightsquigarrow:"â",LeftRightVector:"â¥",LeftTee:"â£",LeftTeeArrow:"â¤",LeftTeeVector:"â¥",leftthreetimes:"â",LeftTriangle:"â²",LeftTriangleBar:"â§",LeftTriangleEqual:"â´",LeftUpDownVector:"â¥",LeftUpTeeVector:"⥠",LeftUpVector:"â¿",LeftUpVectorBar:"â¥",LeftVector:"â¼",LeftVectorBar:"â¥",lEg:"âª",leg:"â",leq:"â¤",leqq:"â¦",leqslant:"⩽",les:"⩽",lescc:"⪨",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:"Ñ",Ll:"â",ll:"âª",llarr:"â",llcorner:"â",Lleftarrow:"â",llhard:"⥫",lltri:"âº",Lmidot:"Ä¿",lmidot:"Å",lmoust:"â°",lmoustache:"â°",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:"Å",Lt:"âª",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",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:"µ",mid:"â£",midast:"*",midcir:"â«°",middot:"·",minus:"â",minusb:"â",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:"Å",napprox:"â",natur:"â®",natural:"â®",naturals:"â",nbsp:" ",nbump:"â̸",nbumpe:"â̸",ncap:"â©",Ncaron:"Å",ncaron:"Å",Ncedil:"Å
",ncedil:"Å",ncong:"â",ncongdot:"â©Ì¸",ncup:"â©",Ncy:"Ð",ncy:"н",ndash:"â",ne:"â ",nearhk:"⤤",neArr:"â",nearr:"â",nearrow:"â",nedot:"â̸",NegativeMediumSpace:"â",NegativeThickSpace:"â",NegativeThinSpace:"â",NegativeVeryThinSpace:"â",nequiv:"â¢",nesear:"⤨",nesim:"â̸",NestedGreaterGreater:"â«",NestedLessLess:"âª",NewLine:
208` 209`
vendor: 9,925 bytes, line 209
209,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:"â¶",NotLeftTriangle:"âª",NotLeftTriangleBar:"â§Ì¸",NotLeftTriangleEqual:"â¬",NotLess:"â®",NotLessEqual:"â°",NotLessGreater:"â¸",NotLessLess:"âªÌ¸",NotLessSlantEqual:"⩽̸",NotLessTilde:"â´",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"â",notniva:"â",notnivb:"â¾",notnivc:"â½",NotPrecedes:"â",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"â ",NotReverseElement:"â",NotRightTriangle:"â«",NotRightTriangleBar:"â§Ì¸",NotRightTriangleEqual:"â",NotSquareSubset:"â̸",NotSquareSubsetEqual:"â¢",NotSquareSuperset:"â̸",NotSquareSupersetEqual:"â£",NotSubset:"ââ",NotSubsetEqual:"â",NotSucceeds:"â",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"â¡",NotSucceedsTilde:"â¿Ì¸",NotSuperset:"ââ",NotSupersetEqual:"â",NotTilde:"â",NotTildeEqual:"â",NotTildeFullEqual:"â",NotTildeTilde:"â",NotVerticalBar:"â¤",npar:"â¦",nparallel:"â¦",nparsl:"⫽â¥",npart:"â̸",npolint:"â¨",npr:"â",nprcue:"â ",npre:"⪯̸",nprec:"â",npreceq:"⪯̸",nrArr:"â",nrarr:"â",nrarrc:"⤳̸",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:"â",ocir:"â",Ocirc:"Ã",ocirc:"ô",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:"â",Or:"â©",or:"â¨",orarr:"â»",ord:"â©",order:"â´",orderof:"â´",ordf:"ª",ordm:"º",origof:"â¶",oror:"â©",orslope:"â©",orv:"â©",oS:"â",Oscr:"ðª",oscr:"â´",Oslash:"Ã",oslash:"ø",osol:"â",Otilde:"Ã",otilde:"õ",Otimes:"⨷",otimes:"â",otimesas:"⨶",Ouml:"Ã",ouml:"ö",ovbar:"â½",OverBar:"â¾",OverBrace:"â",OverBracket:"â´",OverParenthesis:"â",par:"â¥",para:"¶",parallel:"â¥",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:"â",plus:"+",plusacir:"⨣",plusb:"â",pluscir:"⨢",plusdo:"â",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"â",pointint:"â¨",Popf:"â",popf:"ð¡",pound:"£",Pr:"⪻",pr:"âº",prap:"⪷",prcue:"â¼",prE:"⪳",pre:"⪯",prec:"âº",precapprox:"⪷",preccurlyeq:"â¼",Precedes:"âº",PrecedesEqual:"⪯",PrecedesSlantEqual:"â¼",PrecedesTilde:"â¾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"â¨",precsim:"â¾",Prime:"â³",prime:"â²",primes:"â",prnap:"⪹",prnE:"⪵",prnsim:"â¨",prod:"â",Product:"â",profalar:"â®",profline:"â",profsurf:"â",prop:"â",Proportion:"â·",Proportional:"â",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:"»",Rarr:"â ",rArr:"â",rarr:"â",rarrap:"⥵",rarrb:"â¥",rarrbfs:"⤠",rarrc:"⤳",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:"â³",Re:"â",real:"â",realine:"â",realpart:"â",reals:"â",rect:"â",REG:"®",reg:"®",ReverseElement:"â",ReverseEquilibrium:"â",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"â",Rfr:"â",rfr:"ð¯",rHar:"⥤",rhard:"â",rharu:"â",rharul:"⥬",Rho:"Ρ",rho:"Ï",rhov:"ϱ",RightAngleBracket:"â©",RightArrow:"â",Rightarrow:"â",rightarrow:"â",RightArrowBar:"â¥",RightArrowLeftArrow:"â",rightarrowtail:"â£",RightCeiling:"â",RightDoubleBracket:"â§",RightDownTeeVector:"â¥",RightDownVector:"â",RightDownVectorBar:"â¥",RightFloor:"â",rightharpoondown:"â",rightharpoonup:"â",rightleftarrows:"â",rightleftharpoons:"â",rightrightarrows:"â",rightsquigarrow:"â",RightTee:"â¢",RightTeeArrow:"â¦",RightTeeVector:"â¥",rightthreetimes:"â",RightTriangle:"â³",RightTriangleBar:"â§",RightTriangleEqual:"âµ",RightUpDownVector:"â¥",RightUpTeeVector:"â¥",RightUpVector:"â¾",RightUpVectorBar:"â¥",RightVector:"â",RightVectorBar:"â¥",ring:"Ë",risingdotseq:"â",rlarr:"â",rlhar:"â",rlm:"â",rmoust:"â±",rmoustache:"â±",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:"â",Sc:"⪼",sc:"â»",scap:"⪸",Scaron:"Å ",scaron:"Å¡",sccue:"â½",scE:"⪴",sce:"⪰",Scedil:"Å",scedil:"Å",Scirc:"Å",scirc:"Å",scnap:"⪺",scnE:"⪶",scnsim:"â©",scpolint:"â¨",scsim:"â¿",Scy:"С",scy:"Ñ",sdot:"â
",sdotb:"â¡",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:"Ñ",sol:"/",solb:"â§",solbar:"â¿",Sopf:"ð",sopf:"ð¤",spades:"â ",spadesuit:"â ",spar:"â¥",sqcap:"â",sqcaps:"âï¸",sqcup:"â",sqcups:"âï¸",Sqrt:"â",sqsub:"â",sqsube:"â",sqsubset:"â",sqsubseteq:"â",sqsup:"â",sqsupe:"â",sqsupset:"â",sqsupseteq:"â",squ:"â¡",Square:"â¡",square:"â¡",SquareIntersection:"â",SquareSubset:"â",SquareSubsetEqual:"â",SquareSuperset:"â",SquareSupersetEqual:"â",SquareUnion:"â",squarf:"âª",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:"â«",succ:"â»",succapprox:"⪸",succcurlyeq:"â½",Succeeds:"â»",SucceedsEqual:"⪰",SucceedsSlantEqual:"â½",SucceedsTilde:"â¿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"â©",succsim:"â¿",SuchThat:"â",Sum:"â",sum:"â",sung:"âª",Sup:"â",sup:"â",sup1:"¹",sup2:"²",sup3:"³",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:"
209 ",target:"â",Tau:"Τ",tau:"Ï",tbrk:"â´",Tcaron:"Ť",tcaron:"Å¥",Tcedil:"Å¢",tcedil:"Å£",Tcy:"Т",tcy:"Ñ",tdot:"â",telrec:"â",Tfr:"ð",tfr:"ð±",there4:"â´",Therefore:"â´",therefore:"â´",Theta:"Î",theta:"θ",thetasym:"Ï",thetav:"Ï",thickapprox:"â",thicksim:"â¼",ThickSpace:"ââ",thinsp:"â",ThinSpace:"â",thkap:"â",thksim:"â¼",THORN:"Ã",thorn:"þ",Tilde:"â¼",tilde:"Ë",TildeEqual:"â",TildeFullEqual:"â
",TildeTilde:"â",times:"Ã",timesb:"â ",timesbar:"⨱",timesd:"⨰",tint:"â",toea:"⤨",top:"â¤",topbot:"â¶",topcir:"⫱",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:"ð¦",UpArrow:"â",Uparrow:"â",uparrow:"â",UpArrowBar:"â¤",UpArrowDownArrow:"â
",UpDownArrow:"â",Updownarrow:"â",updownarrow:"â",UpEquilibrium:"⥮",upharpoonleft:"â¿",upharpoonright:"â¾",uplus:"â",UpperLeftArrow:"â",UpperRightArrow:"â",Upsi:"Ï",upsi:"Ï
",upsih:"Ï",Upsilon:"Î¥",upsilon:"Ï
",UpTee:"â¥",UpTeeArrow:"â¥",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:"⫦",Vee:"â",vee:"â¨",veebar:"â»",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:"â"}),e.entityMap=e.HTML_ENTITIES})(mu);var Bs={},Dr=rn.NAMESPACE,fs=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,_c=new RegExp("[\\-\\.0-9"+fs.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),kc=new RegExp("^"+fs.source+_c.source+"*(?::"+fs.source+_c.source+"*)?$"),or=0,sn=1,Fn=2,cr=3,jn=4,An=5,lr=6,Ir=7;function Kn(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,Kn)}Kn.prototype=new Error;Kn.prototype.name=Kn.name;function yu(){}yu.prototype={parse:function(e,t,r){var i=this.domBuilder;i.startDocument(),bu(t,t={}),xp(e,t,r,i,this.errorHandler),i.endDocument()}};function xp(e,t,r,i,s){function c(U){if(U>65535){U-=65536;var A=55296+(U>>10),E=56320+(U&1023);return String.fromCharCode(A,E)}else return String.fromCharCode(U)}function o(U){var A=U.slice(1,-1);return Object.hasOwnProperty.call(r,A)?r[A]:A.charAt(0)==="#"?c(parseInt(A.substr(1).replace("x","0x"))):(s.error("entity n
vendor: 9,638 bytes, lines 209-212
209ot found:"+U),U)}function a(U){if(U>u){var A=e.substring(u,U).replace(/&#?\w+;/g,o);x&&l(u),i.characters(A,0,U-u),u=U}}function l(U,A){for(;U>=m&&(A=b.exec(e));)f=A.index,m=f+A[0].length,x.lineNumber++;x.columnNumber=U-f+1}for(var f=0,m=0,b=/.*(?:\r\n?|\n)|.*$/g,x=i.locator,p=[{currentNSMap:t}],v={},u=0;;){try{var d=e.indexOf("<",u);if(d<0){if(!e.substr(u).match(/^\s*$/)){var y=i.doc,h=y.createTextNode(e.substr(u));y.appendChild(h),i.currentElement=h}return}switch(d>u&&a(d),e.charAt(d+1)){case"/":var ae=e.indexOf(">",d+3),g=e.substring(d+2,ae).replace(/[ \t\n\r]+$/g,""),k=p.pop();ae<0?(g=e.substring(d+2).replace(/[\s<].*/,""),s.error("end tag name: "+g+" is not complete:"+k.tagName),ae=d+1+g.length):g.match(/\s</)&&(g=g.replace(/[\s<].*/,""),s.error("end tag name: "+g+" maybe not complete"),ae=d+1+g.length);var w=k.localNSMap,F=k.tagName==g,z=F||k.tagName&&k.tagName.toLowerCase()==g.toLowerCase();if(z){if(i.endElement(k.uri,k.localName,g),w)for(var S in w)Object.prototype.hasOwnProperty.call(w,S)&&i.endPrefixMapping(S);F||s.fatalError("end tag name: "+g+" is not match the current start tagName:"+k.tagName)}else p.push(k);ae++;break;case"?":x&&l(d),ae=Up(e,d,i);break;case"!":x&&l(d),ae=wp(e,d,i,s);break;default:x&&l(d);var I=new vu,K=p[p.length-1].currentNSMap,ae=Dp(e,d,I,K,o,s),j=I.length;if(!I.closed&&kp(e,ae,I.tagName,v)&&(I.closed=!0,r.nbsp||s.warning("unclosed xml attribute")),x&&j){for(var R=wc(x,{}),_=0;_<j;_++){var J=I[_];l(J.offset),J.locator=wc(x,{})}i.locator=R,Uc(I,i,K)&&p.push(I),i.locator=x}else Uc(I,i,K)&&p.push(I);Dr.isHTML(I.uri)&&!I.closed?ae=_p(e,ae,I.tagName,o,i):ae++}}catch(U){if(U instanceof Kn)throw U;s.error("element parse error: "+U),ae=-1}ae>u?u=ae:a(Math.max(d,u)+1)}}function wc(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function Dp(e,t,r,i,s,c){function o(x,p,v){r.attributeNames.hasOwnProperty(x)&&c.fatalError("Attribute "+x+" redefined"),r.addValue(x,p.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,s),v)}for(var a,l,f=++t,m=or;;){var b=e.charAt(f);switch(b){case"=":if(m===sn)a=e.slice(t,f),m=cr;else if(m===Fn)m=cr;else throw new Error("attribute equal must after attrName");break;case"'":case'"':if(m===cr||m===sn)if(m===sn&&(c.warning('attribute value must after "="'),a=e.slice(t,f)),t=f+1,f=e.indexOf(b,t),f>0)l=e.slice(t,f),o(a,l,t-1),m=An;else throw new Error("attribute value no end '"+b+"' match");else if(m==jn)l=e.slice(t,f),o(a,l,t),c.warning('attribute "'+a+'" missed start quot('+b+")!!"),t=f+1,m=An;else throw new Error('attribute value must after "="');break;case"/":switch(m){case or:r.setTagName(e.slice(t,f));case An:case lr:case Ir:m=Ir,r.closed=!0;case jn:case sn:break;case Fn:r.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return c.error("unexpected end of input"),m==or&&r.setTagName(e.slice(t,f)),f;case">":switch(m){case or:r.setTagName(e.slice(t,f));case An:case lr:case Ir:break;case jn:case sn:l=e.slice(t,f),l.slice(-1)==="/"&&(r.closed=!0,l=l.slice(0,-1));case Fn:m===Fn&&(l=a),m==jn?(c.warning('attribute "'+l+'" missed quot(")!'),o(a,l,t)):((!Dr.isHTML(i[""])||!l.match(/^(?:disabled|checked|selected)$/i))&&c.warning('attribute "'+l+'" missed value!! "'+l+'" instead!!'),o(l,l,t));break;case cr:throw new Error("attribute value missed!!")}return f;case"Â":b=" ";default:if(b<=" ")switch(m){case or:r.setTagName(e.slice(t,f)),m=lr;break;case sn:a=e.slice(t,f),m=Fn;break;case jn:var l=e.slice(t,f);c.warning('attribute "'+l+'" missed quot(")!!'),o(a,l,t);case An:m=lr;break}else switch(m){case Fn:r.tagName,(!Dr.isHTML(i[""])||!a.match(/^(?:disabled|checked|selected)$/i))&&c.warning('attribute "'+a+'" missed value!! "'+a+'" instead2!!'),o(a,a,t),t=f,m=sn;break;case An:c.warning('attribute space is required"'+a+'"!!');case lr:m=sn,t=f;break;case cr:m=jn,t=f;break;case Ir:throw new Error("elements closed character '/' and '>' must be connected to")}}f++}}function Uc(e,t,r){for(var i=e.tagName,s=null,b=e.length;b--;){var c=e[b],o=c.qName,a=c.value,x=o.indexOf(":");if(x>0)var l=c.prefix=o.slice(0,x),f=o.slice(x+1),m=l==="xmlns"&&f;else f=o,l=null,m=o==="xmlns"&&"";c.localName=f,m!==!1&&(s==null&&(s={},bu(r,r={})),r[m]=s[m]=a,c.uri=Dr.XMLNS,t.startPrefixMapping(m,a))}for(var b=e.length;b--;){c=e[b];var l=c.prefix;l&&(l==="xml"&&(c.uri=Dr.XML),l!=="xmlns"&&(c.uri=r[l||""]))}var x=i.indexOf(":");x>0?(l=e.prefix=i.slice(0,x),f=e.localName=i.slice(x+1)):(l=null,f=e.localName=i);var p=e.uri=r[l||""];if(t.startElement(p,f,i,e),e.closed){if(t.endElement(p,f,i),s)for(l in s)Object.prototype.hasOwnProperty.call(s,l)&&t.endPrefixMapping(l)}else return e.currentNSMap=r,e.localNSMap=s,!0}function _p(e,t,r,i,s){if(/^(?:script|textarea)$/i.test(r)){var c=e.indexOf("</"+r+">",t),o=e.substring(t+1,c);if(/[&<]/.test(o))return/^script$/i.test(r)?(s.characters(o,0,o.length),c):(o=o.replace(/&#?\w+;/g,i),s.characters(o,0,o.length),c)}return t+1}function kp(e,t,r,i){var s=i[r];return s==null&&(s=e.lastIndexOf("</"+r+">"),s<t&&(s=e.lastIndexOf("</"+r)),i[r]=s),s<t}function bu(e,t){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}function wp(e,t,r,i){var s=e.charAt(t+2);switch(s){case"-":if(e.charAt(t+3)==="-"){var c=e.indexOf("-->",t+4);return c>t?(r.comment(e,t+4,c-t-4),c+3):(i.error("Unclosed comment"),-1)}else return-1;default:if(e.substr(t+3,6)=="CDATA["){var c=e.indexOf("]]>",t+9);return r.startCDATA(),r.characters(e,t+9,c-t-9),r.endCDATA(),c+3}var o=Tp(e,t),a=o.length;if(a>1&&/!doctype/i.test(o[0][0])){var l=o[1][0],f=!1,m=!1;a>3&&(/^public$/i.test(o[2][0])?(f=o[3][0],m=a>4&&o[4][0]):/^system$/i.test(o[2][0])&&(m=o[3][0]));var b=o[a-1];return r.startDTD(l,f,m),r.endDTD(),b.index+b[0].length}}return-1}function Up(e,t,r){var i=e.indexOf("?>",t);if(i){var s=e.substring(t,i).match(/^<\?(\S*)\s*([\s\S]*?)$/);return s?(s[0].length,r.processingInstruction(s[1],s[2]),i+2):-1}return-1}function vu(){this.attributeNames={}}vu.prototype={setTagName:function(e){if(!kc.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,r){if(!kc.test(e))throw new Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:r}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}};function Tp(e,t){var r,i=[],s=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(s.lastIndex=t,s.exec(e);r=s.exec(e);)if(i.push(r),r[1])return i}Bs.XMLReader=yu;Bs.ParseError=Kn;var Cp=rn,Ep=Mt,Tc=mu,xu=Bs,Fp=Ep.DOMImplementation,Cc=Cp.NAMESPACE,jp=xu.ParseError,Ap=xu.XMLReader;function Du(e){return e.replace(/\r[\n\u0085]/g,` 210`).replace(/[\r\u0085\u2028]/g,` 211`)}function _u(e){this.options=e||{locator:{}}}_u.prototype.parseFromString=function(e,t){var r=this.options,i=new Ap,s=r.domBuilder||new Fr,c=r.errorHandler,o=r.locator,a=r.xmlns||{},l=/\/x?html?$/.test(t),f=l?Tc.HTML_ENTITIES:Tc.XML_ENTITIES;o&&s.setDocumentLocator(o),i.errorHandler=zp(c,s,o),i.domBuilder=r.domBuilder||s,l&&(a[""]=Cc.HTML),a.xml=a.xml||Cc.XML;var m=r.normalizeLineEndings||Du;return e&&typeof e=="string"?i.parse(m(e),a,f):i.errorHandler.error("invalid doc source"),s.doc};function zp(e,t,r){if(!e){if(t instanceof Fr)return t;e=t}var i={},s=e instanceof Function;r=r||{};function c(o){var a=e[o];!a&&s&&(a=e.length==2?function(l){e(o,l)}:e),i[o]=a&&function(l){a("[xmldom "+o+"] "+l+ps(r))}||function(){}}return c("warning"),c("error"),c("fatalError"),i}function Fr(){this.cdata=!1}function zn(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}Fr.prototype={startDocument:function(){this.doc=new Fp().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,r,i){var s=this.doc,c=s.createElementNS(e,r||t),o=i.length;Lr(this,c),this.currentElement=c,this.locator&&zn(this.locator,c);for(var a=0;a<o;a++){var e=i.getURI(a),l=i.getValue(a),r=i.getQName(a),f=s.createAttributeNS(e,r);this.locator&&zn(i.getLocator(a),f),f.value=f.nodeValue=l,c.setAttributeNode(f)}},endElement:function(e,t,r){var i=this.currentElement;i.tagName,this.currentElement=i.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var r=this.doc.createProcessingInstruction(e,t);this.locator&&zn(this.locator,r),Lr(this,r)},ignorableWhitespace:function(e,t,r){},characters:function(e,t,r){if(e=Ec.apply(this,arguments),e){if(this.cdata)var i=this.doc.createCDATASection(e);else var i=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(i):/^\s*$/.test(e)&&this.doc.appendChild(i),this.locator&&zn(this.locator,i)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)},comment:function(e,t,r){e=Ec.apply(this,arguments);var i=this.doc.createComment(e);this.locator&&zn(this.locator,i),Lr(this,i)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,r){var i=this.doc.implementation;if(i&&i.createDocumentType){var s=i.createDocumentType(e,t,r);this.locator&&zn(this.locator,s),Lr(this,s),this.doc.doctype=s}},warning:function(e){console.warn("[xmldom warning] "+e,ps(this.locator))},error:function(e){console.error("[xmldom error] "+e,ps(this.locator))},fatalError:function(e){throw new jp(e,this.locator)}};function ps(e){if(e)return` 212@`+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}function Ec(e,t,r){return typeof e=="string"?e.substr(t,r):e.length>
212=t+r||t?new java.lang.String(e,t,r)+"":e}"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(e){Fr.prototype[e]=function(){return null}});function Lr(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}oi.__DOMHandler=Fr;oi.normalizeLineEndings=Du;oi.DOMParser=_u;var ku=Mt;ii.DOMImplementation=ku.DOMImplementation;ii.XMLSerializer=ku.XMLSerializer;ii.DOMParser=oi.DOMParser;var Np=ii,Sp=Mt;function Bp(e){var t=null,r=new Np.DOMParser({errorHandler:function(s,c){t={level:s,message:c}}}),i=r.parseFromString(e);if(t===null)return i;throw new Error(t.level+": "+t.message)}Us.parseFromString=Bp;Us.Node=Sp.Node;var Aa=Ze,Fc=$e,wu=Us,Uu=Qn,Wp=Uu.Element;$l.readString=Op;var jc=wu.Node;function Op(e,t){t=t||{};try{var r=wu.parseFromString(e,"text/xml")}catch(o){return Aa.reject(o)}if(r.documentElement.tagName==="parsererror")return Aa.resolve(new Error(r.documentElement.textContent));function i(o){switch(o.nodeType){case jc.ELEMENT_NODE:return s(o);case jc.TEXT_NODE:return Uu.text(o.nodeValue)}}function s(o){var a=c(o),l=[];Fc.forEach(o.childNodes,function(m){var b=i(m);b&&l.push(b)});var f={};return Fc.forEach(o.attributes,function(m){f[c(m)]=m.value}),new Wp(a,f,l)}function c(o){if(o.namespaceURI){var a=t[o.namespaceURI],l;return a?l=a+":":l="{"+o.namespaceURI+"}",l+o.localName}else return o.localName}return Aa.resolve(i(r.documentElement))}var Tu={},gr={},$t={},Ac;function dn(){return Ac||(Ac=1,(function(){var e,t,r,i,s,c,o,a=[].slice,l={}.hasOwnProperty;e=function(){var f,m,b,x,p,v;if(v=arguments[0],p=2<=arguments.length?a.call(arguments,1):[],s(Object.assign))Object.assign.apply(null,arguments);else for(f=0,b=p.length;f<b;f++)if(x=p[f],x!=null)for(m in x)l.call(x,m)&&(v[m]=x[m]);return v},s=function(f){return!!f&&Object.prototype.toString.call(f)==="[object Function]"},c=function(f){var m;return!!f&&((m=typeof f)=="function"||m==="object")},r=function(f){return s(Array.isArray)?Array.isArray(f):Object.prototype.toString.call(f)==="[object Array]"},i=function(f){var m;if(r(f))return!f.length;for(m in f)if(l.call(f,m))return!1;return!0},o=function(f){var m,b;return c(f)&&(b=Object.getPrototypeOf(f))&&(m=b.constructor)&&typeof m=="function"&&m instanceof m&&Function.prototype.toString.call(m)===Function.prototype.toString.call(Object)},t=function(f){return s(f.valueOf)?f.valueOf():f},$t.assign=e,$t.isFunction=s,$t.isObject=c,$t.isArray=r,$t.isEmpty=i,$t.isPlainObject=o,$t.getValue=t}).call(Ee)),$t}var za={exports:{}},Na={exports:{}},Sa={exports:{}},Ba={exports:{}},zc;function Cu(){return zc||(zc=1,(function(){Ba.exports=function(){function e(t,r,i){if(this.options=t.options,this.stringify=t.stringify,this.parent=t,r==null)throw new Error("Missing attribute name. "+this.debugInfo(r));if(i==null)throw new Error("Missing attribute value. "+this.debugInfo(r));this.name=this.stringify.attName(r),this.value=this.stringify.attValue(i)}return e.prototype.clone=function(){return Object.create(this)},e.prototype.toString=function(t){return this.options.writer.set(t).attribute(this)},e.prototype.debugInfo=function(t){return t=t||this.name,t==null?"parent: <"+this.parent.name+">":"attribute: {"+t+"}, parent: <"+this.parent.name+">"},e}()}).call(Ee)),Ba.exports}var Nc;function ci(){return Nc||(Nc=1,(function(){var e,t,r,i,s,c,o=function(l,f){for(var m in f)a.call(f,m)&&(l[m]=f[m]);function b(){this.constructor=l}return b.prototype=f.prototype,l.prototype=new b,l.__super__=f.prototype,l},a={}.hasOwnProperty;c=dn(),s=c.isObject,i=c.isFunction,r=c.getValue,t=gt(),e=Cu(),Sa.exports=function(l){o(f,l);function f(m,b,x){if(f.__super__.constructor.call(this,m),b==null)throw new Error("Missing element name. "+this.debugInfo());this.name=this.stringify.eleName(b),this.attributes={},x!=null&&this.attribute(x),m.isDocument&&(this.isRoot=!0,this.documentObject=m,m.rootObject=this)}return f.prototype.clone=function(){var m,b,x,p;x=Object.create(this),x.isRoot&&(x.documentObject=null),x.attributes={},p=this.attributes;for(b in p)a.call(p,b)&&(m=p[b],x.attributes[b]=m.clone());
212return x.children=[],this.children.forEach(function(v){var u;return u=v.clone(),u.parent=x,x.children.push(u)}),x},f.prototype.attribute=function(m,b){var x,p;if(m!=null&&(m=r(m)),s(m))for(x in m)a.call(m,x)&&(p=m[x],this.attribute(x,p));else i(b)&&(b=b.apply()),(!this.options.skipNullAttributes||b!=null)&&(this.attributes[m]=new e(this,m,b));return this},f.prototype.removeAttribute=function(m){var b,x,p;if(m==null)throw new Error("Missing attribute name. "+this.debugInfo());if(m=r(m),Array.isArray(m))for(x=0,p=m.length;x<p;x++)b=m[x],delete this.attributes[b];else delete this.attributes[m];return this},f.prototype.toString=function(m){return this.options.writer.set(m).element(this)},f.prototype.att=function(m,b){return this.attribute(m,b)},f.prototype.a=function(m,b){return this.attribute(m,b)},f}(t)}).call(Ee)),Sa.exports}var Wa={exports:{}},Sc;function li(){return Sc||(Sc=1,(function(){var e,t=function(i,s){for(var c in s)r.call(s,c)&&(i[c]=s[c]);function o(){this.constructor=i}return o.prototype=s.prototype,i.prototype=new o,i.__super__=s.prototype,i},r={}.hasOwnProperty;e=gt(),Wa.exports=function(i){t(s,i);function s(c,o){if(s.__super__.constructor.call(this,c),o==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.text=this.stringify.cdata(o)}return s.prototype.clone=function(){return Object.create(this)},s.prototype.toString=function(c){return this.options.writer.set(c).cdata(this)},s}(e)}).call(Ee)),Wa.exports}var Oa={exports:{}},Bc;function ui(){return Bc||(Bc=1,(function(){var e,t=function(i,s){for(var c in s)r.call(s,c)&&(i[c]=s[c]);function o(){this.constructor=i}return o.prototype=s.prototype,i.prototype=new o,i.__super__=s.prototype,i},r={}.hasOwnProperty;e=gt(),Oa.exports=function(i){t(s,i);function s(c,o){if(s.__super__.constructor.call(this,c),o==null)throw new Error("Missing comment text. "+this.debugInfo());this.text=this.stringify.comment(o)}return s.prototype.clone=function(){return Object.create(this)},s.prototype.toString=function(c){return this.options.writer.set(c).comment(this)},s}(e)}).call(Ee)),Oa.exports}var Ra={exports:{}},Wc;function di(){return Wc||(Wc=1,(function(){var e,t,r=function(s,c){for(var o in c)i.call(c,o)&&(s[o]=c[o]);function a(){this.constructor=s}return a.prototype=c.prototype,s.prototype=new a,s.__super__=c.prototype,s},i={}.hasOwnProperty;t=dn().isObject,e=gt(),Ra.exports=function(s){r(c,s);function c(o,a,l,f){var m;c.__super__.constructor.call(this,o),t(a)&&(m=a,a=m.version,l=m.encoding,f=m.standalone),a||(a="1.0"),this.version=this.stringify.xmlVersion(a),l!=null&&(this.encoding=this.stringify.xmlEncoding(l)),f!=null&&(this.standalone=this.stringify.xmlStandalone(f))}return c.prototype.toString=function(o){return this.options.writer.set(o).declaration(this)},c}(e)}).call(Ee)),Ra.exports}var Ia={exports:{}},La={exports:{}},Oc;function hi(){return Oc||(Oc=1,(function(){var e,t=function(i,s){for(var c in s)r.call(s,c)&&(i[c]=s[c]);function o(){this.constructor=i}return o.prototype=s.prototype,i.prototype=new o,i.__super__=s.prototype,i},r={}.hasOwnProperty;e=gt(),La.exports=function(i){t(s,i);function s(c,o,a,l,f,m){if(s.__super__.constructor.call(this,c),o==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(a==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(o));if(!l)throw new Error("Missing DTD attribute type. "+this.debugInfo(o));if(!f)throw new Error("Missing DTD attribute default. "+this.debugInfo(o));if(f.indexOf("#")!==0&&(f="#"+f),!f.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(o));if(m&&!f.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(o));this.elementName=this.stringify.eleName(o),this.attributeName=this.stringify.attName(a),this.attributeType=this.stringify.dtdAttType(l),this.defaultValue=this.stringify.dtdAttDefault(m),this.defaultValueType=f}return s.prototype.toString=function(c){return this.options.writer.set(c).dtdAttList(this)},s}(e)}).call(Ee)),La.exports}var Ma={exports:{}},Rc;
212function fi(){return Rc||(Rc=1,(function(){var e,t,r=function(s,c){for(var o in c)i.call(c,o)&&(s[o]=c[o]);function a(){this.constructor=s}return a.prototype=c.prototype,s.prototype=new a,s.__super__=c.prototype,s},i={}.hasOwnProperty;t=dn().isObject,e=gt(),Ma.exports=function(s){r(c,s);function c(o,a,l,f){if(c.__super__.constructor.call(this,o),l==null)throw new Error("Missing DTD entity name. "+this.debugInfo(l));if(f==null)throw new Error("Missing DTD entity value. "+this.debugInfo(l));if(this.pe=!!a,this.name=this.stringify.eleName(l),!t(f))this.value=this.stringify.dtdEntityValue(f);else{if(!f.pubID&&!f.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(l));if(f.pubID&&!f.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(l));if(f.pubID!=null&&(this.pubID=this.stringify.dtdPubID(f.pubID)),f.sysID!=null&&(this.sysID=this.stringify.dtdSysID(f.sysID)),f.nData!=null&&(this.nData=this.stringify.dtdNData(f.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(l))}}return c.prototype.toString=function(o){return this.options.writer.set(o).dtdEntity(this)},c}(e)}).call(Ee)),Ma.exports}var qa={exports:{}},Ic;function pi(){return Ic||(Ic=1,(function(){var e,t=function(i,s){for(var c in s)r.call(s,c)&&(i[c]=s[c]);function o(){this.constructor=i}return o.prototype=s.prototype,i.prototype=new o,i.__super__=s.prototype,i},r={}.hasOwnProperty;e=gt(),qa.exports=function(i){t(s,i);function s(c,o,a){if(s.__super__.constructor.call(this,c),o==null)throw new Error("Missing DTD element name. "+this.debugInfo());a||(a="(#PCDATA)"),Array.isArray(a)&&(a="("+a.join(",")+")"),this.name=this.stringify.eleName(o),this.value=this.stringify.dtdElementValue(a)}return s.prototype.toString=function(c){return this.options.writer.set(c).dtdElement(this)},s}(e)}).call(Ee)),qa.exports}var Pa={exports:{}},Lc;function gi(){return Lc||(Lc=1,(function(){var e,t=function(i,s){for(var c in s)r.call(s,c)&&(i[c]=s[c]);function o(){this.constructor=i}return o.prototype=s.prototype,i.prototype=new o,i.__super__=s.prototype,i},r={}.hasOwnProperty;e=gt(),Pa.exports=function(i){t(s,i);function s(c,o,a){if(s.__super__.constructor.call(this,c),o==null)throw new Error("Missing DTD notation name. "+this.debugInfo(o));if(!a.pubID&&!a.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(o));this.name=this.stringify.eleName(o),a.pubID!=null&&(this.pubID=this.stringify.dtdPubID(a.pubID)),a.sysID!=null&&(this.sysID=this.stringify.dtdSysID(a.sysID))}return s.prototype.toString=function(c){return this.options.writer.set(c).dtdNotation(this)},s}(e)}).call(Ee)),Pa.exports}var Mc;function mi(){return Mc||(Mc=1,(function(){var e,t,r,i,s,c,o=function(l,f){for(var m in f)a.call(f,m)&&(l[m]=f[m]);function b(){this.constructor=l}return b.prototype=f.prototype,l.prototype=new b,l.__super__=f.prototype,l},a={}.hasOwnProperty;c=dn().isObject,s=gt(),e=hi(),r=fi(),t=pi(),i=gi(),Ia.exports=function(l){o(f,l);function f(m,b,x){var p,v;f.__super__.constructor.call(this,m),this.name="!DOCTYPE",this.documentObject=m,c(b)&&(p=b,b=p.pubID,x=p.sysID),x==null&&(v=[b,x],x=v[0],b=v[1]),b!=null&&(this.pubID=this.stringify.dtdPubID(b)),x!=null&&(this.sysID=this.stringify.dtdSysID(x))}return f.prototype.element=function(m,b){var x;return x=new t(this,m,b),this.children.push(x),this},f.prototype.attList=function(m,b,x,p,v){var u;return u=new e(this,m,b,x,p,v),this.children.push(u),this},f.prototype.entity=function(m,b){var x;return x=new r(this,!1,m,b),this.children.push(x),this},f.prototype.pEntity=function(m,b){var x;return x=new r(this,!0,m,b),this.children.push(x),this},f.prototype.notation=function(m,b){var x;return x=new i(this,m,b),this.children.push(x),this},f.prototype.toString=function(m){return this.options.writer.set(m).docType(this)},f.prototype.ele=function(m,b){return this.element(m,b)},f.prototype.att=function(m,b,x,p,v){return this.attList(m,b,x,p,v)},f.prototype.ent=function(m,b){return this.entity(m,b)},f.prototype.pent=function(m,b){return this.pEntity(m,b)},f.prototype.not=function(m,b){return this.notation(m,b)},f.prototype.up=function(){return this.root()||this.documentObject},f}(s)}).call(Ee)),Ia.exports}
212var Ha={exports:{}},qc;function yi(){return qc||(qc=1,(function(){var e,t=function(i,s){for(var c in s)r.call(s,c)&&(i[c]=s[c]);function o(){this.constructor=i}return o.prototype=s.prototype,i.prototype=new o,i.__super__=s.prototype,i},r={}.hasOwnProperty;e=gt(),Ha.exports=function(i){t(s,i);function s(c,o){if(s.__super__.constructor.call(this,c),o==null)throw new Error("Missing raw text. "+this.debugInfo());this.value=this.stringify.raw(o)}return s.prototype.clone=function(){return Object.create(this)},s.prototype.toString=function(c){return this.options.writer.set(c).raw(this)},s}(e)}).call(Ee)),Ha.exports}var Xa={exports:{}},Pc;function bi(){return Pc||(Pc=1,(function(){var e,t=function(i,s){for(var c in s)r.call(s,c)&&(i[c]=s[c]);function o(){this.constructor=i}return o.prototype=s.prototype,i.prototype=new o,i.__super__=s.prototype,i},r={}.hasOwnProperty;e=gt(),Xa.exports=function(i){t(s,i);function s(c,o){if(s.__super__.constructor.call(this,c),o==null)throw new Error("Missing element text. "+this.debugInfo());this.value=this.stringify.eleText(o)}return s.prototype.clone=function(){return Object.create(this)},s.prototype.toString=function(c){return this.options.writer.set(c).text(this)},s}(e)}).call(Ee)),Xa.exports}var Va={exports:{}},Hc;function vi(){return Hc||(Hc=1,(function(){var e,t=function(i,s){for(var c in s)r.call(s,c)&&(i[c]=s[c]);function o(){this.constructor=i}return o.prototype=s.prototype,i.prototype=new o,i.__super__=s.prototype,i},r={}.hasOwnProperty;e=gt(),Va.exports=function(i){t(s,i);function s(c,o,a){if(s.__super__.constructor.call(this,c),o==null)throw new Error("Missing instruction target. "+this.debugInfo());this.target=this.stringify.insTarget(o),a&&(this.value=this.stringify.insValue(a))}return s.prototype.clone=function(){return Object.create(this)},s.prototype.toString=function(c){return this.options.writer.set(c).processingInstruction(this)},s}(e)}).call(Ee)),Va.exports}var $a={exports:{}},Xc;function Ws(){return Xc||(Xc=1,(function(){var e,t=function(i,s){for(var c in s)r.call(s,c)&&(i[c]=s[c]);function o(){this.constructor=i}return o.prototype=s.prototype,i.prototype=new o,i.__super__=s.prototype,i},r={}.hasOwnProperty;e=gt(),$a.exports=function(i){t(s,i);function s(c){s.__super__.constructor.call(this,c),this.isDummy=!0}return s.prototype.clone=function(){return Object.create(this)},s.prototype.toString=function(c){return""},s}(e)}).call(Ee)),$a.exports}var Vc;function gt(){return Vc||(Vc=1,(function(){var e,t,r,i,s,c,o,a,l,f,m,b,x,p,v={}.hasOwnProperty;p=dn(),x=p.isObject,b=p.isFunction,m=p.isEmpty,f=p.getValue,c=null,e=null,t=null,r=null,i=null,a=null,l=null,o=null,s=null,Na.exports=function(){function u(d){this.parent=d,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.children=[],c||(c=ci(),e=li(),t=ui(),r=di(),i=mi(),a=yi(),l=bi(),o=vi(),s=Ws())}return u.prototype.element=function(d,y,h){var g,k,w,F,z,S,I,K,ae,j,R;if(S=null,y===null&&h==null&&(ae=[{},null],y=ae[0],h=ae[1]),y==null&&(y={}),y=f(y),x(y)||(j=[y,h],h=j[0],y=j[1]),d!=null&&(d=f(d)),Array.isArray(d))for(w=0,I=d.length;w<I;w++)k=d[w],S=this.element(k);else if(b(d))S=this.element(d.apply());else if(x(d)){for(z in d)if(v.call(d,z))if(R=d[z],b(R)&&(R=R.apply()),x(R)&&m(R)&&(R=null),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&z.indexOf(this.stringify.convertAttKey)===0)S=this.attribute(z.substr(this.stringify.convertAttKey.length),R);else if(!this.options.separateArrayItems&&Array.isArray(R))for(F=0,K=R.length;F<K;F++)k=R[F],g={},g[z]=k,S=this.element(g);else x(R)?(S=this.element(z),S.element(R)):S=this.element(z,R)}else this.options.skipNullNodes&&h===null?S=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&d.indexOf(this.stringify.convertTextKey)===0?S=this.text(h):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&d.indexOf(this.stringify.convertCDataKey)===0?S=this.cdata(h):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&d.indexOf(this.stringify.convertCommentKey)===0?S=this.comment(h):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&d.indexOf(this.stringify.convertRawKey)===0?S=this.raw(h):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&d.indexOf(this.stringify.convertPIKey)===0?S=this.instruction(d.substr(this.stringify.convertPIKey.length),h):S=this.node(d,y,h);if(S==null)throw new Error("Could not create any elements with: "+d+". "+this.debugInfo());return S},u.prototype.insertBefore=function(d,y,h){var g,k,w;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(d));return k=this.parent.children.indexOf(this),w=this.parent.children.splice(k),g=this.parent.element(d,y,h),Array.prototype.push.apply(this.parent.children,w),g},u.prototype.insertAfter=function(d,y,h){var g,k,w;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(d));return k=this.parent.children.indexOf(this),w=this.parent.children.splice(k+1),g=this.parent.element(d,y,h),Array.prototype.push.apply(this.parent.children,w),g},u.prototype.remove=function(){var d;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return d=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[d,d-d+1].concat([])),this.parent},u.prototype.node=function(d,y,h){var g,k;return d!=null&&(d=f(d)),y||(y={}),y=f(y),x(y)||(k=[y,h],h=k[0],y=k[1]),g=new c(this,d,y),h!=null&&g.text(h),this.children.push(g),g},u.prototype.text=function(d){var y;return y=new l(this,d),this.children.push(y),this},u.prototype.cdata=function(d){var y;return y=new e(this,d),this.children.push(y),this},u.prototype.comment=function(d){var y;return y=new t(this,d),this.children.push(y),this},u.prototype.commentBefore=function(d){var y,h;return y=this.parent.children.indexOf(this),h=this.parent.children.splice(y),this.parent.comment(d),Array.prototype.push.apply(this.parent.children,h),this},u.prototype.commentAfter=function(d){var y,h;return y=this.parent.children.indexOf(this),h=this.parent.children.splice(y+1),this.parent.comment(d),Array.prototype.push.apply(this.parent.children,h),this},u.prototype.raw=function(d){var y;return y=new a(this,d),this.children.push(y),this},u.prototype.dummy=function(){var d;return d=new s(this),this.children.push(d),d},u.prototype.instruction=function(d,y){var h,g,k,w,F;if(d!=null&&(d=f(d)),y!=null&&(y=f(y)),Array.isArray(d))for(w=0,F=d.length;w<F;w++)h=d[w],this.instruction(h);else if(x(d))for(h in d)v.call(d,h)&&(g=d[h],this.instruction(h,g));else b(y)&&(y=y.apply()),k=new o(this,d,y),this.children.push(k);return this},u.prototype.instructionBefore=function(d,y){var h,g;return h=this.parent.children.indexOf(this),g=this.parent.children.splice(h),this.parent.instruction(d,y),Array.prototype.push.apply(this.parent.children,g),this},u.prototype.instructionAfter=function(d,y){var h,g;return h=this.parent.children.indexOf(this),g=this.parent.children.splice(h+1),this.parent.instruction(d,y),Array.prototype.push.apply(this.parent.children,g),this},u.prototype.declaration=function(d,y,h){var g,k;return g=this.document(),k=new r(g,d,y,h),g.children[0]instanceof r?g.children[0]=k:g.children.unshift(k),g.root()||g},u.prototype.doctype=function(d,y){var h,g,k,w,F,z,S,I,K,ae;for(g=this.document(),k=new i(g,d,y),K=g.children,w=F=0,S=K.length;F<S;w=++F)if(h=K[w],h instanceof i)return g.children[w]=k,k;for(ae=g.children,w=z=0,I=ae.length;z<I;w=++z)if(h=ae[w],h.isRoot)return g.children.splice(w,0,k),k;return g.children.push(k),k},u.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},u.prototype.root=function(){var d;for(d=this;d;){if(d.isDocument)return d.rootObject;if(d.isRoot)return d;d=d.parent}},u.prototype.document=function(){var d;for(d=this;d;){if(d.isDocument)return d;d=d.parent}},u.prototype.end=function(d){return this.document().end(d)},u.prototype.prev=function(){var d;for(d=this.parent.children.indexOf(this);d>0&&this.parent.children[d-1].isDummy;)d=d-1;if(d<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[d-1]},u.prototype.next=function(){var d;for(d=this.parent.children.indexOf(this);d<this.parent.children.length-1&&this.parent.children[d+1].isDummy;)d=d+1;
212if(d===-1||d===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[d+1]},u.prototype.importDocument=function(d){var y;return y=d.root().clone(),y.parent=this,y.isRoot=!1,this.children.push(y),this},u.prototype.debugInfo=function(d){var y,h;return d=d||this.name,d==null&&!((y=this.parent)!=null&&y.name)?"":d==null?"parent: <"+this.parent.name+">":(h=this.parent)!=null&&h.name?"node: <"+d+">, parent: <"+this.parent.name+">":"node: <"+d+">"},u.prototype.ele=function(d,y,h){return this.element(d,y,h)},u.prototype.nod=function(d,y,h){return this.node(d,y,h)},u.prototype.txt=function(d){return this.text(d)},u.prototype.dat=function(d){return this.cdata(d)},u.prototype.com=function(d){return this.comment(d)},u.prototype.ins=function(d,y){return this.instruction(d,y)},u.prototype.doc=function(){return this.document()},u.prototype.dec=function(d,y,h){return this.declaration(d,y,h)},u.prototype.dtd=function(d,y){return this.doctype(d,y)},u.prototype.e=function(d,y,h){return this.element(d,y,h)},u.prototype.n=function(d,y,h){return this.node(d,y,h)},u.prototype.t=function(d){return this.text(d)},u.prototype.d=function(d){return this.cdata(d)},u.prototype.c=function(d){return this.comment(d)},u.prototype.r=function(d){return this.raw(d)},u.prototype.i=function(d,y){return this.instruction(d,y)},u.prototype.u=function(){return this.up()},u.prototype.importXMLBuilder=function(d){return this.importDocument(d)},u}()}).call(Ee)),Na.exports}var Ka={exports:{}},$c;function Eu(){return $c||($c=1,(function(){var e=function(r,i){return function(){return r.apply(i,arguments)}},t={}.hasOwnProperty;Ka.exports=function(){function r(i){this.assertLegalChar=e(this.assertLegalChar,this);var s,c,o;i||(i={}),this.noDoubleEncoding=i.noDoubleEncoding,c=i.stringify||{};for(s in c)t.call(c,s)&&(o=c[s],this[s]=o)}return r.prototype.eleName=function(i){return i=""+i||"",this.assertLegalChar(i)},r.prototype.eleText=function(i){return i=""+i||"",this.assertLegalChar(this.elEscape(i))},r.prototype.cdata=function(i){return i=""+i||"",i=i.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(i)},r.prototype.comment=function(i){if(i=""+i||"",i.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+i);return this.assertLegalChar(i)},r.prototype.raw=function(i){return""+i||""},r.prototype.attName=function(i){return i=""+i||""},r.prototype.attValue=function(i){return i=""+i||"",this.attEscape(i)},r.prototype.insTarget=function(i){return""+i||""},r.prototype.insValue=function(i){if(i=""+i||"",i.match(/\?>/))throw new Error("Invalid processing instruction value: "+i);return i},r.prototype.xmlVersion=function(i){if(i=""+i||"",!i.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+i);return i},r.prototype.xmlEncoding=function(i){if(i=""+i||"",!i.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+i);return i},r.prototype.xmlStandalone=function(i){return i?"yes":"no"},r.prototype.dtdPubID=function(i){return""+i||""},r.prototype.dtdSysID=function(i){return""+i||""},r.prototype.dtdElementValue=function(i){return""+i||""},r.prototype.dtdAttType=function(i){return""+i||""},r.prototype.dtdAttDefault=function(i){return i!=null?""+i||"":i},r.prototype.dtdEntityValue=function(i){return""+i||""},r.prototype.dtdNData=function(i){return""+i||""},r.prototype.convertAttKey="@",r.prototype.convertPIKey="?",r.prototype.convertTextKey="#text",r.prototype.convertCDataKey="#cdata",r.prototype.convertCommentKey="#comment",r.prototype.convertRawKey="#raw",r.prototype.assertLegalChar=function(i){var s;if(s=i.match(/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),s)throw new Error("Invalid character in string: "+i+" at index "+s.index);return i},r.prototype.elEscape=function(i){var s;return s=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,i.replace(s,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
")},r.prototype.attEscape=function(i){var s;return s=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,i.replace(s,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
")},r}()}).call(Ee)),Ka.exports}var Ja={exports:{}},Ga={exports:{}},Kc;function Fu(){return Kc||(Kc=1,(function(){var e={}.hasOwnProperty;Ga.exports=function(){function t(r){var i,s,c,o,a,l,f,m,b;r||(r={}),this.pretty=r.pretty||!1,this.allowEmpty=(s=r.allowEmpty)!=null?s:!1,this.pretty?(this.indent=(c=r.indent)!=null?c:" ",this.newline=(o=r.newline)!=null?o:` 213`,this.offset=(a=r.offset)!=null?a:0,this.dontprettytextnodes=(l=r.dontprettytextnodes)!=null?l:0):(this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash=(f=r.spacebeforeslash)!=null?f:"",this.spacebeforeslash===!0&&(this.spacebeforeslash=" "),this.newlinedefault=this.newline,this.prettydefault=this.pretty,m=r.writer||{};for(i in m)e.call(m,i)&&(b=m[i],this[i]=b)}return t.prototype.set=function(r){var i,s,c;r||(r={}),"pretty"in r&&(this.pretty=r.pretty),"allowEmpty"in r&&(this.allowEmpty=r.allowEmpty),this.pretty?(this.indent="indent"in r?r.indent:" ",this.newline="newline"in r?r.newline:` 214`,this.offset="offset"in r?r.offset:0,this.dontprettytextnodes="dontprettytextnodes"in r?r.dontprettytextnodes:0):(this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash="spacebeforeslash"in r?r.spacebeforeslash:"",this.spacebeforeslash===!0&&(this.spacebeforeslash=" "),this.newlinedefault=this.newline,this.prettydefault=this.pretty,s=r.writer||{};for(i in s)e.call(s,i)&&(c=s[i],this[i]=c);return this},t.prototype.space=function(r){var i;return this.pretty?(i=(r||0)+this.offset+1,i>0?new Array(i).join(this.indent):""):""},t}()}).call(Ee)),Ga.exports}var Jc;function Os(){return Jc||(Jc=1,(function(){var e,t,r,i,s,c,o,a,l,f,m,b,x,p,v=function(d,y){for(var h in y)u.call(y,h)&&(d[h]=y[h]);function g(){this.constructor=d}return g.prototype=y.prototype,d.prototype=new g,d.__super__=y.prototype,d},u={}.hasOwnProperty;o=di(),a=mi(),e=li(),t=ui(),f=ci(),b=yi(),x=bi(),m=vi(),l=Ws(),r=hi(),i=pi(),s=fi(),c=gi(),p=Fu(),Ja.exports=function(d){v
214(y,d);function y(h){y.__super__.constructor.call(this,h)}return y.prototype.document=function(h){var g,k,w,F,z;for(this.textispresent=!1,F="",z=h.children,k=0,w=z.length;k<w;k++)g=z[k],!(g instanceof l)&&(F+=(function(){switch(!1){case!(g instanceof o):return this.declaration(g);case!(g instanceof a):return this.docType(g);case!(g instanceof t):return this.comment(g);case!(g instanceof m):return this.processingInstruction(g);default:return this.element(g,0)}}).call(this));return this.pretty&&F.slice(-this.newline.length)===this.newline&&(F=F.slice(0,-this.newline.length)),F},y.prototype.attribute=function(h){return" "+h.name+'="'+h.value+'"'},y.prototype.cdata=function(h,g){return this.space(g)+"<![CDATA["+h.text+"]]>"+this.newline},y.prototype.comment=function(h,g){return this.space(g)+"<!-- "+h.text+" -->"+this.newline},y.prototype.declaration=function(h,g){var k;return k=this.space(g),k+='<?xml version="'+h.version+'"',h.encoding!=null&&(k+=' encoding="'+h.encoding+'"'),h.standalone!=null&&(k+=' standalone="'+h.standalone+'"'),k+=this.spacebeforeslash+"?>",k+=this.newline,k},y.prototype.docType=function(h,g){var k,w,F,z,S;if(g||(g=0),z=this.space(g),z+="<!DOCTYPE "+h.root().name,h.pubID&&h.sysID?z+=' PUBLIC "'+h.pubID+'" "'+h.sysID+'"':h.sysID&&(z+=' SYSTEM "'+h.sysID+'"'),h.children.length>0){for(z+=" [",z+=this.newline,S=h.children,w=0,F=S.length;w<F;w++)k=S[w],z+=(function(){switch(!1){case!(k instanceof r):return this.dtdAttList(k,g+1);case!(k instanceof i):return this.dtdElement(k,g+1);case!(k instanceof s):return this.dtdEntity(k,g+1);case!(k instanceof c):return this.dtdNotation(k,g+1);case!(k instanceof e):return this.cdata(k,g+1);case!(k instanceof t):return this.comment(k,g+1);case!(k instanceof m):return this.processingInstruction(k,g+1);default:throw new Error("Unknown DTD node type: "+k.constructor.name)}}).call(this);z+="]"}return z+=this.spacebeforeslash+">",z+=this.newline,z},y.prototype.element=function(h,g){var k,w,F,z,S,I,K,ae,j,R,_,J,U;g||(g=0),U=!1,this.textispresent?(this.newline="",this.pretty=!1):(this.newline=this.newlinedefault,this.pretty=this.prettydefault),J=this.space(g),ae="",ae+=J+"<"+h.name,j=h.attributes;for(K in j)u.call(j,K)&&(k=j[K],ae+=this.attribute(k));if(h.children.length===0||h.children.every(function(A){return A.value===""}))this.allowEmpty?ae+="></"+h.name+">"+this.newline:ae+=this.spacebeforeslash+"/>"+this.newline;else if(this.pretty&&h.children.length===1&&h.children[0].value!=null)ae+=">",ae+=h.children[0].value,ae+="</"+h.name+">"+this.newline;else{if(this.dontprettytextnodes){for(R=h.children,F=0,S=R.length;F<S;F++)if(w=R[F],w.value!=null){this.textispresent++,U=!0;break}}for(this.textispresent&&(this.newline="",this.pretty=!1,J=this.space(g)),ae+=">"+this.newline,_=h.children,z=0,I=_.length;z<I;z++)w=_[z],ae+=(function(){switch(!1){case!(w instanceof e):return this.cdata(w,g+1);case!(w instanceof t):return this.comment(w,g+1);case!(w instanceof f):return this.element(w,g+1);case!(w instanceof b):return this.raw(w,g+1);case!(w instanceof x):return this.text(w,g+1);case!(w instanceof m):return this.processingInstruction(w,g+1);case!(w instanceof l):return"";default:throw new Error("Unknown XML node type: "+w.constructor.name)}}).call(this);U&&this.textispresent--,this.textispresent||(this.newline=this.newlinedefault,this.pretty=this.prettydefault),ae+=J+"</"+h.name+">"+this.newline}return ae},y.prototype.processingInstruction=function(h,g){var k;return k=this.space(g)+"<?"+h.target,h.value&&(k+=" "+h.value),k+=this.spacebeforeslash+"?>"+this.newline,k},y.prototype.raw=function(h,g){return this.space(g)+h.value+this.newline},y.prototype.text=function(h,g){return this.space(g)+h.value+this.newline},y.prototype.dtdAttList=function(h,g){var k;return k=this.space(g)+"<!ATTLIST "+h.elementName+" "+h.attributeName+" "+h.attributeType,h.defaultValueType!=="#DEFAULT"&&(k+=" "+h.defaultValueType),h.defaultValue&&(k+=' "'+h.defaultValue+'"'),k+=this.spacebeforeslash+">"+this.newline,k},y.prototype.dtdElement=function(h,g){return this.space(g)+"<!ELEMENT "+h.name+" "+h.value+this.spacebeforeslash+">"+this.newline},y.prototype.dtdEntity=function(h,g){var k;return k=this.space(g)+"<!ENTITY",h.pe&&(k+=" %"),k+=" "+h.name,h.value?k+=' "'+h.value+'"'
214:(h.pubID&&h.sysID?k+=' PUBLIC "'+h.pubID+'" "'+h.sysID+'"':h.sysID&&(k+=' SYSTEM "'+h.sysID+'"'),h.nData&&(k+=" NDATA "+h.nData)),k+=this.spacebeforeslash+">"+this.newline,k},y.prototype.dtdNotation=function(h,g){var k;return k=this.space(g)+"<!NOTATION "+h.name,h.pubID&&h.sysID?k+=' PUBLIC "'+h.pubID+'" "'+h.sysID+'"':h.pubID?k+=' PUBLIC "'+h.pubID+'"':h.sysID&&(k+=' SYSTEM "'+h.sysID+'"'),k+=this.spacebeforeslash+">"+this.newline,k},y.prototype.openNode=function(h,g){var k,w,F,z;if(g||(g=0),h instanceof f){F=this.space(g)+"<"+h.name,z=h.attributes;for(w in z)u.call(z,w)&&(k=z[w],F+=this.attribute(k));return F+=(h.children?">":"/>")+this.newline,F}else return F=this.space(g)+"<!DOCTYPE "+h.rootNodeName,h.pubID&&h.sysID?F+=' PUBLIC "'+h.pubID+'" "'+h.sysID+'"':h.sysID&&(F+=' SYSTEM "'+h.sysID+'"'),F+=(h.children?" [":">")+this.newline,F},y.prototype.closeNode=function(h,g){switch(g||(g=0),!1){case!(h instanceof f):return this.space(g)+"</"+h.name+">"+this.newline;case!(h instanceof a):return this.space(g)+"]>"+this.newline}},y}(p)}).call(Ee)),Ja.exports}var Gc;function Rp(){return Gc||(Gc=1,(function(){var e,t,r,i,s=function(o,a){for(var l in a)c.call(a,l)&&(o[l]=a[l]);function f(){this.constructor=o}return f.prototype=a.prototype,o.prototype=new f,o.__super__=a.prototype,o},c={}.hasOwnProperty;i=dn().isPlainObject,e=gt(),r=Eu(),t=Os(),za.exports=function(o){s(a,o);function a(l){a.__super__.constructor.call(this,null),this.name="?xml",l||(l={}),l.writer||(l.writer=new t),this.options=l,this.stringify=new r(l),this.isDocument=!0}return a.prototype.end=function(l){var f;return l?i(l)&&(f=l,l=this.options.writer.set(f)):l=this.options.writer,l.document(this)},a.prototype.toString=function(l){return this.options.writer.set(l).document(this)},a}(e)}).call(Ee)),za.exports}var Za={exports:{}},Zc;function Ip(){return Zc||(Zc=1,(function(){var e,t,r,i,s,c,o,a,l,f,m,b,x,p,v,u,d,y,h,g,k={}.hasOwnProperty;g=dn(),y=g.isObject,d=g.isFunction,h=g.isPlainObject,u=g.getValue,f=ci(),t=li(),r=ui(),b=yi(),v=bi(),m=vi(),a=di(),l=mi(),i=hi(),c=fi(),s=pi(),o=gi(),e=Cu(),p=Eu(),x=Os(),Za.exports=function(){function w(F,z,S){var I;this.name="?xml",F||(F={}),F.writer?h(F.writer)&&(I=F.writer,F.writer=new x(I)):F.writer=new x(F),this.options=F,this.writer=F.writer,this.stringify=new p(F),this.onDataCallback=z||function(){},this.onEndCallback=S||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return w.prototype.node=function(F,z,S){var I,K;if(F==null)throw new Error("Missing node name.");if(this.root&&this.currentLevel===-1)throw new Error("Document can only have one root node. "+this.debugInfo(F));return this.openCurrent(),F=u(F),z===null&&S==null&&(I=[{},null],z=I[0],S=I[1]),z==null&&(z={}),z=u(z),y(z)||(K=[z,S],S=K[0],z=K[1]),this.currentNode=new f(this,F,z),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,S!=null&&this.text(S),this},w.prototype.element=function(F,z,S){return this.currentNode&&this.currentNode instanceof l?this.dtdElement.apply(this,arguments):this.node(F,z,S)},w.prototype.attribute=function(F,z){var S,I;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(F));if(F!=null&&(F=u(F)),y(F))for(S in F)k.call(F,S)&&(I=F[S],this.attribute(S,I));else d(z)&&(z=z.apply()),(!this.options.skipNullAttributes||z!=null)&&(this.currentNode.attributes[F]=new e(this,F,z));return this},w.prototype.text=function(F){var z;return this.openCurrent(),z=new v(this,F),this.onData(this.writer.text(z,this.currentLevel+1),this.currentLevel+1),this},w.prototype.cdata=function(F){var z;return this.openCurrent(),z=new t(this,F),this.onData(this.writer.cd
vendor: 4,651 bytes, line 214
214ata(z,this.currentLevel+1),this.currentLevel+1),this},w.prototype.comment=function(F){var z;return this.openCurrent(),z=new r(this,F),this.onData(this.writer.comment(z,this.currentLevel+1),this.currentLevel+1),this},w.prototype.raw=function(F){var z;return this.openCurrent(),z=new b(this,F),this.onData(this.writer.raw(z,this.currentLevel+1),this.currentLevel+1),this},w.prototype.instruction=function(F,z){var S,I,K,ae,j;if(this.openCurrent(),F!=null&&(F=u(F)),z!=null&&(z=u(z)),Array.isArray(F))for(S=0,ae=F.length;S<ae;S++)I=F[S],this.instruction(I);else if(y(F))for(I in F)k.call(F,I)&&(K=F[I],this.instruction(I,K));else d(z)&&(z=z.apply()),j=new m(this,F,z),this.onData(this.writer.processingInstruction(j,this.currentLevel+1),this.currentLevel+1);return this},w.prototype.declaration=function(F,z,S){var I;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return I=new a(this,F,z,S),this.onData(this.writer.declaration(I,this.currentLevel+1),this.currentLevel+1),this},w.prototype.doctype=function(F,z,S){if(this.openCurrent(),F==null)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new l(this,z,S),this.currentNode.rootNodeName=F,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},w.prototype.dtdElement=function(F,z){var S;return this.openCurrent(),S=new s(this,F,z),this.onData(this.writer.dtdElement(S,this.currentLevel+1),this.currentLevel+1),this},w.prototype.attList=function(F,z,S,I,K){var ae;return this.openCurrent(),ae=new i(this,F,z,S,I,K),this.onData(this.writer.dtdAttList(ae,this.currentLevel+1),this.currentLevel+1),this},w.prototype.entity=function(F,z){var S;return this.openCurrent(),S=new c(this,!1,F,z),this.onData(this.writer.dtdEntity(S,this.currentLevel+1),this.currentLevel+1),this},w.prototype.pEntity=function(F,z){var S;return this.openCurrent(),S=new c(this,!0,F,z),this.onData(this.writer.dtdEntity(S,this.currentLevel+1),this.currentLevel+1),this},w.prototype.notation=function(F,z){var S;return this.openCurrent(),S=new o(this,F,z),this.onData(this.writer.dtdNotation(S,this.currentLevel+1),this.currentLevel+1),this},w.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent.");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},w.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},w.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},w.prototype.openNode=function(F){if(!F.isOpen)return!this.root&&this.currentLevel===0&&F instanceof f&&(this.root=F),this.onData(this.writer.openNode(F,this.currentLevel),this.currentLevel),F.isOpen=!0},w.prototype.closeNode=function(F){if(!F.isClosed)return this.onData(this.writer.closeNode(F,this.currentLevel),this.currentLevel),F.isClosed=!0},w.prototype.onData=function(F,z){return this.documentStarted=!0,this.onDataCallback(F,z+1)},w.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},w.prototype.debugInfo=function(F){return F==null?"":"node: <"+F+">"},w.prototype.ele=function(){return this.element.apply(this,arguments)},w.prototype.nod=function(F,z,S){return this.node(F,z,S)},w.prototype.txt=function(F){return this.text(F)},w.prototype.dat=function(F){return this.cdata(F)},w.prototype.com=function(F){return this.comment(F)},w.prototype.ins=function(F,z){return this.instruction(F,z)},w.prototype.dec=function(F,z,S){return this.declaration(F,z,S)},w.prototype.dtd=function(F,z,S){return this.doctype(F,z,S)},w.prototype.e=function(F,z,S){return this.element(F,z,S)},w.prototype.n=function(F,z,S){return this.node(F,z,S)},w.prototype.t=function(F){return this.text(F)},w.prototype.d=function(F){return this.cdata(F)},w.prototype.c=function(F){return this.comment(F)},w.prototype.r=function(F){return this.raw(F)},w.prototype.i=function(F,z){return this.instruction(F,z)},w.prototype.att=function(){return this.currentNode&&this.currentNode instanceof l?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},w.prototype.a=function(){return this.currentNode&&this.currentNode instanceof l?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},w.prototype.ent=function(F,z){return this.entity(F,z)},w.prototype.pent=function(F,z){return this.pEntity(F,z)}
214,w.prototype.not=function(F,z){return this.notation(F,z)},w}()}).call(Ee)),Za.exports}var Qa={exports:{}},Qc;function Lp(){return Qc||(Qc=1,(function(){var e,t,r,i,s,c,o,a,l,f,m,b,x,p,v=function(d,y){for(var h in y)u.call(y,h)&&(d[h]=y[h]);function g(){this.constructor=d}return g.prototype=y.prototype,d.prototype=new g,d.__super__=y.prototype,d},u={}.hasOwnProperty;o=di(),a=mi(),e=li(),t=ui(),f=ci(),b=yi(),x=bi(),m=vi(),l=Ws(),r=hi(),i=pi(),s=fi(),c=gi(),p=Fu(),Qa.exports=function(d){v(y,d);function y(h,g){y.__super__.constructor.call(this,g),this.stream=h}return y.prototype.document=function(h){var g,k,w,F,z,S,I,K;for(S=h.children,k=0,F=S.length;k<F;k++)g=S[k],g.isLastRootNode=!1;for(h.children[h.children.length-1].isLastRootNode=!0,I=h.children,K=[],w=0,z=I.length;w<z;w++)if(g=I[w],!(g instanceof l))switch(!1){case!(g instanceof o):K.push(this.declaration(g));break;case!(g instanceof a):K.push(this.docType(g));break;case!(g instanceof t):K.push(this.comment(g));break;case!(g instanceof m):K.push(this.processingInstruction(g));break;default:K.push(this.element(g))}return K},y.prototype.attribute=function(h){return this.stream.write(" "+h.name+'="'+h.value+'"')},y.prototype.cdata=function(h,g){return this.stream.write(this.space(g)+"<![CDATA["+h.text+"]]>"+this.endline(h))},y.prototype.comment=function(h,g){return this.stream.write(this.space(g)+"<!-- "+h.text+" -->"+this.endline(h))},y.prototype.declaration=function(h,g){return this.stream.write(this.space(g)),this.stream.write('<?xml version="'+h.version+'"'),h.encoding!=null&&this.stream.write(' encoding="'+h.encoding+'"'),h.standalone!=null&&this.stream.write(' standalone="'+h.standalone+'"'),this.stream.write(this.spacebeforeslash+"?>"),this.stream.write(this.endline(h))},y.prototype.docType=function(h,g){var k,w,F,z;if(g||(g=0),this.stream.write(this.space(g)),this.stream.write("<!DOCTYPE "+h.root().name),h.pubID&&h.sysID?this.stream.write(' PUBLIC "'+h.pubID+'" "'+h.sysID+'"'):h.sysID&&this.stream.write(' SYSTEM "'+h.sysID+'"'),h.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(h)),z=h.children,w=0,F=z.length;w<F;w++)switch(k=z[w],!1){case!(k instanceof r):this.dtdAttList(k,g+1);break;case!(k instanceof i):this.dtdElement(k,g+1);break;case!(k instanceof s):this.dtdEntity(k,g+1);break;case!(k instanceof c):this.dtdNotation(k,g+1);break;case!(k instanceof e):this.cdata(k,g+1);break;case!(k instanceof t):this.comment(k,g+1);break;case!(k instanceof m):this.processingInstruction(k,g+1);break;default:throw new Error("Unknown DTD node type: "+k.constructor.name)}this.stream.write("]")}return this.stream.write(this.spacebeforeslash+">"),this.stream.write(this.endline(h))},y.prototype.element=function(h,g){var k,w,F,z,S,I,K,ae;g||(g=0),ae=this.space(g),this.stream.write(ae+"<"+h.name),I=h.attributes;for(S in I)u.call(I,S)&&(k=I[S],this.attribute(k));if(h.children.length===0||h.children.every(function(j){return j.value===""}))this.allowEmpty?this.stream.write("></"+h.name+">"):this.stream.write(this.spacebeforeslash+"/>");else if(this.pretty&&h.children.length===1&&h.children[0].value!=null)this.stream.write(">"),this.stream.write(h.children[0].value),this.stream.write("</"+h.name+">");else{for(this.stream.write(">"+this.newline),K=h.children,F=0,z=K.length;F<z;F++)switch(w=K[F],!1){case!(w instanceof e):this.cdata(w,g+1);break;case!(w instanceof t):this.comment(w,g+1);break;case!(w instanceof f):this.element(w,g+1);break;case!(w instanceof b):this.raw(w,g+1);break;case!(w instanceof x):this.text(w,g+1);break;case!(w instanceof m):this.processingInstruction(w,g+1);break;case!(w instanceof l):break;default:throw new Error("Unknown XML node type: "+w.constructor.name)}this.stream.write(ae+"</"+h.name+">")}return this.stream.write(this.endline(h))},y.prototype.processingInstruction=function(h,g){return this.stream.write(this.space(g)+"<?"+h.target),h.value&&this.stream.write(" "+h.value),this.stream.write(this.spacebeforeslash+"?>"+this.endline(h))},y.prototype.raw=function(h,g){return this.stream.write(this.space(g)+h.value+this.endline(h))},y.prototype.text=function(h,g){return this.stream.write(this.space(g)+h.value+this.endline(h)
214)},y.prototype.dtdAttList=function(h,g){return this.stream.write(this.space(g)+"<!ATTLIST "+h.elementName+" "+h.attributeName+" "+h.attributeType),h.defaultValueType!=="#DEFAULT"&&this.stream.write(" "+h.defaultValueType),h.defaultValue&&this.stream.write(' "'+h.defaultValue+'"'),this.stream.write(this.spacebeforeslash+">"+this.endline(h))},y.prototype.dtdElement=function(h,g){return this.stream.write(this.space(g)+"<!ELEMENT "+h.name+" "+h.value),this.stream.write(this.spacebeforeslash+">"+this.endline(h))},y.prototype.dtdEntity=function(h,g){return this.stream.write(this.space(g)+"<!ENTITY"),h.pe&&this.stream.write(" %"),this.stream.write(" "+h.name),h.value?this.stream.write(' "'+h.value+'"'):(h.pubID&&h.sysID?this.stream.write(' PUBLIC "'+h.pubID+'" "'+h.sysID+'"'):h.sysID&&this.stream.write(' SYSTEM "'+h.sysID+'"'),h.nData&&this.stream.write(" NDATA "+h.nData)),this.stream.write(this.spacebeforeslash+">"+this.endline(h))},y.prototype.dtdNotation=function(h,g){return this.stream.write(this.space(g)+"<!NOTATION "+h.name),h.pubID&&h.sysID?this.stream.write(' PUBLIC "'+h.pubID+'" "'+h.sysID+'"'):h.pubID?this.stream.write(' PUBLIC "'+h.pubID+'"'):h.sysID&&this.stream.write(' SYSTEM "'+h.sysID+'"'),this.stream.write(this.spacebeforeslash+">"+this.endline(h))},y.prototype.endline=function(h){return h.isLastRootNode?"":this.newline},y}(p)}).call(Ee)),Qa.exports}(function(){var e,t,r,i,s,c,o;o=dn(),s=o.assign,c=o.isFunction,e=Rp(),t=Ip(),i=Os(),r=Lp(),gr.create=function(a,l,f,m){var b,x;if(a==null)throw new Error("Root element needs a name.");return m=s({},l,f,m),b=new e(m),x=b.element(a),m.headless||(b.declaration(m),(m.pubID!=null||m.sysID!=null)&&b.doctype(m)),x},gr.begin=function(a,l,f){var m;return c(a)&&(m=[a,l],l=m[0],f=m[1],a={}),l?new t(a,l,f):new e(a)},gr.stringWriter=function(a){return new i(a)},gr.streamWriter=function(a,l){return new r(a,l)}}).call(Ee);var Yc=$e,Mp=gr;Tu.writeString=qp;function qp(e,t){var r=Yc.invert(t),i={element:c,text:Pp};function s(l,f){return i[f.type](l,f)}function c(l,f){var m=l.element(o(f.name),f.attributes);f.children.forEach(function(b){s(m,b)})}function o(l){var f=/^\{(.*)\}(.*)$/.exec(l);if(f){var m=r[f[1]];return m+(m===""?"":":")+f[2]}else return l}function a(l){var f=Mp.create(o(l.name),{version:"1.0",encoding:"UTF-8",standalone:!0});return Yc.forEach(t,function(m,b){var x="xmlns"+(b===""?"":":"+b);f.attribute(x,m)}),l.children.forEach(function(m){s(f,m)}),f.end()}return a(e)}function Pp(e,t){e.text(t.value)}var xi=Qn;nn.Element=xi.Element;nn.element=xi.element;nn.emptyElement=xi.emptyElement;nn.text=xi.text;nn.readString=$l.readString;nn.writeString=Tu.writeString;var Hp=$e,Xp=Ze,Vp=nn;ws.read=ju;ws.readXmlFromZipFile=Kp;var $p={"http://schemas.openxmlformats.org/wordprocessingml/2006/main":"w","http://schemas.openxmlformats.org/officeDocument/2006/relationships":"r","http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing":"wp","http://schemas.openxmlformats.org/drawingml/2006/main":"a","http://schemas.openxmlformats.org/drawingml/2006/picture":"pic","http://purl.oclc.org/ooxml/wordprocessingml/main":"w","http://purl.oclc.org/ooxml/officeDocument/relationships":"r","http://purl.oclc.org/ooxml/drawingml/wordprocessingDrawing":"wp","http://purl.oclc.org/ooxml/drawingml/main":"a","http://purl.oclc.org/ooxml/drawingml/picture":"pic","http://schemas.openxmlformats.org/package/2006/content-types":"content-types","http://schemas.openxmlformats.org/package/2006/relationships":"relationships","http://schemas.openxmlformats.org/markup-compatibility/2006":"mc","urn:schemas-microsoft-com:vml":"v","urn:schemas-microsoft-com:office:word":"office-word","http://schemas.microsoft.com/office/word/2010/wordml":"wordml"};function ju(e){return Vp.readString(e,$p).then(function(t){return Au(t)[0]})}function Kp(e,t){return e.exists(t)?e.read(t,"utf-8").then(Jp).then(ju):Xp.resolve(null)}function Jp(e){return e.replace(/^\uFEFF/g,"")}function Au(e){return e.type==="element"?e.name==="mc:AlternateContent"?e.firstOrEmpty("mc:Fallback").children:(e.children=Hp.flatten(e.children.map(Au,!0)),[e]):[e]}var Rs={},ln={},Is={};Object.defineProperty(Is,"__esModule",{value:!0});var Gp
vendor: 119,105 bytes, line 214
214=[{"Typeface name":"Symbol","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Symbol","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"33","Unicode hex":"21"},{"Typeface name":"Symbol","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"8704","Unicode hex":"2200"},{"Typeface name":"Symbol","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"35","Unicode hex":"23"},{"Typeface name":"Symbol","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"8707","Unicode hex":"2203"},{"Typeface name":"Symbol","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"37","Unicode hex":"25"},{"Typeface name":"Symbol","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"38","Unicode hex":"26"},{"Typeface name":"Symbol","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"8717","Unicode hex":"220D"},{"Typeface name":"Symbol","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"40","Unicode hex":"28"},{"Typeface name":"Symbol","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"41","Unicode hex":"29"},{"Typeface name":"Symbol","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"42","Unicode hex":"2A"},{"Typeface name":"Symbol","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"43","Unicode hex":"2B"},{"Typeface name":"Symbol","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"44","Unicode hex":"2C"},{"Typeface name":"Symbol","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"8722","Unicode hex":"2212"},{"Typeface name":"Symbol","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"46","Unicode hex":"2E"},{"Typeface name":"Symbol","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"47","Unicode hex":"2F"},{"Typeface name":"Symbol","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"48","Unicode hex":"30"},{"Typeface name":"Symbol","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"49","Unicode hex":"31"},{"Typeface name":"Symbol","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"50","Unicode hex":"32"},{"Typeface name":"Symbol","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"51","Unicode hex":"33"},{"Typeface name":"Symbol","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"52","Unicode hex":"34"},{"Typeface name":"Symbol","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"53","Unicode hex":"35"},{"Typeface name":"Symbol","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"54","Unicode hex":"36"},{"Typeface name":"Symbol","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"55","Unicode hex":"37"},{"Typeface name":"Symbol","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"56","Unicode hex":"38"},{"Typeface name":"Symbol","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"57","Unicode hex":"39"},{"Typeface name":"Symbol","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"58","Unicode hex":"3A"},{"Typeface name":"Symbol","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"59","Unicode hex":"3B"},{"Typeface name":"Symbol","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"60","Unicode hex":"3C"},{"Typeface name":"Symbol","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"61","Unicode hex":"3D"},{"Typeface name":"Symbol","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"62","Unicode hex":"3E"},{"Typeface name":"Symbol","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"63","Unicode hex":"3F"},{"Typeface name":"Symbol","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"8773","Unicode hex":"2245"},{"Typeface name":"Symbol","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"913","Unicode hex":"391"},{"Typeface name":"Symbol","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"914","Unicode hex":"392"},{"Typeface name":"Symbol","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"935","Unicode hex":"3A7"},{"Typeface name":"Symbol","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"916","Unicode hex":"394"},{"Typeface name":"Symbol","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"917","Unicode hex":"395"},{"Typeface name":"Symbol","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"934","Unicode hex":"3A6"},{"Typeface name":"Symbol","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"915","Unicode hex":"393"},{"Typeface name":"Symbol","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"919","Unicode hex":"397"},{"Typeface name":"Symbol","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"921","Unicode hex":"399"},{"Typeface name":"Symbol","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"977","Unicode hex":"3D1"},{"Typeface name":"Symbol","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"922","Unicode hex":"39A"},{"Typeface name":"Symbol","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"923","Unicode hex":"39B"},{"Typeface name":"Symbol","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"924","Unicode hex":"39C"},{"Typeface name":"Symbol","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"925","Unicode hex":"39D"},{"Typeface name":"Symbol","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"927","Unicode hex":"39F"},{"Typeface name":"Symbol","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"928","Unicode hex":"3A0"},{"Typeface name":"Symbol","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"920","Unicode hex":"398"},{"Typeface name":"Symbol","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"929","Unicode hex":"3A1"},{"Typeface name":"Symbol","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"931","Unicode hex":"3A3"},{"Typeface name":"Symbol","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"932","Unicode hex":"3A4"},{"Typeface name":"Symbol","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"933","Unicode hex":"3A5"},{"Typeface name":"Symbol","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"962","Unicode hex":"3C2"},{"Typeface name":"Symbol","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"937","Unicode hex":"3A9"},{"Typeface name":"Symbol","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"926","Unicode hex":"39E"},{"Typeface name":"Symbol","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"936","Unicode hex":"3A8"},{"Typeface name":"Symbol","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"918","Unicode hex":"396"},{"Typeface name":"Symbol","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"91","Unicode hex":"5B"},{"Typeface name":"Symbol","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"8756","Unicode hex":"2234"},{"Typeface name":"Symbol","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"93","Unicode hex":"5D"},{"Typeface name":"Symbol","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"8869","Unicode hex":"22A5"},{"Typeface name":"Symbol","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"95","Unicode hex":"5F"},{"Typeface name":"Symbol","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"8254","Unicode hex":"203E"},{"Typeface name":"Symbol","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"945","Unicode hex":"3B1"},{"Typeface name":"Symbol","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"946","Unicode hex":"3B2"},{"Typeface name":"Symbol","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"967","Unicode hex":"3C7"},{"Typeface name":"Symbol","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"948","Unicode hex":"3B4"},{"Typeface name":"Symbol","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"949","Unicode hex":"3B5"},{"Typeface name":"Symbol","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"966","Unicode hex":"3C6"},{"Typeface name":"Symbol","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"947","Unicode hex":"3B3"},{"Typeface name":"Symbol","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"951","Unicode hex":"3B7"},{"Typeface name":"Symbol","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"953","Unicode hex":"3B9"},{"Typeface name":"Symbol","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"981","Unicode hex":"3D5"},{"Typeface name":"Symbol","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"954","Unicode hex":"3BA"},{"Typeface name":"Symbol","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"955","Unicode hex":"3BB"},{"Typeface name":"Symbol","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"956","Unicode hex":"3BC"},{"Typeface name":"Symbol","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"957","Unicode hex":"3BD"},{"Typeface name":"Symbol","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"959","Unicode hex":"3BF"},{"Typeface name":"Symbol","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"960","Unicode hex":"3C0"},{"Typeface name":"Symbol","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"952","Unicode hex":"3B8"},{"Typeface name":"Symbol","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"961","Unicode hex":"3C1"},{"Typeface name":"Symbol","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"963","Unicode hex":"3C3"},{"Typeface name":"Symbol","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"964","Unicode hex":"3C4"},{"Typeface name":"Symbol","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"965","Unicode hex":"3C5"},{"Typeface name":"Symbol","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"982","Unicode hex":"3D6"},{"Typeface name":"Symbol","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"969","Unicode hex":"3C9"},{"Typeface name":"Symbol","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"958","Unicode hex":"3BE"},{"Typeface name":"Symbol","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"968","Unicode hex":"3C8"},{"Typeface name":"Symbol","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"950","Unicode hex":"3B6"},{"Typeface name":"Symbol","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"123","Unicode hex":"7B"},{"Typeface name":"Symbol","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"124","Unicode hex":"7C"},{"Typeface name":"Symbol","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"125","Unicode hex":"7D"},{"Typeface name":"Symbol","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"126","Unicode hex":"7E"},{"Typeface name":"Symbol","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"8364","Unicode hex":"20AC"},{"Typeface name":"Symbol","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"978","Unicode hex":"3D2"},{"Typeface name":"Symbol","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"8242","Unicode hex":"2032"},{"Typeface name":"Symbol","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"8804","Unicode hex":"2264"},{"Typeface name":"Symbol","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"8260","Unicode hex":"2044"},{"Typeface name":"Symbol","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"8734","Unicode hex":"221E"},{"Typeface name":"Symbol","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"402","Unicode hex":"192"},{"Typeface name":"Symbol","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"9827","Unicode hex":"2663"},{"Typeface name":"Symbol","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"9830","Unicode hex":"2666"},{"Typeface name":"Symbol","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"9829","Unicode hex":"2665"},{"Typeface name":"Symbol","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"9824","Unicode hex":"2660"},{"Typeface name":"Symbol","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"8596","Unicode hex":"2194"},{"Typeface name":"Symbol","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"8592","Unicode hex":"2190"},{"Typeface name":"Symbol","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"8593","Unicode hex":"2191"},{"Typeface name":"Symbol","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"8594","Unicode hex":"2192"},{"Typeface name":"Symbol","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"8595","Unicode hex":"2193"},{"Typeface name":"Symbol","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"176","Unicode hex":"B0"},{"Typeface name":"Symbol","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"177","Unicode hex":"B1"},{"Typeface name":"Symbol","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"8243","Unicode hex":"2033"},{"Typeface name":"Symbol","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"8805","Unicode hex":"2265"},{"Typeface name":"Symbol","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"215","Unicode hex":"D7"},{"Typeface name":"Symbol","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"8733","Unicode hex":"221D"},{"Typeface name":"Symbol","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"8706","Unicode hex":"2202"},{"Typeface name":"Symbol","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"8226","Unicode hex":"2022"},{"Typeface name":"Symbol","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"247","Unicode hex":"F7"},{"Typeface name":"Symbol","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"8800","Unicode hex":"2260"},{"Typeface name":"Symbol","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"8801","Unicode hex":"2261"},{"Typeface name":"Symbol","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"8776","Unicode hex":"2248"},{"Typeface name":"Symbol","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"8230","Unicode hex":"2026"},{"Typeface name":"Symbol","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"9168","Unicode hex":"23D0"},{"Typeface name":"Symbol","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"9135","Unicode hex":"23AF"},{"Typeface name":"Symbol","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"8629","Unicode hex":"21B5"},{"Typeface name":"Symbol","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"8501","Unicode hex":"2135"},{"Typeface name":"Symbol","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"8465","Unicode hex":"2111"},{"Typeface name":"Symbol","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"8476","Unicode hex":"211C"},{"Typeface name":"Symbol","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"8472","Unicode hex":"2118"},{"Typeface name":"Symbol","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"8855","Unicode hex":"2297"},{"Typeface name":"Symbol","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"8853","Unicode hex":"2295"},{"Typeface name":"Symbol","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"8709","Unicode hex":"2205"},{"Typeface name":"Symbol","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"8745","Unicode hex":"2229"},{"Typeface name":"Symbol","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"8746","Unicode hex":"222A"},{"Typeface name":"Symbol","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"8835","Unicode hex":"2283"},{"Typeface name":"Symbol","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"8839","Unicode hex":"2287"},{"Typeface name":"Symbol","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"8836","Unicode hex":"2284"},{"Typeface name":"Symbol","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"8834","Unicode hex":"2282"},{"Typeface name":"Symbol","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"8838","Unicode hex":"2286"},{"Typeface name":"Symbol","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"8712","Unicode hex":"2208"},{"Typeface name":"Symbol","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"8713","Unicode hex":"2209"},{"Typeface name":"Symbol","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"8736","Unicode hex":"2220"},{"Typeface name":"Symbol","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"8711","Unicode hex":"2207"},{"Typeface name":"Symbol","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"174","Unicode hex":"AE"},{"Typeface name":"Symbol","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"169","Unicode hex":"A9"},{"Typeface name":"Symbol","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"8482","Unicode hex":"2122"},{"Typeface name":"Symbol","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"8719","Unicode hex":"220F"},{"Typeface name":"Symbol","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"8730","Unicode hex":"221A"},{"Typeface name":"Symbol","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"8901","Unicode hex":"22C5"},{"Typeface name":"Symbol","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"172","Unicode hex":"AC"},{"Typeface name":"Symbol","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"8743","Unicode hex":"2227"},{"Typeface name":"Symbol","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"8744","Unicode hex":"2228"},{"Typeface name":"Symbol","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"8660","Unicode hex":"21D4"},{"Typeface name":"Symbol","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"8656","Unicode hex":"21D0"},{"Typeface name":"Symbol","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"8657","Unicode hex":"21D1"},{"Typeface name":"Symbol","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"8658","Unicode hex":"21D2"},{"Typeface name":"Symbol","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"8659","Unicode hex":"21D3"},{"Typeface name":"Symbol","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"9674","Unicode hex":"25CA"},{"Typeface name":"Symbol","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"12296","Unicode hex":"3008"},{"Typeface name":"Symbol","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"174","Unicode hex":"AE"},{"Typeface name":"Symbol","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"169","Unicode hex":"A9"},{"Typeface name":"Symbol","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"8482","Unicode hex":"2122"},{"Typeface name":"Symbol","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"8721","Unicode hex":"2211"},{"Typeface name":"Symbol","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"9115","Unicode hex":"239B"},{"Typeface name":"Symbol","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"9116","Unicode hex":"239C"},{"Typeface name":"Symbol","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"9117","Unicode hex":"239D"},{"Typeface name":"Symbol","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"9121","Unicode hex":"23A1"},{"Typeface name":"Symbol","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"9122","Unicode hex":"23A2"},{"Typeface name":"Symbol","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"9123","Unicode hex":"23A3"},{"Typeface name":"Symbol","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"9127","Unicode hex":"23A7"},{"Typeface name":"Symbol","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"9128","Unicode hex":"23A8"},{"Typeface name":"Symbol","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"9129","Unicode hex":"23A9"},{"Typeface name":"Symbol","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"9130","Unicode hex":"23AA"},{"Typeface name":"Symbol","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"63743","Unicode hex":"F8FF"},{"Typeface name":"Symbol","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"12297","Unicode hex":"3009"},{"Typeface name":"Symbol","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"8747","Unicode hex":"222B"},{"Typeface name":"Symbol","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"8992","Unicode hex":"2320"},{"Typeface name":"Symbol","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"9134","Unicode hex":"23AE"},{"Typeface name":"Symbol","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"8993","Unicode hex":"2321"},{"Typeface name":"Symbol","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"9118","Unicode hex":"239E"},{"Typeface name":"Symbol","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"9119","Unicode hex":"239F"},{"Typeface name":"Symbol","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"9120","Unicode hex":"23A0"},{"Typeface name":"Symbol","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"9124","Unicode hex":"23A4"},{"Typeface name":"Symbol","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"9125","Unicode hex":"23A5"},{"Typeface name":"Symbol","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"9126","Unicode hex":"23A6"},{"Typeface name":"Symbol","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"9131","Unicode hex":"23AB"},{"Typeface name":"Symbol","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"9132","Unicode hex":"23AC"},{"Typeface name":"Symbol","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"9133","Unicode hex":"23AD"},{"Typeface name":"Webdings","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Webdings","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128375","Unicode hex":"1F577"},{"Typeface name":"Webdings","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"128376","Unicode hex":"1F578"},{"Typeface name":"Webdings","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"128370","Unicode hex":"1F572"},{"Typeface name":"Webdings","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128374","Unicode hex":"1F576"},{"Typeface name":"Webdings","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"127942","Unicode hex":"1F3C6"},{"Typeface name":"Webdings","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"127894","Unicode hex":"1F396"},{"Typeface name":"Webdings","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128391","Unicode hex":"1F587"},{"Typeface name":"Webdings","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128488","Unicode hex":"1F5E8"},{"Typeface name":"Webdings","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"128489","Unicode hex":"1F5E9"},{"Typeface name":"Webdings","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128496","Unicode hex":"1F5F0"},{"Typeface name":"Webdings","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128497","Unicode hex":"1F5F1"},{"Typeface name":"Webdings","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"127798","Unicode hex":"1F336"},{"Typeface name":"Webdings","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"127895","Unicode hex":"1F397"},{"Typeface name":"Webdings","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128638","Unicode hex":"1F67E"},{"Typeface name":"Webdings","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128636","Unicode hex":"1F67C"},{"Typeface name":"Webdings","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128469","Unicode hex":"1F5D5"},{"Typeface name":"Webdings","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128470","Unicode hex":"1F5D6"},{"Typeface name":"Webdings","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128471","Unicode hex":"1F5D7"},{"Typeface name":"Webdings","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"9204","Unicode hex":"23F4"},{"Typeface name":"Webdings","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"9205","Unicode hex":"23F5"},{"Typeface name":"Webdings","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"9206","Unicode hex":"23F6"},{"Typeface name":"Webdings","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"9207","Unicode hex":"23F7"},{"Typeface name":"Webdings","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"9194","Unicode hex":"23EA"},{"Typeface name":"Webdings","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"9193","Unicode hex":"23E9"},{"Typeface name":"Webdings","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"9198","Unicode hex":"23EE"},{"Typeface name":"Webdings","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"9197","Unicode hex":"23ED"},{"Typeface name":"Webdings","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"9208","Unicode hex":"23F8"},{"Typeface name":"Webdings","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"9209","Unicode hex":"23F9"},{"Typeface name":"Webdings","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"9210","Unicode hex":"23FA"},{"Typeface name":"Webdings","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"128474","Unicode hex":"1F5DA"},{"Typeface name":"Webdings","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"128499","Unicode hex":"1F5F3"},{"Typeface name":"Webdings","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128736","Unicode hex":"1F6E0"},{"Typeface name":"Webdings","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"127959","Unicode hex":"1F3D7"},{"Typeface name":"Webdings","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"127960","Unicode hex":"1F3D8"},{"Typeface name":"Webdings","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"127961","Unicode hex":"1F3D9"},{"Typeface name":"Webdings","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"127962","Unicode hex":"1F3DA"},{"Typeface name":"Webdings","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"127964","Unicode hex":"1F3DC"},{"Typeface name":"Webdings","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"127981","Unicode hex":"1F3ED"},{"Typeface name":"Webdings","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"127963","Unicode hex":"1F3DB"},{"Typeface name":"Webdings","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"127968","Unicode hex":"1F3E0"},{"Typeface name":"Webdings","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"127958","Unicode hex":"1F3D6"},{"Typeface name":"Webdings","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"127965","Unicode hex":"1F3DD"},{"Typeface name":"Webdings","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128739","Unicode hex":"1F6E3"},{"Typeface name":"Webdings","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"128269","Unicode hex":"1F50D"},{"Typeface name":"Webdings","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"127956","Unicode hex":"1F3D4"},{"Typeface name":"Webdings","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128065","Unicode hex":"1F441"},{"Typeface name":"Webdings","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"128066","Unicode hex":"1F442"},{"Typeface name":"Webdings","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"127966","Unicode hex":"1F3DE"},{"Typeface name":"Webdings","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"127957","Unicode hex":"1F3D5"},{"Typeface name":"Webdings","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"128740","Unicode hex":"1F6E4"},{"Typeface name":"Webdings","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"127967","Unicode hex":"1F3DF"},{"Typeface name":"Webdings","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"128755","Unicode hex":"1F6F3"},{"Typeface name":"Webdings","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"128364","Unicode hex":"1F56C"},{"Typeface name":"Webdings","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"128363","Unicode hex":"1F56B"},{"Typeface name":"Webdings","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128360","Unicode hex":"1F568"},{"Typeface name":"Webdings","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"128264","Unicode hex":"1F508"},{"Typeface name":"Webdings","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"127892","Unicode hex":"1F394"},{"Typeface name":"Webdings","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"127893","Unicode hex":"1F395"},{"Typeface name":"Webdings","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"128492","Unicode hex":"1F5EC"},{"Typeface name":"Webdings","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128637","Unicode hex":"1F67D"},{"Typeface name":"Webdings","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"128493","Unicode hex":"1F5ED"},{"Typeface name":"Webdings","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"128490","Unicode hex":"1F5EA"},{"Typeface name":"Webdings","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"128491","Unicode hex":"1F5EB"},{"Typeface name":"Webdings","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"11156","Unicode hex":"2B94"},{"Typeface name":"Webdings","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"10004","Unicode hex":"2714"},{"Typeface name":"Webdings","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"128690","Unicode hex":"1F6B2"},{"Typeface name":"Webdings","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"11036","Unicode hex":"2B1C"},{"Typeface name":"Webdings","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"128737","Unicode hex":"1F6E1"},{"Typeface name":"Webdings","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"128230","Unicode hex":"1F4E6"},{"Typeface name":"Webdings","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"128753","Unicode hex":"1F6F1"},{"Typeface name":"Webdings","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"11035","Unicode hex":"2B1B"},{"Typeface name":"Webdings","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"128657","Unicode hex":"1F691"},{"Typeface name":"Webdings","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"128712","Unicode hex":"1F6C8"},{"Typeface name":"Webdings","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"128745","Unicode hex":"1F6E9"},{"Typeface name":"Webdings","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"128752","Unicode hex":"1F6F0"},{"Typeface name":"Webdings","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"128968","Unicode hex":"1F7C8"},{"Typeface name":"Webdings","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"128372","Unicode hex":"1F574"},{"Typeface name":"Webdings","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"11044","Unicode hex":"2B24"},{"Typeface name":"Webdings","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"128741","Unicode hex":"1F6E5"},{"Typeface name":"Webdings","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"128660","Unicode hex":"1F694"},{"Typeface name":"Webdings","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"128472","Unicode hex":"1F5D8"},{"Typeface name":"Webdings","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"128473","Unicode hex":"1F5D9"},{"Typeface name":"Webdings","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"10067","Unicode hex":"2753"},{"Typeface name":"Webdings","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"128754","Unicode hex":"1F6F2"},{"Typeface name":"Webdings","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"128647","Unicode hex":"1F687"},{"Typeface name":"Webdings","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"128653","Unicode hex":"1F68D"},{"Typeface name":"Webdings","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"9971","Unicode hex":"26F3"},{"Typeface name":"Webdings","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"10680","Unicode hex":"29B8"},{"Typeface name":"Webdings","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"8854","Unicode hex":"2296"},{"Typeface name":"Webdings","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"128685","Unicode hex":"1F6AD"},{"Typeface name":"Webdings","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"128494","Unicode hex":"1F5EE"},{"Typeface name":"Webdings","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"9168","Unicode hex":"23D0"},{"Typeface name":"Webdings","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128495","Unicode hex":"1F5EF"},{"Typeface name":"Webdings","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128498","Unicode hex":"1F5F2"},{"Typeface name":"Webdings","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"128697","Unicode hex":"1F6B9"},{"Typeface name":"Webdings","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"128698","Unicode hex":"1F6BA"},{"Typeface name":"Webdings","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"128713","Unicode hex":"1F6C9"},{"Typeface name":"Webdings","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"128714","Unicode hex":"1F6CA"},{"Typeface name":"Webdings","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"128700","Unicode hex":"1F6BC"},{"Typeface name":"Webdings","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"128125","Unicode hex":"1F47D"},{"Typeface name":"Webdings","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"127947","Unicode hex":"1F3CB"},{"Typeface name":"Webdings","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"9975","Unicode hex":"26F7"},{"Typeface name":"Webdings","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"127938","Unicode hex":"1F3C2"},{"Typeface name":"Webdings","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"127948","Unicode hex":"1F3CC"},{"Typeface name":"Webdings","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"127946","Unicode hex":"1F3CA"},{"Typeface name":"Webdings","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"127940","Unicode hex":"1F3C4"},{"Typeface name":"Webdings","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"127949","Unicode hex":"1F3CD"},{"Typeface name":"Webdings","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"127950","Unicode hex":"1F3CE"},{"Typeface name":"Webdings","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"128664","Unicode hex":"1F698"},{"Typeface name":"Webdings","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"128480","Unicode hex":"1F5E0"},{"Typeface name":"Webdings","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"128738","Unicode hex":"1F6E2"},{"Typeface name":"Webdings","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"128176","Unicode hex":"1F4B0"},{"Typeface name":"Webdings","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"127991","Unicode hex":"1F3F7"},{"Typeface name":"Webdings","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"128179","Unicode hex":"1F4B3"},{"Typeface name":"Webdings","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"128106","Unicode hex":"1F46A"},{"Typeface name":"Webdings","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"128481","Unicode hex":"1F5E1"},{"Typeface name":"Webdings","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128482","Unicode hex":"1F5E2"},{"Typeface name":"Webdings","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"128483","Unicode hex":"1F5E3"},{"Typeface name":"Webdings","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"10031","Unicode hex":"272F"},{"Typeface name":"Webdings","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"128388","Unicode hex":"1F584"},{"Typeface name":"Webdings","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128389","Unicode hex":"1F585"},{"Typeface name":"Webdings","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128387","Unicode hex":"1F583"},{"Typeface name":"Webdings","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128390","Unicode hex":"1F586"},{"Typeface name":"Webdings","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"128441","Unicode hex":"1F5B9"},{"Typeface name":"Webdings","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"128442","Unicode hex":"1F5BA"},{"Typeface name":"Webdings","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"128443","Unicode hex":"1F5BB"},{"Typeface name":"Webdings","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"128373","Unicode hex":"1F575"},{"Typeface name":"Webdings","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"128368","Unicode hex":"1F570"},{"Typeface name":"Webdings","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"128445","Unicode hex":"1F5BD"},{"Typeface name":"Webdings","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"128446","Unicode hex":"1F5BE"},{"Typeface name":"Webdings","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128203","Unicode hex":"1F4CB"},{"Typeface name":"Webdings","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128466","Unicode hex":"1F5D2"},{"Typeface name":"Webdings","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128467","Unicode hex":"1F5D3"},{"Typeface name":"Webdings","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"128366","Unicode hex":"1F56E"},{"Typeface name":"Webdings","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"128218","Unicode hex":"1F4DA"},{"Typeface name":"Webdings","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128478","Unicode hex":"1F5DE"},{"Typeface name":"Webdings","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128479","Unicode hex":"1F5DF"},{"Typeface name":"Webdings","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"128451","Unicode hex":"1F5C3"},{"Typeface name":"Webdings","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128450","Unicode hex":"1F5C2"},{"Typeface name":"Webdings","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"128444","Unicode hex":"1F5BC"},{"Typeface name":"Webdings","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"127917","Unicode hex":"1F3AD"},{"Typeface name":"Webdings","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"127900","Unicode hex":"1F39C"},{"Typeface name":"Webdings","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"127896","Unicode hex":"1F398"},{"Typeface name":"Webdings","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"127897","Unicode hex":"1F399"},{"Typeface name":"Webdings","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"127911","Unicode hex":"1F3A7"},{"Typeface name":"Webdings","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"128191","Unicode hex":"1F4BF"},{"Typeface name":"Webdings","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"127902","Unicode hex":"1F39E"},{"Typeface name":"Webdings","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"128247","Unicode hex":"1F4F7"},{"Typeface name":"Webdings","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"127903","Unicode hex":"1F39F"},{"Typeface name":"Webdings","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"127916","Unicode hex":"1F3AC"},{"Typeface name":"Webdings","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"128253","Unicode hex":"1F4FD"},{"Typeface name":"Webdings","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128249","Unicode hex":"1F4F9"},{"Typeface name":"Webdings","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"128254","Unicode hex":"1F4FE"},{"Typeface name":"Webdings","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"128251","Unicode hex":"1F4FB"},{"Typeface name":"Webdings","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"127898","Unicode hex":"1F39A"},{"Typeface name":"Webdings","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"127899","Unicode hex":"1F39B"},{"Typeface name":"Webdings","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"128250","Unicode hex":"1F4FA"},{"Typeface name":"Webdings","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"128187","Unicode hex":"1F4BB"},{"Typeface name":"Webdings","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"128421","Unicode hex":"1F5A5"},{"Typeface name":"Webdings","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"128422","Unicode hex":"1F5A6"},{"Typeface name":"Webdings","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"128423","Unicode hex":"1F5A7"},{"Typeface name":"Webdings","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"128377","Unicode hex":"1F579"},{"Typeface name":"Webdings","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"127918","Unicode hex":"1F3AE"},{"Typeface name":"Webdings","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"128379","Unicode hex":"1F57B"},{"Typeface name":"Webdings","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"128380","Unicode hex":"1F57C"},{"Typeface name":"Webdings","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"128223","Unicode hex":"1F4DF"},{"Typeface name":"Webdings","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"128385","Unicode hex":"1F581"},{"Typeface name":"Webdings","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"128384","Unicode hex":"1F580"},{"Typeface name":"Webdings","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"128424","Unicode hex":"1F5A8"},{"Typeface name":"Webdings","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128425","Unicode hex":"1F5A9"},{"Typeface name":"Webdings","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128447","Unicode hex":"1F5BF"},{"Typeface name":"Webdings","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128426","Unicode hex":"1F5AA"},{"Typeface name":"Webdings","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128476","Unicode hex":"1F5DC"},{"Typeface name":"Webdings","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128274","Unicode hex":"1F512"},{"Typeface name":"Webdings","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128275","Unicode hex":"1F513"},{"Typeface name":"Webdings","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128477","Unicode hex":"1F5DD"},{"Typeface name":"Webdings","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128229","Unicode hex":"1F4E5"},{"Typeface name":"Webdings","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128228","Unicode hex":"1F4E4"},{"Typeface name":"Webdings","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128371","Unicode hex":"1F573"},{"Typeface name":"Webdings","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"127779","Unicode hex":"1F323"},{"Typeface name":"Webdings","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"127780","Unicode hex":"1F324"},{"Typeface name":"Webdings","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"127781","Unicode hex":"1F325"},{"Typeface name":"Webdings","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"127782","Unicode hex":"1F326"},{"Typeface name":"Webdings","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"9729","Unicode hex":"2601"},{"Typeface name":"Webdings","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"127784","Unicode hex":"1F328"},{"Typeface name":"Webdings","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"127783","Unicode hex":"1F327"},{"Typeface name":"Webdings","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"127785","Unicode hex":"1F329"},{"Typeface name":"Webdings","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"127786","Unicode hex":"1F32A"},{"Typeface name":"Webdings","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"127788","Unicode hex":"1F32C"},{"Typeface name":"Webdings","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"127787","Unicode hex":"1F32B"},{"Typeface name":"Webdings","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"127772","Unicode hex":"1F31C"},{"Typeface name":"Webdings","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"127777","Unicode hex":"1F321"},{"Typeface name":"Webdings","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"128715","Unicode hex":"1F6CB"},{"Typeface name":"Webdings","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"128719","Unicode hex":"1F6CF"},{"Typeface name":"Webdings","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"127869","Unicode hex":"1F37D"},{"Typeface name":"Webdings","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"127864","Unicode hex":"1F378"},{"Typeface name":"Webdings","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"128718","Unicode hex":"1F6CE"},{"Typeface name":"Webdings","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"128717","Unicode hex":"1F6CD"},{"Typeface name":"Webdings","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"9413","Unicode hex":"24C5"},{"Typeface name":"Webdings","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"9855","Unicode hex":"267F"},{"Typeface name":"Webdings","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"128710","Unicode hex":"1F6C6"},{"Typeface name":"Webdings","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"128392","Unicode hex":"1F588"},{"Typeface name":"Webdings","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"127891","Unicode hex":"1F393"},{"Typeface name":"Webdings","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"128484","Unicode hex":"1F5E4"},{"Typeface name":"Webdings","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"128485","Unicode hex":"1F5E5"},{"Typeface name":"Webdings","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"128486","Unicode hex":"1F5E6"},{"Typeface name":"Webdings","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"128487","Unicode hex":"1F5E7"},{"Typeface name":"Webdings","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"128746","Unicode hex":"1F6EA"},{"Typeface name":"Webdings","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"128063","Unicode hex":"1F43F"},{"Typeface name":"Webdings","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"128038","Unicode hex":"1F426"},{"Typeface name":"Webdings","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"128031","Unicode hex":"1F41F"},{"Typeface name":"Webdings","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"128021","Unicode hex":"1F415"},{"Typeface name":"Webdings","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"128008","Unicode hex":"1F408"},{"Typeface name":"Webdings","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"128620","Unicode hex":"1F66C"},{"Typeface name":"Webdings","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"128622","Unicode hex":"1F66E"},{"Typeface name":"Webdings","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"128621","Unicode hex":"1F66D"},{"Typeface name":"Webdings","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"128623","Unicode hex":"1F66F"},{"Typeface name":"Webdings","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"128506","Unicode hex":"1F5FA"},{"Typeface name":"Webdings","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"127757","Unicode hex":"1F30D"},{"Typeface name":"Webdings","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"127759","Unicode hex":"1F30F"},{"Typeface name":"Webdings","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"127758","Unicode hex":"1F30E"},{"Typeface name":"Webdings","Dingbat dec":"255","Dingbat hex":"FF","Unicode dec":"128330","Unicode hex":"1F54A"},{"Typeface name":"Wingdings","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128393","Unicode hex":"1F589"},{"Typeface name":"Wingdings","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"9986","Unicode hex":"2702"},{"Typeface name":"Wingdings","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"9985","Unicode hex":"2701"},{"Typeface name":"Wingdings","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128083","Unicode hex":"1F453"},{"Typeface name":"Wingdings","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"128365","Unicode hex":"1F56D"},{"Typeface name":"Wingdings","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"128366","Unicode hex":"1F56E"},{"Typeface name":"Wingdings","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128367","Unicode hex":"1F56F"},{"Typeface name":"Wingdings","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128383","Unicode hex":"1F57F"},{"Typeface name":"Wingdings","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"9990","Unicode hex":"2706"},{"Typeface name":"Wingdings","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128386","Unicode hex":"1F582"},{"Typeface name":"Wingdings","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128387","Unicode hex":"1F583"},{"Typeface name":"Wingdings","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"128234","Unicode hex":"1F4EA"},{"Typeface name":"Wingdings","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"128235","Unicode hex":"1F4EB"},{"Typeface name":"Wingdings","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128236","Unicode hex":"1F4EC"},{"Typeface name":"Wingdings","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128237","Unicode hex":"1F4ED"},{"Typeface name":"Wingdings","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128448","Unicode hex":"1F5C0"},{"Typeface name":"Wingdings","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128449","Unicode hex":"1F5C1"},{"Typeface name":"Wingdings","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128462","Unicode hex":"1F5CE"},{"Typeface name":"Wingdings","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"128463","Unicode hex":"1F5CF"},{"Typeface name":"Wingdings","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"128464","Unicode hex":"1F5D0"},{"Typeface name":"Wingdings","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"128452","Unicode hex":"1F5C4"},{"Typeface name":"Wingdings","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"8987","Unicode hex":"231B"},{"Typeface name":"Wingdings","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"128430","Unicode hex":"1F5AE"},{"Typeface name":"Wingdings","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"128432","Unicode hex":"1F5B0"},{"Typeface name":"Wingdings","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"128434","Unicode hex":"1F5B2"},{"Typeface name":"Wingdings","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"128435","Unicode hex":"1F5B3"},{"Typeface name":"Wingdings","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"128436","Unicode hex":"1F5B4"},{"Typeface name":"Wingdings","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"128427","Unicode hex":"1F5AB"},{"Typeface name":"Wingdings","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"128428","Unicode hex":"1F5AC"},{"Typeface name":"Wingdings","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"9991","Unicode hex":"2707"},{"Typeface name":"Wingdings","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"9997","Unicode hex":"270D"},{"Typeface name":"Wingdings","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128398","Unicode hex":"1F58E"},{"Typeface name":"Wingdings","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"9996","Unicode hex":"270C"},{"Typeface name":"Wingdings","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"128399","Unicode hex":"1F58F"},{"Typeface name":"Wingdings","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"128077","Unicode hex":"1F44D"},{"Typeface name":"Wingdings","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"128078","Unicode hex":"1F44E"},{"Typeface name":"Wingdings","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"9756","Unicode hex":"261C"},{"Typeface name":"Wingdings","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"9758","Unicode hex":"261E"},{"Typeface name":"Wingdings","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"9757","Unicode hex":"261D"},{"Typeface name":"Wingdings","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"9759","Unicode hex":"261F"},{"Typeface name":"Wingdings","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"128400","Unicode hex":"1F590"},{"Typeface name":"Wingdings","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"9786","Unicode hex":"263A"},{"Typeface name":"Wingdings","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128528","Unicode hex":"1F610"},{"Typeface name":"Wingdings","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"9785","Unicode hex":"2639"},{"Typeface name":"Wingdings","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"128163","Unicode hex":"1F4A3"},{"Typeface name":"Wingdings","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128369","Unicode hex":"1F571"},{"Typeface name":"Wingdings","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"127987","Unicode hex":"1F3F3"},{"Typeface name":"Wingdings","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"127985","Unicode hex":"1F3F1"},{"Typeface name":"Wingdings","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"9992","Unicode hex":"2708"},{"Typeface name":"Wingdings","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9788","Unicode hex":"263C"},{"Typeface name":"Wingdings","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"127778","Unicode hex":"1F322"},{"Typeface name":"Wingdings","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"10052","Unicode hex":"2744"},{"Typeface name":"Wingdings","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"128326","Unicode hex":"1F546"},{"Typeface name":"Wingdings","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"10014","Unicode hex":"271E"},{"Typeface name":"Wingdings","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128328","Unicode hex":"1F548"},{"Typeface name":"Wingdings","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"10016","Unicode hex":"2720"},{"Typeface name":"Wingdings","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"10017","Unicode hex":"2721"},{"Typeface name":"Wingdings","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"9770","Unicode hex":"262A"},{"Typeface name":"Wingdings","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"9775","Unicode hex":"262F"},{"Typeface name":"Wingdings","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128329","Unicode hex":"1F549"},{"Typeface name":"Wingdings","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"9784","Unicode hex":"2638"},{"Typeface name":"Wingdings","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"9800","Unicode hex":"2648"},{"Typeface name":"Wingdings","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"9801","Unicode hex":"2649"},{"Typeface name":"Wingdings","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"9802","Unicode hex":"264A"},{"Typeface name":"Wingdings","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"9803","Unicode hex":"264B"},{"Typeface name":"Wingdings","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"9804","Unicode hex":"264C"},{"Typeface name":"Wingdings","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"9805","Unicode hex":"264D"},{"Typeface name":"Wingdings","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"9806","Unicode hex":"264E"},{"Typeface name":"Wingdings","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"9807","Unicode hex":"264F"},{"Typeface name":"Wingdings","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"9808","Unicode hex":"2650"},{"Typeface name":"Wingdings","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"9809","Unicode hex":"2651"},{"Typeface name":"Wingdings","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"9810","Unicode hex":"2652"},{"Typeface name":"Wingdings","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"9811","Unicode hex":"2653"},{"Typeface name":"Wingdings","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"128624","Unicode hex":"1F670"},{"Typeface name":"Wingdings","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"128629","Unicode hex":"1F675"},{"Typeface name":"Wingdings","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"9899","Unicode hex":"26AB"},{"Typeface name":"Wingdings","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"128318","Unicode hex":"1F53E"},{"Typeface name":"Wingdings","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"9724","Unicode hex":"25FC"},{"Typeface name":"Wingdings","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"128911","Unicode hex":"1F78F"},{"Typeface name":"Wingdings","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"128912","Unicode hex":"1F790"},{"Typeface name":"Wingdings","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"10065","Unicode hex":"2751"},{"Typeface name":"Wingdings","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"10066","Unicode hex":"2752"},{"Typeface name":"Wingdings","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"128927","Unicode hex":"1F79F"},{"Typeface name":"Wingdings","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"10731","Unicode hex":"29EB"},{"Typeface name":"Wingdings","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"9670","Unicode hex":"25C6"},{"Typeface name":"Wingdings","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"10070","Unicode hex":"2756"},{"Typeface name":"Wingdings","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"11049","Unicode hex":"2B29"},{"Typeface name":"Wingdings","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"8999","Unicode hex":"2327"},{"Typeface name":"Wingdings","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"11193","Unicode hex":"2BB9"},{"Typeface name":"Wingdings","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"8984","Unicode hex":"2318"},{"Typeface name":"Wingdings","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"127989","Unicode hex":"1F3F5"},{"Typeface name":"Wingdings","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"127990","Unicode hex":"1F3F6"},{"Typeface name":"Wingdings","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128630","Unicode hex":"1F676"},{"Typeface name":"Wingdings","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128631","Unicode hex":"1F677"},{"Typeface name":"Wingdings","Dingbat dec":"127","Dingbat hex":"7F","Unicode dec":"9647","Unicode hex":"25AF"},{"Typeface name":"Wingdings","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"127243","Unicode hex":"1F10B"},{"Typeface name":"Wingdings","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"10112","Unicode hex":"2780"},{"Typeface name":"Wingdings","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"10113","Unicode hex":"2781"},{"Typeface name":"Wingdings","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"10114","Unicode hex":"2782"},{"Typeface name":"Wingdings","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"10115","Unicode hex":"2783"},{"Typeface name":"Wingdings","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"10116","Unicode hex":"2784"},{"Typeface name":"Wingdings","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"10117","Unicode hex":"2785"},{"Typeface name":"Wingdings","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"10118","Unicode hex":"2786"},{"Typeface name":"Wingdings","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"10119","Unicode hex":"2787"},{"Typeface name":"Wingdings","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"10120","Unicode hex":"2788"},{"Typeface name":"Wingdings","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"10121","Unicode hex":"2789"},{"Typeface name":"Wingdings","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"127244","Unicode hex":"1F10C"},{"Typeface name":"Wingdings","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"10122","Unicode hex":"278A"},{"Typeface name":"Wingdings","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"10123","Unicode hex":"278B"},{"Typeface name":"Wingdings","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"10124","Unicode hex":"278C"},{"Typeface name":"Wingdings","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"10125","Unicode hex":"278D"},{"Typeface name":"Wingdings","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"10126","Unicode hex":"278E"},{"Typeface name":"Wingdings","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"10127","Unicode hex":"278F"},{"Typeface name":"Wingdings","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"10128","Unicode hex":"2790"},{"Typeface name":"Wingdings","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"10129","Unicode hex":"2791"},{"Typeface name":"Wingdings","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"10130","Unicode hex":"2792"},{"Typeface name":"Wingdings","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"10131","Unicode hex":"2793"},{"Typeface name":"Wingdings","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128610","Unicode hex":"1F662"},{"Typeface name":"Wingdings","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"128608","Unicode hex":"1F660"},{"Typeface name":"Wingdings","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"128609","Unicode hex":"1F661"},{"Typeface name":"Wingdings","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"128611","Unicode hex":"1F663"},{"Typeface name":"Wingdings","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128606","Unicode hex":"1F65E"},{"Typeface name":"Wingdings","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128604","Unicode hex":"1F65C"},{"Typeface name":"Wingdings","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128605","Unicode hex":"1F65D"},{"Typeface name":"Wingdings","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"128607","Unicode hex":"1F65F"},{"Typeface name":"Wingdings","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"8729","Unicode hex":"2219"},{"Typeface name":"Wingdings","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"8226","Unicode hex":"2022"},{"Typeface name":"Wingdings","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"11037","Unicode hex":"2B1D"},{"Typeface name":"Wingdings","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"11096","Unicode hex":"2B58"},{"Typeface name":"Wingdings","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"128902","Unicode hex":"1F786"},{"Typeface name":"Wingdings","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"128904","Unicode hex":"1F788"},{"Typeface name":"Wingdings","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128906","Unicode hex":"1F78A"},{"Typeface name":"Wingdings","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128907","Unicode hex":"1F78B"},{"Typeface name":"Wingdings","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128319","Unicode hex":"1F53F"},{"Typeface name":"Wingdings","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"9642","Unicode hex":"25AA"},{"Typeface name":"Wingdings","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"128910","Unicode hex":"1F78E"},{"Typeface name":"Wingdings","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128961","Unicode hex":"1F7C1"},{"Typeface name":"Wingdings","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128965","Unicode hex":"1F7C5"},{"Typeface name":"Wingdings","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"9733","Unicode hex":"2605"},{"Typeface name":"Wingdings","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128971","Unicode hex":"1F7CB"},{"Typeface name":"Wingdings","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"128975","Unicode hex":"1F7CF"},{"Typeface name":"Wingdings","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"128979","Unicode hex":"1F7D3"},{"Typeface name":"Wingdings","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"128977","Unicode hex":"1F7D1"},{"Typeface name":"Wingdings","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"11216","Unicode hex":"2BD0"},{"Typeface name":"Wingdings","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"8982","Unicode hex":"2316"},{"Typeface name":"Wingdings","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"11214","Unicode hex":"2BCE"},{"Typeface name":"Wingdings","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"11215","Unicode hex":"2BCF"},{"Typeface name":"Wingdings","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"11217","Unicode hex":"2BD1"},{"Typeface name":"Wingdings","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"10026","Unicode hex":"272A"},{"Typeface name":"Wingdings","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"10032","Unicode hex":"2730"},{"Typeface name":"Wingdings","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"128336","Unicode hex":"1F550"},{"Typeface name":"Wingdings","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"128337","Unicode hex":"1F551"},{"Typeface name":"Wingdings","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128338","Unicode hex":"1F552"},{"Typeface name":"Wingdings","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"128339","Unicode hex":"1F553"},{"Typeface name":"Wingdings","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"128340","Unicode hex":"1F554"},{"Typeface name":"Wingdings","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"128341","Unicode hex":"1F555"},{"Typeface name":"Wingdings","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"128342","Unicode hex":"1F556"},{"Typeface name":"Wingdings","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"128343","Unicode hex":"1F557"},{"Typeface name":"Wingdings","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"128344","Unicode hex":"1F558"},{"Typeface name":"Wingdings","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"128345","Unicode hex":"1F559"},{"Typeface name":"Wingdings","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"128346","Unicode hex":"1F55A"},{"Typeface name":"Wingdings","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"128347","Unicode hex":"1F55B"},{"Typeface name":"Wingdings","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"11184","Unicode hex":"2BB0"},{"Typeface name":"Wingdings","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"11185","Unicode hex":"2BB1"},{"Typeface name":"Wingdings","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"11186","Unicode hex":"2BB2"},{"Typeface name":"Wingdings","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"11187","Unicode hex":"2BB3"},{"Typeface name":"Wingdings","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"11188","Unicode hex":"2BB4"},{"Typeface name":"Wingdings","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"11189","Unicode hex":"2BB5"},{"Typeface name":"Wingdings","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"11190","Unicode hex":"2BB6"},{"Typeface name":"Wingdings","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"11191","Unicode hex":"2BB7"},{"Typeface name":"Wingdings","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128618","Unicode hex":"1F66A"},{"Typeface name":"Wingdings","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128619","Unicode hex":"1F66B"},{"Typeface name":"Wingdings","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128597","Unicode hex":"1F655"},{"Typeface name":"Wingdings","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128596","Unicode hex":"1F654"},{"Typeface name":"Wingdings","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128599","Unicode hex":"1F657"},{"Typeface name":"Wingdings","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128598","Unicode hex":"1F656"},{"Typeface name":"Wingdings","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128592","Unicode hex":"1F650"},{"Typeface name":"Wingdings","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128593","Unicode hex":"1F651"},{"Typeface name":"Wingdings","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128594","Unicode hex":"1F652"},{"Typeface name":"Wingdings","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128595","Unicode hex":"1F653"},{"Typeface name":"Wingdings","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"9003","Unicode hex":"232B"},{"Typeface name":"Wingdings","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"8998","Unicode hex":"2326"},{"Typeface name":"Wingdings","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"11160","Unicode hex":"2B98"},{"Typeface name":"Wingdings","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"11162","Unicode hex":"2B9A"},{"Typeface name":"Wingdings","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"11161","Unicode hex":"2B99"},{"Typeface name":"Wingdings","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"11163","Unicode hex":"2B9B"},{"Typeface name":"Wingdings","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"11144","Unicode hex":"2B88"},{"Typeface name":"Wingdings","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"11146","Unicode hex":"2B8A"},{"Typeface name":"Wingdings","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"11145","Unicode hex":"2B89"},{"Typeface name":"Wingdings","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"11147","Unicode hex":"2B8B"},{"Typeface name":"Wingdings","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"129128","Unicode hex":"1F868"},{"Typeface name":"Wingdings","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"129130","Unicode hex":"1F86A"},{"Typeface name":"Wingdings","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"129129","Unicode hex":"1F869"},{"Typeface name":"Wingdings","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"129131","Unicode hex":"1F86B"},{"Typeface name":"Wingdings","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"129132","Unicode hex":"1F86C"},{"Typeface name":"Wingdings","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"129133","Unicode hex":"1F86D"},{"Typeface name":"Wingdings","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"129135","Unicode hex":"1F86F"},{"Typeface name":"Wingdings","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"129134","Unicode hex":"1F86E"},{"Typeface name":"Wingdings","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"129144","Unicode hex":"1F878"},{"Typeface name":"Wingdings","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"129146","Unicode hex":"1F87A"},{"Typeface name":"Wingdings","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"129145","Unicode hex":"1F879"},{"Typeface name":"Wingdings","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"129147","Unicode hex":"1F87B"},{"Typeface name":"Wingdings","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"129148","Unicode hex":"1F87C"},{"Typeface name":"Wingdings","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"129149","Unicode hex":"1F87D"},{"Typeface name":"Wingdings","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"129151","Unicode hex":"1F87F"},{"Typeface name":"Wingdings","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"129150","Unicode hex":"1F87E"},{"Typeface name":"Wingdings","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"8678","Unicode hex":"21E6"},{"Typeface name":"Wingdings","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"8680","Unicode hex":"21E8"},{"Typeface name":"Wingdings","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"8679","Unicode hex":"21E7"},{"Typeface name":"Wingdings","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"8681","Unicode hex":"21E9"},{"Typeface name":"Wingdings","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"11012","Unicode hex":"2B04"},{"Typeface name":"Wingdings","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"8691","Unicode hex":"21F3"},{"Typeface name":"Wingdings","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"11009","Unicode hex":"2B01"},{"Typeface name":"Wingdings","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"11008","Unicode hex":"2B00"},{"Typeface name":"Wingdings","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"11011","Unicode hex":"2B03"},{"Typeface name":"Wingdings","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"11010","Unicode hex":"2B02"},{"Typeface name":"Wingdings","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"129196","Unicode hex":"1F8AC"},{"Typeface name":"Wingdings","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"129197","Unicode hex":"1F8AD"},{"Typeface name":"Wingdings","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"128502","Unicode hex":"1F5F6"},{"Typeface name":"Wingdings","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"10003","Unicode hex":"2713"},{"Typeface name":"Wingdings","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"128503","Unicode hex":"1F5F7"},{"Typeface name":"Wingdings","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"128505","Unicode hex":"1F5F9"},{"Typeface name":"Wingdings 2","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings 2","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128394","Unicode hex":"1F58A"},{"Typeface name":"Wingdings 2","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"128395","Unicode hex":"1F58B"},{"Typeface name":"Wingdings 2","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"128396","Unicode hex":"1F58C"},{"Typeface name":"Wingdings 2","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128397","Unicode hex":"1F58D"},{"Typeface name":"Wingdings 2","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"9988","Unicode hex":"2704"},{"Typeface name":"Wingdings 2","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"9984","Unicode hex":"2700"},{"Typeface name":"Wingdings 2","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128382","Unicode hex":"1F57E"},{"Typeface name":"Wingdings 2","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128381","Unicode hex":"1F57D"},{"Typeface name":"Wingdings 2","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"128453","Unicode hex":"1F5C5"},{"Typeface name":"Wingdings 2","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128454","Unicode hex":"1F5C6"},{"Typeface name":"Wingdings 2","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128455","Unicode hex":"1F5C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"128456","Unicode hex":"1F5C8"},{"Typeface name":"Wingdings 2","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"128457","Unicode hex":"1F5C9"},{"Typeface name":"Wingdings 2","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128458","Unicode hex":"1F5CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128459","Unicode hex":"1F5CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128460","Unicode hex":"1F5CC"},{"Typeface name":"Wingdings 2","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128461","Unicode hex":"1F5CD"},{"Typeface name":"Wingdings 2","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128203","Unicode hex":"1F4CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"128465","Unicode hex":"1F5D1"},{"Typeface name":"Wingdings 2","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"128468","Unicode hex":"1F5D4"},{"Typeface name":"Wingdings 2","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"128437","Unicode hex":"1F5B5"},{"Typeface name":"Wingdings 2","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"128438","Unicode hex":"1F5B6"},{"Typeface name":"Wingdings 2","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"128439","Unicode hex":"1F5B7"},{"Typeface name":"Wingdings 2","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"128440","Unicode hex":"1F5B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"128429","Unicode hex":"1F5AD"},{"Typeface name":"Wingdings 2","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"128431","Unicode hex":"1F5AF"},{"Typeface name":"Wingdings 2","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"128433","Unicode hex":"1F5B1"},{"Typeface name":"Wingdings 2","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"128402","Unicode hex":"1F592"},{"Typeface name":"Wingdings 2","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"128403","Unicode hex":"1F593"},{"Typeface name":"Wingdings 2","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"128408","Unicode hex":"1F598"},{"Typeface name":"Wingdings 2","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"128409","Unicode hex":"1F599"},{"Typeface name":"Wingdings 2","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128410","Unicode hex":"1F59A"},{"Typeface name":"Wingdings 2","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"128411","Unicode hex":"1F59B"},{"Typeface name":"Wingdings 2","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"128072","Unicode hex":"1F448"},{"Typeface name":"Wingdings 2","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"128073","Unicode hex":"1F449"},{"Typeface name":"Wingdings 2","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"128412","Unicode hex":"1F59C"},{"Typeface name":"Wingdings 2","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"128413","Unicode hex":"1F59D"},{"Typeface name":"Wingdings 2","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"128414","Unicode hex":"1F59E"},{"Typeface name":"Wingdings 2","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"128415","Unicode hex":"1F59F"},{"Typeface name":"Wingdings 2","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"128416","Unicode hex":"1F5A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"128417","Unicode hex":"1F5A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"128070","Unicode hex":"1F446"},{"Typeface name":"Wingdings 2","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128071","Unicode hex":"1F447"},{"Typeface name":"Wingdings 2","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"128418","Unicode hex":"1F5A2"},{"Typeface name":"Wingdings 2","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"128419","Unicode hex":"1F5A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128401","Unicode hex":"1F591"},{"Typeface name":"Wingdings 2","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"128500","Unicode hex":"1F5F4"},{"Typeface name":"Wingdings 2","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"128504","Unicode hex":"1F5F8"},{"Typeface name":"Wingdings 2","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"128501","Unicode hex":"1F5F5"},{"Typeface name":"Wingdings 2","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9745","Unicode hex":"2611"},{"Typeface name":"Wingdings 2","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"11197","Unicode hex":"2BBD"},{"Typeface name":"Wingdings 2","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"9746","Unicode hex":"2612"},{"Typeface name":"Wingdings 2","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"11198","Unicode hex":"2BBE"},{"Typeface name":"Wingdings 2","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"11199","Unicode hex":"2BBF"},{"Typeface name":"Wingdings 2","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128711","Unicode hex":"1F6C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"10680","Unicode hex":"29B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"128625","Unicode hex":"1F671"},{"Typeface name":"Wingdings 2","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"128628","Unicode hex":"1F674"},{"Typeface name":"Wingdings 2","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"128626","Unicode hex":"1F672"},{"Typeface name":"Wingdings 2","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128627","Unicode hex":"1F673"},{"Typeface name":"Wingdings 2","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"8253","Unicode hex":"203D"},{"Typeface name":"Wingdings 2","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"128633","Unicode hex":"1F679"},{"Typeface name":"Wingdings 2","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"128634","Unicode hex":"1F67A"},{"Typeface name":"Wingdings 2","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"128635","Unicode hex":"1F67B"},{"Typeface name":"Wingdings 2","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"128614","Unicode hex":"1F666"},{"Typeface name":"Wingdings 2","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"128612","Unicode hex":"1F664"},{"Typeface name":"Wingdings 2","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"128613","Unicode hex":"1F665"},{"Typeface name":"Wingdings 2","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"128615","Unicode hex":"1F667"},{"Typeface name":"Wingdings 2","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"128602","Unicode hex":"1F65A"},{"Typeface name":"Wingdings 2","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"128600","Unicode hex":"1F658"},{"Typeface name":"Wingdings 2","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"128601","Unicode hex":"1F659"},{"Typeface name":"Wingdings 2","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"128603","Unicode hex":"1F65B"},{"Typeface name":"Wingdings 2","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"9450","Unicode hex":"24EA"},{"Typeface name":"Wingdings 2","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"9312","Unicode hex":"2460"},{"Typeface name":"Wingdings 2","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"9313","Unicode hex":"2461"},{"Typeface name":"Wingdings 2","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"9314","Unicode hex":"2462"},{"Typeface name":"Wingdings 2","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"9315","Unicode hex":"2463"},{"Typeface name":"Wingdings 2","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"9316","Unicode hex":"2464"},{"Typeface name":"Wingdings 2","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"9317","Unicode hex":"2465"},{"Typeface name":"Wingdings 2","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"9318","Unicode hex":"2466"},{"Typeface name":"Wingdings 2","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"9319","Unicode hex":"2467"},{"Typeface name":"Wingdings 2","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"9320","Unicode hex":"2468"},{"Typeface name":"Wingdings 2","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"9321","Unicode hex":"2469"},{"Typeface name":"Wingdings 2","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"9471","Unicode hex":"24FF"},{"Typeface name":"Wingdings 2","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"10102","Unicode hex":"2776"},{"Typeface name":"Wingdings 2","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"10103","Unicode hex":"2777"},{"Typeface name":"Wingdings 2","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"10104","Unicode hex":"2778"},{"Typeface name":"Wingdings 2","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"10105","Unicode hex":"2779"},{"Typeface name":"Wingdings 2","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"10106","Unicode hex":"277A"},{"Typeface name":"Wingdings 2","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"10107","Unicode hex":"277B"},{"Typeface name":"Wingdings 2","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"10108","Unicode hex":"277C"},{"Typeface name":"Wingdings 2","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"10109","Unicode hex":"277D"},{"Typeface name":"Wingdings 2","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"10110","Unicode hex":"277E"},{"Typeface name":"Wingdings 2","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"10111","Unicode hex":"277F"},{"Typeface name":"Wingdings 2","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"9737","Unicode hex":"2609"},{"Typeface name":"Wingdings 2","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"127765","Unicode hex":"1F315"},{"Typeface name":"Wingdings 2","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"9789","Unicode hex":"263D"},{"Typeface name":"Wingdings 2","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"9790","Unicode hex":"263E"},{"Typeface name":"Wingdings 2","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"11839","Unicode hex":"2E3F"},{"Typeface name":"Wingdings 2","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"10013","Unicode hex":"271D"},{"Typeface name":"Wingdings 2","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"128327","Unicode hex":"1F547"},{"Typeface name":"Wingdings 2","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"128348","Unicode hex":"1F55C"},{"Typeface name":"Wingdings 2","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"128349","Unicode hex":"1F55D"},{"Typeface name":"Wingdings 2","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"128350","Unicode hex":"1F55E"},{"Typeface name":"Wingdings 2","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"128351","Unicode hex":"1F55F"},{"Typeface name":"Wingdings 2","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"128352","Unicode hex":"1F560"},{"Typeface name":"Wingdings 2","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"128353","Unicode hex":"1F561"},{"Typeface name":"Wingdings 2","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"128354","Unicode hex":"1F562"},{"Typeface name":"Wingdings 2","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"128355","Unicode hex":"1F563"},{"Typeface name":"Wingdings 2","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"128356","Unicode hex":"1F564"},{"Typeface name":"Wingdings 2","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"128357","Unicode hex":"1F565"},{"Typeface name":"Wingdings 2","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"128358","Unicode hex":"1F566"},{"Typeface name":"Wingdings 2","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"128359","Unicode hex":"1F567"},{"Typeface name":"Wingdings 2","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"128616","Unicode hex":"1F668"},{"Typeface name":"Wingdings 2","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"128617","Unicode hex":"1F669"},{"Typeface name":"Wingdings 2","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"8901","Unicode hex":"22C5"},{"Typeface name":"Wingdings 2","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128900","Unicode hex":"1F784"},{"Typeface name":"Wingdings 2","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"10625","Unicode hex":"2981"},{"Typeface name":"Wingdings 2","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"9679","Unicode hex":"25CF"},{"Typeface name":"Wingdings 2","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"9675","Unicode hex":"25CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128901","Unicode hex":"1F785"},{"Typeface name":"Wingdings 2","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128903","Unicode hex":"1F787"},{"Typeface name":"Wingdings 2","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128905","Unicode hex":"1F789"},{"Typeface name":"Wingdings 2","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"8857","Unicode hex":"2299"},{"Typeface name":"Wingdings 2","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"10687","Unicode hex":"29BF"},{"Typeface name":"Wingdings 2","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"128908","Unicode hex":"1F78C"},{"Typeface name":"Wingdings 2","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"128909","Unicode hex":"1F78D"},{"Typeface name":"Wingdings 2","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"9726","Unicode hex":"25FE"},{"Typeface name":"Wingdings 2","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"9632","Unicode hex":"25A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"9633","Unicode hex":"25A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128913","Unicode hex":"1F791"},{"Typeface name":"Wingdings 2","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128914","Unicode hex":"1F792"},{"Typeface name":"Wingdings 2","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128915","Unicode hex":"1F793"},{"Typeface name":"Wingdings 2","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"128916","Unicode hex":"1F794"},{"Typeface name":"Wingdings 2","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"9635","Unicode hex":"25A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128917","Unicode hex":"1F795"},{"Typeface name":"Wingdings 2","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128918","Unicode hex":"1F796"},{"Typeface name":"Wingdings 2","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"128919","Unicode hex":"1F797"},{"Typeface name":"Wingdings 2","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128920","Unicode hex":"1F798"},{"Typeface name":"Wingdings 2","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"11049","Unicode hex":"2B29"},{"Typeface name":"Wingdings 2","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"11045","Unicode hex":"2B25"},{"Typeface name":"Wingdings 2","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"9671","Unicode hex":"25C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"128922","Unicode hex":"1F79A"},{"Typeface name":"Wingdings 2","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"9672","Unicode hex":"25C8"},{"Typeface name":"Wingdings 2","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"128923","Unicode hex":"1F79B"},{"Typeface name":"Wingdings 2","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"128924","Unicode hex":"1F79C"},{"Typeface name":"Wingdings 2","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"128925","Unicode hex":"1F79D"},{"Typeface name":"Wingdings 2","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"128926","Unicode hex":"1F79E"},{"Typeface name":"Wingdings 2","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"11050","Unicode hex":"2B2A"},{"Typeface name":"Wingdings 2","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"11047","Unicode hex":"2B27"},{"Typeface name":"Wingdings 2","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"9674","Unicode hex":"25CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128928","Unicode hex":"1F7A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"9686","Unicode hex":"25D6"},{"Typeface name":"Wingdings 2","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"9687","Unicode hex":"25D7"},{"Typeface name":"Wingdings 2","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"11210","Unicode hex":"2BCA"},{"Typeface name":"Wingdings 2","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"11211","Unicode hex":"2BCB"},{"Typeface name":"Wingdings 2","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"11200","Unicode hex":"2BC0"},{"Typeface name":"Wingdings 2","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"11201","Unicode hex":"2BC1"},{"Typeface name":"Wingdings 2","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"11039","Unicode hex":"2B1F"},{"Typeface name":"Wingdings 2","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"11202","Unicode hex":"2BC2"},{"Typeface name":"Wingdings 2","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"11043","Unicode hex":"2B23"},{"Typeface name":"Wingdings 2","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"11042","Unicode hex":"2B22"},{"Typeface name":"Wingdings 2","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"11203","Unicode hex":"2BC3"},{"Typeface name":"Wingdings 2","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"11204","Unicode hex":"2BC4"},{"Typeface name":"Wingdings 2","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"128929","Unicode hex":"1F7A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"128930","Unicode hex":"1F7A2"},{"Typeface name":"Wingdings 2","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"128931","Unicode hex":"1F7A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"128932","Unicode hex":"1F7A4"},{"Typeface name":"Wingdings 2","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"128933","Unicode hex":"1F7A5"},{"Typeface name":"Wingdings 2","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128934","Unicode hex":"1F7A6"},{"Typeface name":"Wingdings 2","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128935","Unicode hex":"1F7A7"},{"Typeface name":"Wingdings 2","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128936","Unicode hex":"1F7A8"},{"Typeface name":"Wingdings 2","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128937","Unicode hex":"1F7A9"},{"Typeface name":"Wingdings 2","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128938","Unicode hex":"1F7AA"},{"Typeface name":"Wingdings 2","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128939","Unicode hex":"1F7AB"},{"Typeface name":"Wingdings 2","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128940","Unicode hex":"1F7AC"},{"Typeface name":"Wingdings 2","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128941","Unicode hex":"1F7AD"},{"Typeface name":"Wingdings 2","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128942","Unicode hex":"1F7AE"},{"Typeface name":"Wingdings 2","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128943","Unicode hex":"1F7AF"},{"Typeface name":"Wingdings 2","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"128944","Unicode hex":"1F7B0"},{"Typeface name":"Wingdings 2","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"128945","Unicode hex":"1F7B1"},{"Typeface name":"Wingdings 2","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"128946","Unicode hex":"1F7B2"},{"Typeface name":"Wingdings 2","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"128947","Unicode hex":"1F7B3"},{"Typeface name":"Wingdings 2","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"128948","Unicode hex":"1F7B4"},{"Typeface name":"Wingdings 2","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"128949","Unicode hex":"1F7B5"},{"Typeface name":"Wingdings 2","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"128950","Unicode hex":"1F7B6"},{"Typeface name":"Wingdings 2","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"128951","Unicode hex":"1F7B7"},{"Typeface name":"Wingdings 2","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"128952","Unicode hex":"1F7B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"128953","Unicode hex":"1F7B9"},{"Typeface name":"Wingdings 2","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"128954","Unicode hex":"1F7BA"},{"Typeface name":"Wingdings 2","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"128955","Unicode hex":"1F7BB"},{"Typeface name":"Wingdings 2","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"128956","Unicode hex":"1F7BC"},{"Typeface name":"Wingdings 2","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"128957","Unicode hex":"1F7BD"},{"Typeface name":"Wingdings 2","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"128958","Unicode hex":"1F7BE"},{"Typeface name":"Wingdings 2","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"128959","Unicode hex":"1F7BF"},{"Typeface name":"Wingdings 2","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"128960","Unicode hex":"1F7C0"},{"Typeface name":"Wingdings 2","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"128962","Unicode hex":"1F7C2"},{"Typeface name":"Wingdings 2","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"128964","Unicode hex":"1F7C4"},{"Typeface name":"Wingdings 2","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"128966","Unicode hex":"1F7C6"},{"Typeface name":"Wingdings 2","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"128969","Unicode hex":"1F7C9"},{"Typeface name":"Wingdings 2","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"128970","Unicode hex":"1F7CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"10038","Unicode hex":"2736"},{"Typeface name":"Wingdings 2","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"128972","Unicode hex":"1F7CC"},{"Typeface name":"Wingdings 2","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"128974","Unicode hex":"1F7CE"},{"Typeface name":"Wingdings 2","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"128976","Unicode hex":"1F7D0"},{"Typeface name":"Wingdings 2","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"128978","Unicode hex":"1F7D2"},{"Typeface name":"Wingdings 2","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"10041","Unicode hex":"2739"},{"Typeface name":"Wingdings 2","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"128963","Unicode hex":"1F7C3"},{"Typeface name":"Wingdings 2","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"128967","Unicode hex":"1F7C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"10031","Unicode hex":"272F"},{"Typeface name":"Wingdings 2","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"128973","Unicode hex":"1F7CD"},{"Typeface name":"Wingdings 2","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"128980","Unicode hex":"1F7D4"},{"Typeface name":"Wingdings 2","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"11212","Unicode hex":"2BCC"},{"Typeface name":"Wingdings 2","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"11213","Unicode hex":"2BCD"},{"Typeface name":"Wingdings 2","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"8251","Unicode hex":"203B"},{"Typeface name":"Wingdings 2","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"8258","Unicode hex":"2042"},{"Typeface name":"Wingdings 3","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings 3","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"11104","Unicode hex":"2B60"},{"Typeface name":"Wingdings 3","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"11106","Unicode hex":"2B62"},{"Typeface name":"Wingdings 3","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"11105","Unicode hex":"2B61"},{"Typeface name":"Wingdings 3","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"11107","Unicode hex":"2B63"},{"Typeface name":"Wingdings 3","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"11110","Unicode hex":"2B66"},{"Typeface name":"Wingdings 3","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"11111","Unicode hex":"2B67"},{"Typeface name":"Wingdings 3","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"11113","Unicode hex":"2B69"},{"Typeface name":"Wingdings 3","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"11112","Unicode hex":"2B68"},{"Typeface name":"Wingdings 3","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"11120","Unicode hex":"2B70"},{"Typeface name":"Wingdings 3","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"11122","Unicode hex":"2B72"},{"Typeface name":"Wingdings 3","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"11121","Unicode hex":"2B71"},{"Typeface name":"Wingdings 3","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"11123","Unicode hex":"2B73"},{"Typeface name":"Wingdings 3","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"11126","Unicode hex":"2B76"},{"Typeface name":"Wingdings 3","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"11128","Unicode hex":"2B78"},{"Typeface name":"Wingdings 3","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"11131","Unicode hex":"2B7B"},{"Typeface name":"Wingdings 3","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"11133","Unicode hex":"2B7D"},{"Typeface name":"Wingdings 3","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"11108","Unicode hex":"2B64"},{"Typeface name":"Wingdings 3","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"11109","Unicode hex":"2B65"},{"Typeface name":"Wingdings 3","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"11114","Unicode hex":"2B6A"},{"Typeface name":"Wingdings 3","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"11116","Unicode hex":"2B6C"},{"Typeface name":"Wingdings 3","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"11115","Unicode hex":"2B6B"},{"Typeface name":"Wingdings 3","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"11117","Unicode hex":"2B6D"},{"Typeface name":"Wingdings 3","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"11085","Unicode hex":"2B4D"},{"Typeface name":"Wingdings 3","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"11168","Unicode hex":"2BA0"},{"Typeface name":"Wingdings 3","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"11169","Unicode hex":"2BA1"},{"Typeface name":"Wingdings 3","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"11170","Unicode hex":"2BA2"},{"Typeface name":"Wingdings 3","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"11171","Unicode hex":"2BA3"},{"Typeface name":"Wingdings 3","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"11172","Unicode hex":"2BA4"},{"Typeface name":"Wingdings 3","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"11173","Unicode hex":"2BA5"},{"Typeface name":"Wingdings 3","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"11174","Unicode hex":"2BA6"},{"Typeface name":"Wingdings 3","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"11175","Unicode hex":"2BA7"},{"Typeface name":"Wingdings 3","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"11152","Unicode hex":"2B90"},{"Typeface name":"Wingdings 3","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"11153","Unicode hex":"2B91"},{"Typeface name":"Wingdings 3","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"11154","Unicode hex":"2B92"},{"Typeface name":"Wingdings 3","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"11155","Unicode hex":"2B93"},{"Typeface name":"Wingdings 3","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"11136","Unicode hex":"2B80"},{"Typeface name":"Wingdings 3","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"11139","Unicode hex":"2B83"},{"Typeface name":"Wingdings 3","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"11134","Unicode hex":"2B7E"},{"Typeface name":"Wingdings 3","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"11135","Unicode hex":"2B7F"},{"Typeface name":"Wingdings 3","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"11140","Unicode hex":"2B84"},{"Typeface name":"Wingdings 3","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"11142","Unicode hex":"2B86"},{"Typeface name":"Wingdings 3","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"11141","Unicode hex":"2B85"},{"Typeface name":"Wingdings 3","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"11143","Unicode hex":"2B87"},{"Typeface name":"Wingdings 3","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"11151","Unicode hex":"2B8F"},{"Typeface name":"Wingdings 3","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"11149","Unicode hex":"2B8D"},{"Typeface name":"Wingdings 3","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"11150","Unicode hex":"2B8E"},{"Typeface name":"Wingdings 3","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"11148","Unicode hex":"2B8C"},{"Typeface name":"Wingdings 3","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"11118","Unicode hex":"2B6E"},{"Typeface name":"Wingdings 3","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"11119","Unicode hex":"2B6F"},{"Typeface name":"Wingdings 3","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9099","Unicode hex":"238B"},{"Typeface name":"Wingdings 3","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"8996","Unicode hex":"2324"},{"Typeface name":"Wingdings 3","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"8963","Unicode hex":"2303"},{"Typeface name":"Wingdings 3","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"8997","Unicode hex":"2325"},{"Typeface name":"Wingdings 3","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"9251","Unicode hex":"2423"},{"Typeface name":"Wingdings 3","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"9085","Unicode hex":"237D"},{"Typeface name":"Wingdings 3","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"8682","Unicode hex":"21EA"},{"Typeface name":"Wingdings 3","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"11192","Unicode hex":"2BB8"},{"Typeface name":"Wingdings 3","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"129184","Unicode hex":"1F8A0"},{"Typeface name":"Wingdings 3","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"129185","Unicode hex":"1F8A1"},{"Typeface name":"Wingdings 3","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"129186","Unicode hex":"1F8A2"},{"Typeface name":"Wingdings 3","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"129187","Unicode hex":"1F8A3"},{"Typeface name":"Wingdings 3","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"129188","Unicode hex":"1F8A4"},{"Typeface name":"Wingdings 3","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"129189","Unicode hex":"1F8A5"},{"Typeface name":"Wingdings 3","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"129190","Unicode hex":"1F8A6"},{"Typeface name":"Wingdings 3","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"129191","Unicode hex":"1F8A7"},{"Typeface name":"Wingdings 3","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"129192","Unicode hex":"1F8A8"},{"Typeface name":"Wingdings 3","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"129193","Unicode hex":"1F8A9"},{"Typeface name":"Wingdings 3","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"129194","Unicode hex":"1F8AA"},{"Typeface name":"Wingdings 3","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"129195","Unicode hex":"1F8AB"},{"Typeface name":"Wingdings 3","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"129104","Unicode hex":"1F850"},{"Typeface name":"Wingdings 3","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"129106","Unicode hex":"1F852"},{"Typeface name":"Wingdings 3","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"129105","Unicode hex":"1F851"},{"Typeface name":"Wingdings 3","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"129107","Unicode hex":"1F853"},{"Typeface name":"Wingdings 3","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"129108","Unicode hex":"1F854"},{"Typeface name":"Wingdings 3","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"129109","Unicode hex":"1F855"},{"Typeface name":"Wingdings 3","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"129111","Unicode hex":"1F857"},{"Typeface name":"Wingdings 3","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"129110","Unicode hex":"1F856"},{"Typeface name":"Wingdings 3","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"129112","Unicode hex":"1F858"},{"Typeface name":"Wingdings 3","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"129113","Unicode hex":"1F859"},{"Typeface name":"Wingdings 3","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"9650","Unicode hex":"25B2"},{"Typeface name":"Wingdings 3","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"9660","Unicode hex":"25BC"},{"Typeface name":"Wingdings 3","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"9651","Unicode hex":"25B3"},{"Typeface name":"Wingdings 3","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"9661","Unicode hex":"25BD"},{"Typeface name":"Wingdings 3","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"9664","Unicode hex":"25C0"},{"Typeface name":"Wingdings 3","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"9654","Unicode hex":"25B6"},{"Typeface name":"Wingdings 3","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"9665","Unicode hex":"25C1"},{"Typeface name":"Wingdings 3","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"9655","Unicode hex":"25B7"},{"Typeface name":"Wingdings 3","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"9699","Unicode hex":"25E3"},{"Typeface name":"Wingdings 3","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"9698","Unicode hex":"25E2"},{"Typeface name":"Wingdings 3","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"9700","Unicode hex":"25E4"},{"Typeface name":"Wingdings 3","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"9701","Unicode hex":"25E5"},{"Typeface name":"Wingdings 3","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"128896","Unicode hex":"1F780"},{"Typeface name":"Wingdings 3","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128898","Unicode hex":"1F782"},{"Typeface name":"Wingdings 3","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128897","Unicode hex":"1F781"},{"Typeface name":"Wingdings 3","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"128899","Unicode hex":"1F783"},{"Typeface name":"Wingdings 3","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"11205","Unicode hex":"2BC5"},{"Typeface name":"Wingdings 3","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"11206","Unicode hex":"2BC6"},{"Typeface name":"Wingdings 3","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"11207","Unicode hex":"2BC7"},{"Typeface name":"Wingdings 3","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"11208","Unicode hex":"2BC8"},{"Typeface name":"Wingdings 3","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"11164","Unicode hex":"2B9C"},{"Typeface name":"Wingdings 3","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"11166","Unicode hex":"2B9E"},{"Typeface name":"Wingdings 3","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"11165","Unicode hex":"2B9D"},{"Typeface name":"Wingdings 3","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"11167","Unicode hex":"2B9F"},{"Typeface name":"Wingdings 3","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"129040","Unicode hex":"1F810"},{"Typeface name":"Wingdings 3","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"129042","Unicode hex":"1F812"},{"Typeface name":"Wingdings 3","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"129041","Unicode hex":"1F811"},{"Typeface name":"Wingdings 3","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"129043","Unicode hex":"1F813"},{"Typeface name":"Wingdings 3","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"129044","Unicode hex":"1F814"},{"Typeface name":"Wingdings 3","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"129046","Unicode hex":"1F816"},{"Typeface name":"Wingdings 3","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"129045","Unicode hex":"1F815"},{"Typeface name":"Wingdings 3","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"129047","Unicode hex":"1F817"},{"Typeface name":"Wingdings 3","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"129048","Unicode hex":"1F818"},{"Typeface name":"Wingdings 3","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"129050","Unicode hex":"1F81A"},{"Typeface name":"Wingdings 3","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"129049","Unicode hex":"1F819"},{"Typeface name":"Wingdings 3","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"129051","Unicode hex":"1F81B"},{"Typeface name":"Wingdings 3","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"129052","Unicode hex":"1F81C"},{"Typeface name":"Wingdings 3","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"129054","Unicode hex":"1F81E"},{"Typeface name":"Wingdings 3","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"129053","Unicode hex":"1F81D"},{"Typeface name":"Wingdings 3","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"129055","Unicode hex":"1F81F"},{"Typeface name":"Wingdings 3","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"129024","Unicode hex":"1F800"},{"Typeface name":"Wingdings 3","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"129026","Unicode hex":"1F802"},{"Typeface name":"Wingdings 3","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"129025","Unicode hex":"1F801"},{"Typeface name":"Wingdings 3","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"129027","Unicode hex":"1F803"},{"Typeface name":"Wingdings 3","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"129028","Unicode hex":"1F804"},{"Typeface name":"Wingdings 3","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"129030","Unicode hex":"1F806"},{"Typeface name":"Wingdings 3","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"129029","Unicode hex":"1F805"},{"Typeface name":"Wingdings 3","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"129031","Unicode hex":"1F807"},{"Typeface name":"Wingdings 3","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"129032","Unicode hex":"1F808"},{"Typeface name":"Wingdings 3","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"129034","Unicode hex":"1F80A"},{"Typeface name":"Wingdings 3","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"129033","Unicode hex":"1F809"},{"Typeface name":"Wingdings 3","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"129035","Unicode hex":"1F80B"},{"Typeface name":"Wingdings 3","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"129056","Unicode hex":"1F820"},{"Typeface name":"Wingdings 3","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"129058","Unicode hex":"1F822"},{"Typeface name":"Wingdings 3","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"129060","Unicode hex":"1F824"},{"Typeface name":"Wingdings 3","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"129062","Unicode hex":"1F826"},{"Typeface name":"Wingdings 3","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"129064","Unicode hex":"1F828"},{"Typeface name":"Wingdings 3","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"129066","Unicode hex":"1F82A"},{"Typeface name":"Wingdings 3","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"129068","Unicode hex":"1F82C"},{"Typeface name":"Wingdings 3","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"129180","Unicode hex":"1F89C"},{"Typeface name":"Wingdings 3","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"129181","Unicode hex":"1F89D"},{"Typeface name":"Wingdings 3","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"129182","Unicode hex":"1F89E"},{"Typeface name":"Wingdings 3","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"129183","Unicode hex":"1F89F"},{"Typeface name":"Wingdings 3","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"129070","Unicode hex":"1F82E"},{"Typeface name":"Wingdings 3","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"129072","Unicode hex":"1F830"},{"Typeface name":"Wingdings 3","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"129074","Unicode hex":"1F832"},{"Typeface name":"Wingdings 3","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"129076","Unicode hex":"1F834"},{"Typeface name":"Wingdings 3","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"129078","Unicode hex":"1F836"},{"Typeface name":"Wingdings 3","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"129080","Unicode hex":"1F838"},{"Typeface name":"Wingdings 3","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"129082","Unicode hex":"1F83A"},{"Typeface name":"Wingdings 3","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"129081","Unicode hex":"1F839"},{"Typeface name":"Wingdings 3","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"129083","Unicode hex":"1F83B"},{"Typeface name":"Wingdings 3","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"129176","Unicode hex":"1F898"},{"Typeface name":"Wingdings 3","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"129178","Unicode hex":"1F89A"},{"Typeface name":"Wingdings 3","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"129177","Unicode hex":"1F899"},{"Typeface name":"Wingdings 3","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"129179","Unicode hex":"1F89B"},{"Typeface name":"Wingdings 3","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"129084","Unicode hex":"1F83C"},{"Typeface name":"Wingdings 3","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"129086","Unicode hex":"1F83E"},{"Typeface name":"Wingdings 3","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"129085","Unicode hex":"1F83D"},{"Typeface name":"Wingdings 3","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"129087","Unicode hex":"1F83F"},{"Typeface name":"Wingdings 3","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"129088","Unicode hex":"1F840"},{"Typeface name":"Wingdings 3","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"129090","Unicode hex":"1F842"},{"Typeface name":"Wingdings 3","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"129089","Unicode hex":"1F841"},{"Typeface name":"Wingdings 3","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"129091","Unicode hex":"1F843"},{"Typeface name":"Wingdings 3","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"129092","Unicode hex":"1F844"},{"Typeface name":"Wingdings 3","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"129094","Unicode hex":"1F846"},{"Typeface name":"Wingdings 3","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"129093","Unicode hex":"1F845"},{"Typeface name":"Wingdings 3","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"129095","Unicode hex":"1F847"},{"Typeface name":"Wingdings 3","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"11176","Unicode hex":"2BA8"},{"Typeface name":"Wingdings 3","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"11177","Unicode hex":"2BA9"},{"Typeface name":"Wingdings 3","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"11178","Unicode hex":"2BAA"},{"Typeface name":"Wingdings 3","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"11179","Unicode hex":"2BAB"},{"Typeface name":"Wingdings 3","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"11180","Unicode hex":"2BAC"},{"Typeface name":"Wingdings 3","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"11181","Unicode hex":"2BAD"},{"Typeface name":"Wingdings 3","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"11182","Unicode hex":"2BAE"},{"Typeface name":"Wingdings 3","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"11183","Unicode hex":"2BAF"},{"Typeface name":"Wingdings 3","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"129120","Unicode hex":"1F860"},{"Typeface name":"Wingdings 3","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"129122","Unicode hex":"1F862"},{"Typeface name":"Wingdings 3","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"129121","Unicode hex":"1F861"},{"Typeface name":"Wingdings 3","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"129123","Unicode hex":"1F863"},{"Typeface name":"Wingdings 3","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"129124","Unicode hex":"1F864"},{"Typeface name":"Wingdings 3","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"129125","Unicode hex":"1F865"},{"Typeface name":"Wingdings 3","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"129127","Unicode hex":"1F867"},{"Typeface name":"Wingdings 3","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"129126","Unicode hex":"1F866"},{"Typeface name":"Wingdings 3","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"129136","Unicode hex":"1F870"},{"Typeface name":"Wingdings 3","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"129138","Unicode hex":"1F872"},{"Typeface name":"Wingdings 3","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"129137","Unicode hex":"1F871"},{"Typeface name":"Wingdings 3","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"129139","Unicode hex":"1F873"},{"Typeface name":"Wingdings 3","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"129140","Unicode hex":"1F874"},{"Typeface name":"Wingdings 3","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"129141","Unicode hex":"1F875"},{"Typeface name":"Wingdings 3","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"129143","Unicode hex":"1F877"},{"Typeface name":"Wingdings 3","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"129142","Unicode hex":"1F876"},{"Typeface name":"Wingdings 3","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"129152","Unicode hex":"1F880"},{"Typeface name":"Wingdings 3","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"129154","Unicode hex":"1F882"},{"Typeface name":"Wingdings 3","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"129153","Unicode hex":"1F881"},{"Typeface name":"Wingdings 3","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"129155","Unicode hex":"1F883"},{"Typeface name":"Wingdings 3","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"129156","Unicode hex":"1F884"},{"Typeface name":"Wingdings 3","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"129157","Unicode hex":"1F885"},{"Typeface name":"Wingdings 3","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"129159","Unicode hex":"1F887"},{"Typeface name":"Wingdings 3","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"129158","Unicode hex":"1F886"},{"Typeface name":"Wingdings 3","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"129168","Unicode hex":"1F890"},{"Typeface name":"Wingdings 3","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"129170","Unicode hex":"1F892"},{"Typeface name":"Wingdings 3","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"129169","Unicode hex":"1F891"},{"Typeface name":"Wingdings 3","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"129171","Unicode hex":"1F893"},{"Typeface name":"Wingdings 3","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"129172","Unicode hex":"1F894"},{"Typeface name":"Wingdings 3","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"129174","Unicode hex":"1F896"},{"Typeface name":"Wingdings 3","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"129173","Unicode hex":"1F895"},{"Typeface name":"Wingdings 3","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"129175","Unicode hex":"1F897"}]
214;Is.default=Gp;var Zp=Ee&&Ee.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ln,"__esModule",{value:!0});ln.hex=ln.dec=ln.codePoint=void 0;var Qp=Zp(Is),zu={},Yp=String.fromCodePoint?String.fromCodePoint:rg;for(var Ya=0,el=Qp.default;Ya<el.length;Ya++){var es=el[Ya],tl=parseInt(es["Unicode dec"],10),eg={codePoint:tl,string:Yp(tl)};zu[es["Typeface name"].toUpperCase()+"_"+es["Dingbat dec"]]=eg}function Ls(e,t){return zu[e.toUpperCase()+"_"+t]}ln.codePoint=Ls;function tg(e,t){return Ls(e,parseInt(t,10))}ln.dec=tg;function ng(e,t){return Ls(e,parseInt(t,16))}ln.hex=ng;function rg(e){if(e<=65535)return String.fromCharCode(e);var t=Math.floor((e-65536)/1024)+55296,r=(e-65536)%1024+56320;return String.fromCharCode(t,r)}var hn={},nl=$e;hn.paragraph=ig;hn.run=ag;hn._elements=Nu;hn._elementsOfType=Ms;hn.getDescendantsOfType=sg;hn.getDescendants=Su;function ig(e){return Ms("paragraph",e)}function ag(e){return Ms("run",e)}function Ms(e,t){return Nu(function(r){return r.type===e?t(r):r})}function Nu(e){return function t(r){if(r.children){var i=nl.map(r.children,t);r=nl.extend(r,{children:i})}return e(r)}}function sg(e,t){return Su(e).filter(function(r){return r.type===t})}function Su(e){var t=[];return Bu(e,function(r){t.push(r)}),t}function Bu(e,t){e.children&&e.children.forEach(function(r){Bu(r,t),t(r)})}var qs={};qs.uriToZipEntryName=og;qs.replaceFragment=cg;function og(e,t){return t.charAt(0)==="/"?t.substr(1):e+"/"+t}function cg(e,t){var r=e.indexOf("#");return r!==-1&&(e=e.substring(0,r)),e+"#"+t}Rs.createBodyReader=ug;Rs._readNumberingProperties=Ou;var rl=ln,Ut=$e,qe=Ne,Wu=_t.Result,Kt=_t.warning,lg=nn,il=hn,al=qs;function ug(e){return{readXmlElement:function(t){return new sl(e).readXmlElement(t)},readXmlElements:function(t){return new sl(e).readXmlElements(t)}}}function sl(e){var t=[],r=[],i=[],s=e.relationships,c=e.contentTypes,o=e.docxFile,a=e.files,l=e.numbering,f=e.styles;function m(ne){var le=ne.map(b);return ol(le)}function b(ne){if(ne.type==="element"){var le=U[ne.name];if(le)return le(ne);if(!Object.prototype.hasOwnProperty.call(hg,ne.name)){var D=Kt("An unrecognised element was ignored: "+ne.name);return ur([D])}}return Nn()}function x(ne){return g(ne).map(function(le){return{type:"paragraphProperties",styleId:le.styleId,styleName:le.name,alignment:ne.firstOrEmpty("w:jc").attributes["w:val"],numbering:Ou(le.styleId,ne.firstOrEmpty("w:numPr"),l),indent:p(ne.firstOrEmpty("w:ind"))}})}function p(ne){return{start:ne.attributes["w:start"]||ne.attributes["w:left"],end:ne.attributes["w:end"]||ne.attributes["w:right"],firstLine:ne.attributes["w:firstLine"],hanging:ne.attributes["w:hanging"]}}function v(ne){return k(ne).map(function(le){var D=ne.firstOrEmpty("w:sz").attributes["w:val"],re=/^[0-9]+$/.test(D)?parseInt(D,10)/2:null;return{type:"runProperties",styleId:le.styleId,styleName:le.name,verticalAlignment:ne.firstOrEmpty("w:vertAlign").attributes["w:val"],font:ne.firstOrEmpty("w:rFonts").attributes["w:ascii"],fontSize:re,isBold:d(ne.first("w:b")),isUnderline:u(ne.first("w:u")),isItalic:d(ne.first("w:i")),isStrikethrough:d(ne.first("w:strike")),isAllCaps:d(ne.first("w:caps")),isSmallCaps:d(ne.first("w:smallCaps")),highlight:h(ne.firstOrEmpty("w:highlight").attributes["w:val"])}})}function u(ne){if(ne){var le=ne.attributes["w:val"];return le!==void 0&&le!=="false"&&le!=="0"&&le!=="none"}else return!1}function d(ne){if(ne){var le=ne.attributes["w:val"];return le!=="false"&&le!=="0"}else return!1}function y(ne){return ne!=="false"&&ne!=="0"}function h(ne){return!ne||ne==="none"?null:ne}function g(ne){return F(ne,"w:pStyle","Paragraph",f.findParagraphStyleById)}function k(ne){return F(ne,"w:rStyle","Run",f.findCharacterStyleById)}function w(ne){return F(ne,"w:tblStyle","Table",f.findTableStyleById)}function F(ne,le,D,re){var ee=[],L=ne.first(le),W=null,Z=null;if(L&&(W=L.attributes["w:val"],W)){var oe=re(W);oe?Z=oe.name:ee.push(Se(D,W))}return Mr({styleId:W,name:Z},ee)}function z(ne){var le=ne.attributes["w:fldCharType"];if(le==="begin")t.push({type:"begin",fldChar:ne}),r=[];else if(le==="end"){var D=t.pop();if(D.type==="begin"&&(D=I(D)),D.type==="checkbox")return yt(qe.checkbox({checked:D.checked}))}else if(le==="separate"){var re=t.pop(),ee=I(re);t.push(ee)}return Nn()}function S(){var ne=Ut.last(t.filter(function(le){return le.type==="hyperlink"}));return ne?ne.options:null}function I(ne){return K(r.join(""),ne.type==="begin"?ne.fldChar:lg.emptyElement)}function K(ne,le){var D=/^\s*HYPERLINK\s+(\\l\s+)?(?:"(.*)"|([^\\]\S*))/.exec(ne);if(D){var re=D[2]===void 0?D[3]:D[2],ee=D[1]===void 0?{href:re}:{anchor:re};return{type:"hyperlink",options:ee}}var L=/\s*FORMCHECKBOX\s*/.exec(ne);if(L){var W=le.firstOrEmpty("w:ffData").firstOrEmpty("w:checkBox"),Z=W.first("w:checked"),oe=Z==null?d(W.first("w:default")):d(Z);return{type:"checkbox",checked:oe}}return{type:"unknown"}}function ae(ne){return r.push(ne.text()),Nn()}function j(ne){var le=ne.attributes["w:font"],D=ne.attributes["w:char"],re=rl.hex(le,D);return re==null&&/^F0..$/.test(D)&&(re=rl.hex(le,D.substring(2))),re==null?ur([Kt("A w:sym element with an unsupported character was ignored: char "+D+" in font "+le)]):yt(new qe.Text(re.string))}function R(ne){return function(le){var D=le.attributes["w:id"];return yt(new qe.NoteReference({noteType:ne,noteId:D}))}}function _(ne){return yt(qe.commentReference({commentId:ne.attributes["w:id"]}))}function J(ne){return m(ne.children)}var U={"w:p":function(ne){var le=ne.firstOrEmpty("w:pPr"),D=!!le.firstOrEmpty("w:rPr").first("w:del");
vendor: 7,126 bytes, line 214
214if(D)return ne.children.forEach(function(ee){i.push(ee)}),Nn();var re=ne.children;return i.length>0&&(re=i.concat(re),i=[]),Ye.map(x(le),m(re),function(ee,L){return new qe.Paragraph(L,ee)}).insertExtra()},"w:r":function(ne){return Ye.map(v(ne.firstOrEmpty("w:rPr")),m(ne.children),function(le,D){var re=S();return re!==null&&(D=[new qe.Hyperlink(D,re)]),new qe.Run(D,le)})},"w:fldChar":z,"w:instrText":ae,"w:t":function(ne){return yt(new qe.Text(ne.text()))},"w:tab":function(ne){return yt(new qe.Tab)},"w:noBreakHyphen":function(){return yt(new qe.Text("â"))},"w:softHyphen":function(ne){return yt(new qe.Text("Â"))},"w:sym":j,"w:hyperlink":function(ne){var le=ne.attributes["r:id"],D=ne.attributes["w:anchor"];return m(ne.children).map(function(re){function ee(W){var Z=ne.attributes["w:tgtFrame"]||null;return new qe.Hyperlink(re,Ut.extend({targetFrame:Z},W))}if(le){var L=s.findTargetByRelationshipId(le);return D&&(L=al.replaceFragment(L,D)),ee({href:L})}else return D?ee({anchor:D}):re})},"w:tbl":A,"w:tr":C,"w:tc":O,"w:footnoteReference":R("footnote"),"w:endnoteReference":R("endnote"),"w:commentReference":_,"w:br":function(ne){var le=ne.attributes["w:type"];return le==null||le==="textWrapping"?yt(qe.lineBreak):le==="page"?yt(qe.pageBreak):le==="column"?yt(qe.columnBreak):ur([Kt("Unsupported break type: "+le)])},"w:bookmarkStart":function(ne){var le=ne.attributes["w:name"];return le==="_GoBack"?Nn():yt(new qe.BookmarkStart({name:le}))},"mc:AlternateContent":function(ne){return J(ne.firstOrEmpty("mc:Fallback"))},"w:sdt":function(ne){var le=m(ne.firstOrEmpty("w:sdtContent").children);return le.map(function(D){var re=ne.firstOrEmpty("w:sdtPr").first("wordml:checkbox");if(re){var ee=re.first("wordml:checked"),L=!!ee&&y(ee.attributes["wordml:val"]),W=qe.checkbox({checked:L}),Z=!1,oe=D.map(il._elementsOfType(qe.types.text,function(ue){return ue.value.length>0&&!Z?(Z=!0,W):ue}));return Z?oe:W}else return D})},"w:ins":J,"w:object":J,"w:smartTag":J,"w:drawing":J,"w:pict":function(ne){return J(ne).toExtra()},"v:roundrect":J,"v:shape":J,"v:textbox":J,"w:txbxContent":J,"wp:inline":te,"wp:anchor":te,"v:imagedata":ve,"v:group":J,"v:rect":J};return{readXmlElement:b,readXmlElements:m};function A(ne){var le=E(ne.firstOrEmpty("w:tblPr"));return m(ne.children).flatMap(M).flatMap(function(D){return le.map(function(re){return qe.Table(D,re)})})}function E(ne){return w(ne).map(function(le){return{styleId:le.styleId,styleName:le.name}})}function C(ne){var le=ne.firstOrEmpty("w:trPr"),D=!!le.first("w:del");if(D)return Nn();var re=!!le.first("w:tblHeader");return m(ne.children).map(function(ee){return qe.TableRow(ee,{isHeader:re})})}function O(ne){return m(ne.children).map(function(le){var D=ne.firstOrEmpty("w:tcPr"),re=D.firstOrEmpty("w:gridSpan").attributes["w:val"],ee=re?parseInt(re,10):1,L=qe.TableCell(le,{colSpan:ee});return L._vMerge=B(D),L})}function B(ne){var le=ne.first("w:vMerge");if(le){var D=le.attributes["w:val"];return D==="continue"||!D}else return null}function M(ne){var le=Ut.any(ne,function(ee){return ee.type!==qe.types.tableRow});if(le)return P(ne),Mr(ne,[Kt("unexpected non-row element in table, cell merging may be incorrect")]);var D=Ut.any(ne,function(ee){return Ut.any(ee.children,function(L){return L.type!==qe.types.tableCell})});if(D)return P(ne),Mr(ne,[Kt("unexpected non-cell element in table row, cell merging may be incorrect")]);var re={};return ne.forEach(function(ee){var L=0;ee.children.forEach(function(W){W._vMerge&&re[L]?re[L].rowSpan++:(re[L]=W,W._vMerge=!1),L+=W.colSpan})}),ne.forEach(function(ee){ee.children=ee.children.filter(function(L){return!L._vMerge}),ee.children.forEach(function(L){delete L._vMerge})}),yt(ne)}function P(ne){ne.forEach(function(le){var D=il.getDescendantsOfType(le,qe.types.tableCell);D.forEach(function(re){delete re._vMerge})})}function te(ne){var le=ne.getElementsByTagName("a:graphic").getElementsByTagName("a:graphicData").getElementsByTagName("pic:pic").getElementsByTagName("pic:blipFill").getElementsByTagName("a:blip");return ol(le.map(se.bind(null,ne)))}function se(ne,le){var D=ne.firstOrEmpty("wp:docPr"),re=D.attributes,ee=he(re.descr)?re.title:re.descr,L=fe(le);return L===null?ur([Kt("Could not find image file for a:blip element")]):je(L,ee).map(function(W){var Z=D.firstOrEmpty("a:hlinkClick"),oe=Z.attributes["r:id"];if(oe){var ue=s.findTargetByRelationshipId(oe);return new qe.Hyperlink([W],{href:ue})}else return W})}function he(ne){return ne==null||/^\s*$/.test(ne)}function fe(ne){var le=ne.attributes["r:embed"],D=ne.attributes["r:link"];if(le)return De(le);if(D){var re=s.findTargetByRelationshipId(D);return{path:re,read:a.read.bind(a,re)}}else return null}function ve(ne){var le=ne.attributes["r:id"];return le?je(De(le),ne.attributes["o:title"]):ur([Kt("A v:imagedata element without a relationship ID was ignored")])}function De(ne){var le=al.uriToZipEntryName("word",s.findTargetByRelationshipId(ne));return{path:le,read:o.read.bind(o,le)}}function je(ne,le){var D=c.findContentType(ne.path),re=qe.Image({readImage:ne.read,altText:le,contentType:D}),ee=dg[D]?[]:Kt("Image of type "+D+" is unlikely to display in web browsers");return Mr(re,ee)}function Se(ne,le){return Kt(ne+" style with ID "+le+" was referenced but not defined in the document")}}function Ou(e,t,r){var i=t.firstOrEmpty("w:ilvl").attributes["w:val"],s=t.firstOrEmpty("w:numId").attributes["w:val"];if(i!==void 0&&s!==void 0)return r.findLevel(s,i);if(e!=null){var c=r.findLevelByParagraphStyleId(e);if(c!=null)return c}return s!==void 0?r.findLevel(s,"0"):null}var dg={"image/png":!0,"image/gif":!0,"image/jpeg":!0,"image/svg+xml":!0,"image/tiff":!0},hg={"office-word:wrap":!0,"v:shadow":!0,"v:shapetype":!0,"w:annotationRef":!0,"w:bookmarkEnd":!0,"w:sectPr":!0,"w:proofErr":!0,"w:lastRenderedPageBreak":!0,"w:commentRangeStart":!0,"w:commentRangeEnd":!0,"w:del":!0,"w:footnoteRef":!0,"w:endnoteRef":!0,"w:pPr":!0,"w:rPr":!0,"w:tblPr":!0,"w:tblGrid":!0,"w:trPr":!0,"w:tcPr":!0};function ur(e){return new Ye(null,null,e)}function Nn(){return new Ye(null)}function yt(e){return new Ye(e)}function Mr(e,t){return new Ye(e,null,t)}function Ye(e,t,r){this.value=e||[],this.extra=t||[],this._result=new Wu({element:this.value,extra:t},r),this.messages=this._result.messages}Ye.prototype.toExtra=function(){return new Ye(null,Di(this.extra,this.value),this.messages)};Ye.prototype.insertExtra=function(){var e=this.extra;return e&&e.length?new Ye(Di(this.value,e),null,this.messages):this};Ye.prototype.map=function(e){var t=this._result.map(function(r){return e(r.element)});return new Ye(t.value,this.extra,t.messages)};Ye.prototype.flatMap=function(e){var t=this._result.flatMap(function(r){return e(r.element)._result});return new Ye(t.value.element,Di(this.extra,t.value.extra),t.messages)};Ye.map=function(e,t,r){return new Ye(r(e.value,t.value),Di(e.extra,t.extra),e.messages.concat(t.messages))};function ol(e){var t=Wu.combine(Ut.pluck(e,"_result"));return new Ye(Ut.flatten(Ut.pluck(t.value,"element")),Ut.filter(Ut.flatten(Ut.pluck(t.value,"extra")),fg),t.messages)}function Di(e,t){return Ut.flatten([e,t])}function fg(e){return e}
214var Ru={};Ru.DocumentXmlReader=mg;var pg=Ne,gg=_t.Result;function mg(e){var t=e.bodyReader;function r(i){var s=i.first("w:body");if(s==null)throw new Error("Could not find the body element: are you sure this is a docx file?");var c=t.readXmlElements(s.children).map(function(o){return new pg.Document(o,{notes:e.notes,comments:e.comments})});return new gg(c.value,c.messages)}return{convertXmlToDocument:r}}var _i={};_i.readRelationships=yg;_i.defaultValue=new Ps([]);_i.Relationships=Ps;function yg(e){var t=[];return e.children.forEach(function(r){if(r.name==="relationships:Relationship"){var i={relationshipId:r.attributes.Id,target:r.attributes.Target,type:r.attributes.Type};t.push(i)}}),new Ps(t)}function Ps(e){var t={};e.forEach(function(i){t[i.relationshipId]=i.target});var r={};return e.forEach(function(i){r[i.type]||(r[i.type]=[]),r[i.type].push(i.target)}),{findTargetByRelationshipId:function(i){return t[i]},findTargetsByType:function(i){return r[i]||[]}}}var Hs={};Hs.readContentTypesFromXml=vg;var bg={png:"png",gif:"gif",jpeg:"jpeg",jpg:"jpeg",tif:"tiff",tiff:"tiff",bmp:"bmp"};Hs.defaultContentTypes=Iu({},{});function vg(e){var t={},r={};return e.children.forEach(function(i){if(i.name==="content-types:Default"&&(t[i.attributes.Extension]=i.attributes.ContentType),i.name==="content-types:Override"){var s=i.attributes.PartName;s.charAt(0)==="/"&&(s=s.substring(1)),r[s]=i.attributes.ContentType}}),Iu(r,t)}function Iu(e,t){return{findContentType:function(r){var i=e[r];if(i)return i;var s=r.split("."),c=s[s.length-1];if(t.hasOwnProperty(c))return t[c];var o=bg[c.toLowerCase()];return o?"image/"+o:null}}}var ki={},qr=$e;ki.readNumberingXml=xg;ki.Numbering=Xs;ki.defaultNumbering=new Xs({},{});function Xs(e,t,r){var i=qr.flatten(qr.values(t).map(function(a){return qr.values(a.levels)})),s=qr.indexBy(i.filter(function(a){return a.paragraphStyleId!=null}),"paragraphStyleId");function c(a,l){var f=e[a];if(f){var m=t[f.abstractNumId];if(m){if(m.numStyleLink==null)return t[f.abstractNumId].levels[l];var b=r.findNumberingStyleById(m.numStyleLink);return c(b.numId,l)}else return null}else return null}function o(a){return s[a]||null}return{findLevel:c,findLevelByParagraphStyleId:o}}function xg(e,t){if(!t||!t.styles)throw new Error("styles is missing");var r=Dg(e),i=kg(e);return new Xs(i,r,t.styles)}function Dg(e){var t={};return e.getElementsByTagName("w:abstractNum").forEach(function(r){var i=r.attributes["w:abstractNumId"];t[i]=_g(r)}),t}function _g(e){var t={},r=null;e.getElementsByTagName("w:lvl").forEach(function(s){var c=s.attributes["w:ilvl"],o=s.firstOrEmpty("w:numFmt").attributes["w:val"],a=o!=="bullet",l=s.firstOrEmpty("w:pStyle").attributes["w:val"];c===void 0?r={isOrdered:a,level:"0",paragraphStyleId:l}:t[c]={isOrdered:a,level:c,paragraphStyleId:l}}),r!==null&&t[r.level]===void 0&&(t[r.level]=r);var i=e.firstOrEmpty("w:numStyleLink").attributes["w:val"];return{levels:t,numStyleLink:i}}function kg(e){var t={};return e.getElementsByTagName("w:num").forEach(function(r){var i=r.attributes["w:numId"],s=r.first("w:abstractNumId").attributes["w:val"];t[i]={abstractNumId:s}}),t}var wi={};wi.readStylesXml=wg;wi.Styles=_r;wi.defaultStyles=new _r({},{});function _r(e,t,r,i){return{findParagraphStyleById:function(s){return e[s]},findCharacterStyleById:function(s){return t[s]},findTableStyleById:function(s){return r[s]},findNumberingStyleById:function(s){return i[s]}}}_r.EMPTY=new _r({},{},{},{});function wg(e){var t={},r={},i={},s={},c={paragraph:t,character:r,table:i,numbering:s};return e.getElementsByTagName("w:style").forEach(function(o){var a=Ug(o),l=c[a.type];l&&l[a.styleId]===void 0&&(l[a.styleId]=a)}),new _r(t,r,i,s)}function Ug(e){var t=e.attributes["w:type"];if(t==="numbering")return Cg(t,e);var r=Lu(e),i=Tg(e);return{type:t,styleId:r,name:i}}function Tg(e){var t=e.first("w:name");return t?t.attributes["w:val"]:null}function Cg(e,t){var r=Lu(t),i=t.firstOrEmpty("w:pPr").firstOrEmpty("w:numPr").firstOrEmpty("w:numId").attributes["w:val"];return{type:e,numId:i,styleId:r}}function Lu(e){return e.attributes["w:styleId"]}var Vs={},Eg=Ne,Fg=_t.Result;Vs.createFootnotesReader=Mu.bind(Ee,"footnote");Vs.createEndnotesReader=Mu.bind(Ee,"endnote");function Mu(e,t){function r(c){return Fg.combine(c.getElementsByTagName("w:"+e).filter(i).map(s))}function i(c){var o=c.attributes["w:type"];return o!=="continuationSeparator"&&o!=="separator"}function s(c){var o=c.attributes["w:id"];return t.readXmlElements(c.children).map(function(a){return Eg.Note({noteType:e,noteId:o,body:a})})}return r}var qu={},jg=Ne,Ag=_t.Result;function zg(e){function t(i){return Ag.combine(i.getElementsByTagName("w:comment").map(r))}function r(i){var s=i.attributes["w:id"];function c(o){return(i.attributes[o]||"").trim()||null}return e.readXmlElements(i.children).map(function(o){return jg.comment({commentId:s,body:o,authorName:c("w:author"),authorInitials:c("w:initials")})})}return t}qu.createCommentsReader=zg;var Pu={},Ng=Ze;Pu.Files=Sg;function Sg(){function e(t){return Ng.reject(new Error("could not open external image: '"+t+`' 215cannot open linked files from a web browser`))}return{read:e}}Ds.read=Mg;Ds._findPartPaths=Xu;var Bg=Ze,Wg=Ne,ts=_t.Result,Qr=Ur,Hu=ws.readXmlFromZipFile,Og=Rs.createBodyReader,Rg=Ru.DocumentXmlReader,Jn=_i,cl=Hs,ll=ki,ul=wi,dl=Vs,Ig=qu,Lg=Pu.Files;function Mg(e,t,r){t=t||{},r=r||{};var i=new Lg({externalFileAccess:r.externalFileAccess,relativeToFile:t.path});return Bg.props({contentTypes:Pg(e),partPaths:Xu(e),docxFile:e,files:i}).also(function(s){return{styles:Xg(e,s.partPaths.styles)}}).also(function(s){return{numbering:Hg(e,s.partPaths.numbering,s.styles)}}).also(function(s){return{footnotes:Pr(s.partPaths.footnotes,s,function(c,o){return o?dl.createFootnotesReader(c)(o):new ts([])}),endnotes:Pr(s.partPaths.endnotes,s,function(c,o){return o?dl.createEndnotesReader(c)(o):new ts([])}),comments:Pr(s.partPaths.comments,s,function(c,o){return o?Ig.createCommentsReader(c)(o):new ts([])})}}).also(function(s){return{notes:s.footnotes.flatMap(function(c){return s.endnotes.map(function(o){return new Wg.Notes(c.concat(o))})})}}).then(function(s){return Pr(s.partPaths.mainDocument,s,function(c,o){return s.notes.flatMap(function(a){return s.comments.flatMap(function(l){var f=new Rg({bodyReader:c,notes:a,comments:l});return f.convertXmlToDocument(o)})})})})}function Xu(e){return Vg(e).then(function(t){var r=hl({docxFile:e,relationships:t,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",basePath:"",fallbackPath:"word/document.xml"});if(!e.exists(r))throw new Error("Could not find main document part. Are you sure this is a valid .docx file?");return er({filename:Vu(r),readElement:Jn.readRelationships,defaultValue:Jn.defaultValue})(e).then(function(i){function s(c){return hl({docxFile:e,relationships:i,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/"+c,basePath:Qr.splitPath(r).dirname,fallbackPath:"word/"+c+".xml"})}return{mainDocument:r,comments:s("comments"),endnotes:s("endnotes"),footnotes:s("footnotes"),numbering:s("numbering"),styles:s("styles")}})})}function hl(e){var t=e.docxFile,r=e.relationships,i=e.relationshipType,s=e.basePath,c=e.fallbackPath,o=r.findTargetsByType(i),a=o.map(function(f){return qg(Qr.joinPath(s,f),"/")}),l=a.filter(function(f){return t.exists(f)});return l.length===0?c:l[0]}function qg(e,t){return e.substring(0,t.length)===t?e.substring(t.length):e}function er(e){return function(t){return Hu(t,e.filename).then(function(r){return r?e.readElement(r):e.defaultValue})}}function Pr(e,t,r){var i=er({filename:Vu(e),readElement:Jn.readRelationships,defaultValue:Jn.defaultValue});return i(t.docxFile).then(function(s){var c=new Og({relationships:s,contentTypes:t.contentTypes,docxFile:t.docxFile,numbering:t.
215numbering,styles:t.styles,files:t.files});return Hu(t.docxFile,e).then(function(o){return r(c,o)})})}function Vu(e){var t=Qr.splitPath(e);return Qr.joinPath(t.dirname,"_rels",t.basename+".rels")}var Pg=er({filename:"[Content_Types].xml",readElement:cl.readContentTypesFromXml,defaultValue:cl.defaultContentTypes});function Hg(e,t,r){return er({filename:t,readElement:function(i){return ll.readNumberingXml(i,{styles:r})},defaultValue:ll.defaultNumbering})(e)}function Xg(e,t){return er({filename:t,readElement:ul.readStylesXml,defaultValue:ul.defaultStyles})(e)}var Vg=er({filename:"_rels/.rels",readElement:Jn.readRelationships,defaultValue:Jn.defaultValue}),$s={},$g=$e,Kg=Ze,kr=nn;$s.writeStyleMap=Gg;$s.readStyleMap=Yg;var Jg="http://schemas.zwobble.org/mammoth/style-map",Yr="mammoth/style-map",$u="/"+Yr;function Gg(e,t){return e.write(Yr,t),Zg(e).then(function(){return Qg(e)})}function Zg(e){var t="word/_rels/document.xml.rels",r="http://schemas.openxmlformats.org/package/2006/relationships",i="{"+r+"}Relationship";return e.read(t,"utf8").then(kr.readString).then(function(s){var c=s.children;Ku(c,i,"Id",{Id:"rMammothStyleMap",Type:Jg,Target:$u});var o={"":r};return e.write(t,kr.writeString(s,o))})}function Qg(e){var t="[Content_Types].xml",r="http://schemas.openxmlformats.org/package/2006/content-types",i="{"+r+"}Override";return e.read(t,"utf8").then(kr.readString).then(function(s){var c=s.children;Ku(c,i,"PartName",{PartName:$u,ContentType:"text/prs.mammoth.style-map"});var o={"":r};return e.write(t,kr.writeString(s,o))})}function Ku(e,t,r,i){var s=$g.find(e,function(c){return c.name===t&&c.attributes[r]===i[r]});s?s.attributes=i:e.push(kr.element(t,i))}function Yg(e){return e.exists(Yr)?e.read(Yr,"utf8"):Kg.resolve(null)}var Ks={},vn={},Jt={},on={},fl;function Ju(){if(fl)return on;fl=1;var e=Ti();function t(l,f,m){return i(e.element(l,f,{fresh:!1}),m)}function r(l,f,m){var b=e.element(l,f,{fresh:!0});return i(b,m)}function i(l,f){return{type:"element",tag:l,children:f||[]}}function s(l){return{type:"text",value:l}}var c={type:"forceWrite"};on.freshElement=r,on.nonFreshElement=t,on.elementWithTag=i,on.text=s,on.forceWrite=c;var o={br:!0,hr:!0,img:!0,input:!0};function a(l){return l.children.length===0&&o[l.tag.tagName]}return on.isVoidElement=a,on}var ns,pl;function em(){if(pl)return ns;pl=1;var e=$e,t=Ju();function r(u){return i(f(u))}function i(u){var d=[];return u.map(s).forEach(function(y){l(d,y)}),d}function s(u){return c[u.type](u)}var c={element:o,text:a,forceWrite:a};function o(u){return t.elementWithTag(u.tag,i(u.children))}function a(u){return u}function l(u,d){var y=u[u.length-1];d.type==="element"&&!d.tag.fresh&&y&&y.type==="element"&&d.tag.matchesElement(y.tag)?(d.tag.separator&&l(y.children,t.text(d.tag.separator)),d.children.forEach(function(h){l(y.children,h)})):u.push(d)}function f(u){return m(u,function(d){return b[d.type](d)})}function m(u,d){return e.flatten(e.map(u,d),!0)}var b={element:p,text:v,forceWrite:x};function x(u){return[u]}function p(u){var d=f(u.children);return d.length===0&&!t.isVoidElement(u)?[]:[t.elementWithTag(u.tag,d)]}function v(u){return u.value.length===0?[]:[u]}return ns=r,ns}var gl;function Ui(){if(gl)return Jt;gl=1;var e=Ju();Jt.freshElement=e.freshElement,Jt.nonFreshElement=e.nonFreshElement,Jt.elementWithTag=e.elementWithTag,Jt.text=e.text,Jt.forceWrite=e.forceWrite,Jt.simplify=em();function t(o,a){a.forEach(function(l){r(o,l)})}function r(o,a){i[a.type](o,a)}var i={element:s,text:c,forceWrite:function(){}};function s(o,a){e.isVoidElement(a)?o.selfClosing(a.tag.tagName,a.tag.attributes):(o.open(a.tag.tagName,a.tag.attributes),t(o,a.children),o.close(a.tag.tagName))}function c(o,a){o.text(a.value)}return Jt.write=t,Jt}var ml;function Ti(){if(ml)return vn;ml=1;var e=$e,t=Ui();vn.topLevelElement=r,vn.elements=i,vn.element=c;function r(a,l){return i([c(a,l,{fresh:!0})])}function i(a){return new s(a.map(function(l){return e.isString(l)?c(l):l}))}function s(a){this._elements=a}s.prototype.wrap=function(l){for(var f=l(),m=this._elements.length-1;m>=0;m--)f=this._elements[m].wrapNodes(f);return f};function c(a,l,f){return f=f||{},new o(a,l,f)}function o(a,l,f){var m={};
215e.isArray(a)?(a.forEach(function(b){m[b]=!0}),a=a[0]):m[a]=!0,this.tagName=a,this.tagNames=m,this.attributes=l||{},this.fresh=f.fresh,this.separator=f.separator}return o.prototype.matchesElement=function(a){return this.tagNames[a.tagName]&&e.isEqual(this.attributes||{},a.attributes||{})},o.prototype.wrap=function(l){return this.wrapNodes(l())},o.prototype.wrapNodes=function(l){return[t.elementWithTag(this,l)]},vn.empty=i([]),vn.ignore={wrap:function(){return[]}},vn}var Js={};(function(e){var t=$e,r=Ze,i=Ui();e.imgElement=s;function s(c){return function(o,a){return r.when(c(o)).then(function(l){var f={};return o.altText&&(f.alt=o.altText),t.extend(f,l),[i.freshElement("img",f)]})}}e.inline=e.imgElement,e.dataUri=s(function(c){return c.readAsBase64String().then(function(o){return{src:"data:"+c.contentType+";base64,"+o}})})})(Js);var Gu={},Zu={},Qu=$e;Zu.writer=tm;function tm(e){return e=e||{},e.prettyPrint?nm():Yu()}var Hr={div:!0,p:!0,ul:!0,li:!0};function nm(){var e=0,t=" ",r=[],i=!0,s=!1,c=Yu();function o(v,u){Hr[v]&&x(),r.push(v),c.open(v,u),Hr[v]&&e++,i=!1}function a(v){Hr[v]&&(e--,x()),r.pop(),c.close(v)}function l(v){b();var u=p()?v:v.replace(` 216`,` 217`+t);c.text(u)}function f(v,u){x(),c.selfClosing(v,u)}function m(){return r.length===0||Hr[r[r.length-1]]}function b(){s||(x(),s=!0)}function x(){if(s=!1,!i&&m()&&!p()){c._append(` 218`);for(var v=0;v<e;v++)c._append(t)}}function p(){return Qu.some(r,function(v){return v==="pre"})}return{asString:c.asString,open:o,close:a,text:l,selfClosing:f}}function Yu(){var e=[];function t(l,f){var m=s(f);e.push("<"+l+m+">")}function r(l){e.push("</"+l+">")}function i(l,f){var m=s(f);e.push("<"+l+m+" />")}function s(l){return Qu.map(l,function(f,m){return" "+m+'="'+im(f)+'"'}).join("")}function c(l){e.push(rm(l))}function o(l){e.push(l)}function a(){return e.join("")}return{asString:a,open:t,close:r,text:c,selfClosing:i,_append:o}}function rm(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function im(e){return e.replace(/&/g,"&").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">")}var ed={},am=$e;function yl(e){return ei(e,e)}function ei(e,t){return function(){return{start:e,end:t}}}function sm(e){var t=e.href||"";return t?{start:"[",end:"]("+t+")",anchorPosition:"before"}:{}}function om(e){var t=e.src||"",r=e.alt||"";return t||r?{start:""}:{}}function bl(e){return function(t,r){return{start:r?` 219`:"",end:r?"":` 220`,list:{isOrdered:e.isOrdered,indent:r?r.indent+1:0,count:0}}}}function cm(e,t,r){t=t||{indent:0,isOrdered:!1,count:0},t.count++,r.hasClosed=!1;var i=t.isOrdered?t.count+".":"-",s=nd(" ",t.indent)+i+" ";return{start:s,end:function(){if(!r.hasClosed)return r.hasClosed=!0,` 221`}}}var td={p:ei("",` 222 223`),br:ei("",` 224`),ul:bl({isOrdered:!1}),ol:bl({isOrdered:!0}),li:cm,strong:yl("__"),em:yl("*"),a:sm,img:om};(function(){for(var e=1;e<=6;e++)td["h"+e]=ei(nd("#",e)+" ",` 225 226`)})();function nd(e,t){return new Array(t+1).join(e)}function lm(){var e=[],t=[],r=null,i={};function s(m,b){b=b||{};var x=td[m]||function(){return{}},p=x(b,r,i);t.push({end:p.end,list:r}),p.list&&(r=p.list);var v=p.anchorPosition==="before";v&&c(b),e.push(p.start||""),v||c(b)}function c(m){m.id&&e.push('<a id="'+m.id+'"></a>')}function o(m){var b=t.pop();r=b.list;var x=am.isFunction(b.end)?b.end():b.end;e.push(x||"")}function a(m,b){s(m,b),o()}function l(m){e.push(um(m))}function f(){return e.join("")}return{asString:f,open:s,close:o,text:l,selfClosing:a}}ed.writer=lm;function um(e){return e.replace(/\\/g,"\\\\").replace(/([\`\*_\{\}\[\]\(\)\#\+\-\.\!])/g,"\\$1")}var dm=Zu,hm=ed;Gu.writer=fm;function fm(e){return e=e||{},e.outputFormat==="markdown"?hm.writer():dm.writer(e)}var cn=$e,vl=Ze,Xr=Ne,kt=Ti(),gs=_t,pm=Js,Be=Ui(),gm=Gu;Ks.DocumentConverter=mm;function mm(e){return{convertToHtml:function(t){var r=cn.indexBy(t.type===Xr.types.document?t.comments:[],"commentId"),i=new ym(e,r);return i.convertToHtml(t)}}}function ym(e,t){var r=1,i=[],s=[];e=cn.extend({ignoreEmptyParagraphs:!0},e);var c=e.idPrefix===void 0?"":e.idPrefix,o=e.ignoreEmptyParagraphs,a=kt.topLevelElement("p"),l=e.styleMap||[];function f(E){var C=[],O=b(E,C,{}),B=[];rd(O,function(P){P.type==="deferred"&&B.push(P)});var M={};return vl.mapSeries(B,function(P){return P.value().then(function(te){M[P.id]=te})}).then(function(){function P(se){return rs(se,function(he){return he.type==="deferred"?M[he.id]:he.children?[cn.extend({},he,{children:P(he.children)})]:[he]})}var te=gm.writer({prettyPrint:e.prettyPrint,outputFormat:e.outputFormat});return Be.write(te,Be.simplify(P(O))),new gs.Result(te.asString(),C)})}function m(E,C,O){return rs(E,function(B){return b(B,C,O)})}function b(E,C,O){if(!O)throw new Error("options not set");var B=A[E.type];return B?B(E,C,O):[]}function x(E,C,O){return p(E,C).wrap(function(){var B=m(E.children,C,O);return o?B:[Be.forceWrite].concat(B)})}function p(E,C){var O=y(E);return O?O.to:(E.styleId&&C.push(xl("paragraph",E)),a)}function v(E,C,O){var B=function(){return m(E.children,C,O)},M=[];if(E.highlight!==null){var P=d({type:"highlight",color:E.highlight});P&&M.push(P)}E.isSmallCaps&&M.push(u("smallCaps")),E.isAllCaps&&M.push(u("allCaps")),E.isStrikethrough&&M.push(u("strikethrough","s")),E.isUnderline&&M.push(u("underline")),E.verticalAlignment===Xr.verticalAlignment.
226subscript&&M.push(kt.element("sub",{},{fresh:!1})),E.verticalAlignment===Xr.verticalAlignment.superscript&&M.push(kt.element("sup",{},{fresh:!1})),E.isItalic&&M.push(u("italic","em")),E.isBold&&M.push(u("bold","strong"));var te=kt.empty,se=y(E);return se?te=se.to:E.styleId&&C.push(xl("run",E)),M.push(te),M.forEach(function(he){B=he.wrap.bind(he,B)}),B()}function u(E,C){var O=d({type:E});return O||(C?kt.element(C,{},{fresh:!1}):kt.empty)}function d(E,C){var O=y(E);return O?O.to:C}function y(E){for(var C=0;C<l.length;C++)if(l[C].from.matches(E))return l[C]}function h(E){return function(C,O){return vl.attempt(function(){return E(C,O)}).caught(function(B){return O.push(gs.error(B)),[]})}}function g(E){return w(E.noteType,E.noteId)}function k(E){return F(E.noteType,E.noteId)}function w(E,C){return z(E+"-"+C)}function F(E,C){return z(E+"-ref-"+C)}function z(E){return c+E}var S=kt.elements([kt.element("table",{},{fresh:!0})]);function I(E,C,O){return d(E,S).wrap(function(){return K(E,C,O)})}function K(E,C,O){var B=cn.findIndex(E.children,function(se){return!se.type===Xr.types.tableRow||!se.isHeader});B===-1&&(B=E.children.length);var M;if(B===0)M=m(E.children,C,cn.extend({},O,{isTableHeader:!1}));else{var P=m(E.children.slice(0,B),C,cn.extend({},O,{isTableHeader:!0})),te=m(E.children.slice(B),C,cn.extend({},O,{isTableHeader:!1}));M=[Be.freshElement("thead",{},P),Be.freshElement("tbody",{},te)]}return[Be.forceWrite].concat(M)}function ae(E,C,O){var B=m(E.children,C,O);return[Be.freshElement("tr",{},[Be.forceWrite].concat(B))]}function j(E,C,O){var B=O.isTableHeader?"th":"td",M=m(E.children,C,O),P={};return E.colSpan!==1&&(P.colspan=E.colSpan.toString()),E.rowSpan!==1&&(P.rowspan=E.rowSpan.toString()),[Be.freshElement(B,P,[Be.forceWrite].concat(M))]}function R(E,C,O){return d(E,kt.ignore).wrap(function(){var B=t[E.commentId],M=s.length+1,P="["+xm(B)+M+"]";return s.push({label:P,comment:B}),[Be.freshElement("a",{href:"#"+w("comment",E.commentId),id:F("comment",E.commentId)},[Be.text(P)])]})}function _(E,C,O){var B=E.label,M=E.comment,P=m(M.body,C,O).concat([Be.nonFreshElement("p",{},[Be.text(" "),Be.freshElement("a",{href:"#"+F("comment",M.commentId)},[Be.text("â")])])]);return[Be.freshElement("dt",{id:w("comment",M.commentId)},[Be.text("Comment "+B)]),Be.freshElement("dd",{},P)]}function J(E,C,O){return U(E).wrap(function(){return[]})}function U(E){var C=y(E);return C?C.to:E.breakType==="line"?kt.topLevelElement("br"):kt.empty}var A={document:function(E,C,O){var B=m(E.children,C,O),M=i.map(function(te){return E.notes.resolve(te)}),P=m(M,C,O);return B.concat([Be.freshElement("ol",{},P),Be.freshElement("dl",{},rs(s,function(te){return _(te,C,O)}))])},paragraph:x,run:v,text:function(E,C,O){return[Be.text(E.value)]},tab:function(E,C,O){return[Be.text(" ")]},hyperlink:function(E,C,O){var B=E.anchor?"#"+z(E.anchor):E.href,M={href:B};E.targetFrame!=null&&(M.target=E.targetFrame);var P=m(E.children,C,O);return[Be.nonFreshElement("a",M,P)]},checkbox:function(E){var C={type:"checkbox"};return E.checked&&(C.checked="checked"),[Be.freshElement("input",C)]},bookmarkStart:function(E,C,O){var B=Be.freshElement("a",{id:z(E.name)},[Be.forceWrite]);return[B]},noteReference:function(E,C,O){i.push(E);var B=Be.freshElement("a",{href:"#"+g(E),id:k(E)},[Be.text("["+r+++"]")]);return[Be.freshElement("sup",{},[B])]},note:function(E,C,O){var B=m(E.body,C,O),M=Be.elementWithTag(kt.element("p",{},{fresh:!1}),[Be.text(" "),Be.freshElement("a",{href:"#"+k(E)},[Be.text("â")])]),P=B.concat([M]);return Be.freshElement("li",{id:g(E)},P)},commentReference:R,comment:_,image:vm(h(e.convertImage||pm.dataUri)),table:I,tableRow:ae,tableCell:j,break:J};return{convertToHtml:f}}var bm=1;function vm(e){return function(t,r,i){return[{type:"deferred",id:bm++,value:function(){return e(t,r,i)}}]}}function xl(e,t){return gs.warning("Unrecognised "+e+" style: '"+t.styleName+"' (Style ID: "+t.styleId+")")}function rs(e,t){return cn.flatten(e.map(t),!0)}function rd(e,t){e.forEach(function(r){t(r),r.children&&rd(r.children,t)})}var xm=Ks.commentAuthorLabel=function(t){return t.authorInitials||""},id={},Dm=Ne;function ad(e){if(e.type==="text")return e.value;if(e.type===Dm.types.tab)return" ";var t=e.type==="paragraph"?` 227 228`:"";return(e.children||[]).map(ad).join("")+t}id.convertElementToRawText=ad;var Ci={},Bt={},sd={},od={exports:{}},Gn=od.exports=function(e,t){this._tokens=e,this._startIndex=t||0};Gn.prototype.head=function(){return this._tokens[this._startIndex]};Gn.prototype.tail=function(e){return new Gn(this._tokens,this._startIndex+1)};Gn.prototype.toArray=function(){return this._tokens.slice(this._startIndex)};Gn.prototype.end=function(){return this._tokens[this._tokens.length-1]};Gn.prototype.to=function(e){var t=this.head().source,r=e.head()||e.end();return t.to(r.source)};var _m=od.exports,km=_m;sd.Parser=function(e){var t=function(r,i){return r(new km(i))};return{parseTokens:t}};var Gs={},cd={};(function(e){e.none=Object.create({value:function(){throw new Error("Called value on none")},isNone:function(){return!0},isSome:function(){return!1},map:function(){return e.none},flatMap:function(){return e.none},filter:function(){return e.none},toArray:function(){return[]},orElse:t,valueOrElse:t});function t(i){return typeof i=="function"?i():i}e.some=function(i){return new r(i)};var r=function(i){this._value=i};r.prototype.value=function(){return this._value},r.prototype.isNone=function(){return!1},r.prototype.isSome=function(){return!0},r.prototype.map=function(i){return new r(i(this._value))},r.prototype.flatMap=function(i){return i(this._value)},r.prototype.filter=function(i){return i(this._value)?this:e.none},r.prototype.toArray=function(){return[this._value]},r.prototype.orElse=function(i){return this},r.prototype.valueOrElse=function(i){return this._value},e.isOption=function(i){return i===e.none||i instanceof r},e.fromNullable=function(i){return i==null?e.none:new r(i)}})(cd);var Zs={failure:function(e,t){if(e.length<1)throw new Error("Failure must have errors");return new it({status:"failure",remaining:t,errors:e})},error:function(e,t){if(e.length<1)throw new Error("Failure must have errors");return new it({status:"error",remaining:t,errors:e})},success:function(e,t,r){return new it({status:"success",value:e,source:r,remaining:t,errors:[]})},cut:function(e){return new it({status:"cut",remaining:e,errors:[]})}},it=function(e){this._value=e.value,this._status=e.status,this._hasValue=e.value!==void 0,this._remaining=e.remaining,this._source=e.source,this._errors=e.errors};it.prototype.map=function(e){return this._hasValue?new it({value:e(this._value,this._source),status:this._status,remaining:this._remaining,source:this._source,errors:this._errors}):this};it.prototype.changeRemaining=function(e){return new it({value:this._value,status:this._status,remaining:e,source:this._source,errors:this._errors})};it.prototype.isSuccess=function(){return this._status==="success"||this._status==="cut"};it.prototype.isFailure=function(){return this._status==="failure"};it.prototype.isError=function(){return this._status==="error"};it.prototype.isCut=function(){return this._status==="cut"};it.prototype.value=function(){return this._value};it.prototype.remaining=function(){return this._remaining};it.prototype.source=function(){return this._source};it.prototype.errors=function(){return this._errors};var Qs={};Qs.error=function(e){return new Ei(e)};var Ei=function(e){this.expected=e.expected,this.actual=e.actual,this._location=e.location};Ei.prototype.describe=function(){var e=this._location?this._location.describe()+`: 229`:"";return e+"Expected "+this.expected+` 230but got `+this.actual};Ei.prototype.lineNumber=function(){return this._location.lineNumber()};Ei.prototype.characterNumber=function(){return this._location.characterNumber()};var ld={};ld.fromArray=function(e){var t=0,r=function(){return t<e.length};
230return new kn({hasNext:r,next:function(){if(r())return e[t++];throw new Error("No more elements")}})};var kn=function(e){this._iterator=e};kn.prototype.map=function(e){var t=this._iterator;return new kn({hasNext:function(){return t.hasNext()},next:function(){return e(t.next())}})};kn.prototype.filter=function(e){var t=this._iterator,r=!1,i=!1,s,c=function(){if(!r)for(r=!0,i=!1;t.hasNext()&&!i;)s=t.next(),i=e(s)};return new kn({hasNext:function(){return c(),i},next:function(){c();var o=s;return r=!1,o}})};kn.prototype.first=function(){var e=this._iterator;return this._iterator.hasNext()?e.next():null};kn.prototype.toArray=function(){for(var e=[];this._iterator.hasNext();)e.push(this._iterator.next());return e};(function(e){var t=$e,r=cd,i=Zs,s=Qs,c=ld;e.token=function(x,p){var v=p!==void 0;return function(u){var d=u.head();if(d&&d.name===x&&(!v||d.value===p))return i.success(d.value,u.tail(),d.source);var y=m({name:x,value:p});return b(u,y)}},e.tokenOfType=function(x){return e.token(x)},e.firstOf=function(x,p){return t.isArray(p)||(p=Array.prototype.slice.call(arguments,1)),function(v){return c.fromArray(p).map(function(u){return u(v)}).filter(function(u){return u.isSuccess()||u.isError()}).first()||b(v,x)}},e.then=function(x,p){return function(v){var u=x(v);return u.map||console.log(u),u.map(p)}},e.sequence=function(){var x=Array.prototype.slice.call(arguments,0),p=function(u){var d=t.foldl(x,function(h,g){var k=h.result,w=h.hasCut;if(!k.isSuccess())return{result:k,hasCut:w};var F=g(k.remaining());if(F.isCut())return{result:k,hasCut:!0};if(F.isSuccess()){var z;g.isCaptured?z=k.value().withValue(g,F.value()):z=k.value();var S=F.remaining(),I=u.to(S);return{result:i.success(z,S,I),hasCut:w}}else return w?{result:i.error(F.errors(),F.remaining()),hasCut:w}:{result:F,hasCut:w}},{result:i.success(new o,u),hasCut:!1}).result,y=u.to(d.remaining());return d.map(function(h){return h.withValue(e.sequence.source,y)})};p.head=function(){var u=t.find(x,v);return e.then(p,e.sequence.extract(u))},p.map=function(u){return e.then(p,function(d){return u.apply(this,d.toArray())})};function v(u){return u.isCaptured}return p};var o=function(x,p){this._values=x||{},this._valuesArray=p||[]};o.prototype.withValue=function(x,p){if(x.captureName&&x.captureName in this._values)throw new Error('Cannot add second value for capture "'+x.captureName+'"');var v=t.clone(this._values);v[x.captureName]=p;var u=this._valuesArray.concat([p]);return new o(v,u)},o.prototype.get=function(x){if(x.captureName in this._values)return this._values[x.captureName];throw new Error('No value for capture "'+x.captureName+'"')},o.prototype.toArray=function(){return this._valuesArray},e.sequence.capture=function(x,p){var v=function(){return x.apply(this,arguments)};return v.captureName=p,v.isCaptured=!0,v},e.sequence.extract=function(x){return function(p){return p.get(x)}},e.sequence.applyValues=function(x){var p=Array.prototype.slice.call(arguments,1);return function(v){var u=p.map(function(d){return v.get(d)});return x.apply(this,u)}},e.sequence.source={captureName:"âsourceâ"},e.sequence.cut=function(){return function(x){return i.cut(x)}},e.optional=function(x){return function(p){var v=x(p);return v.isSuccess()?v.map(r.some):v.isFailure()?i.success(r.none,p):v}},e.zeroOrMoreWithSeparator=function(x,p){return f(x,p,!1)},e.oneOrMoreWithSeparator=function(x,p){return f(x,p,!0)};var a=e.zeroOrMore=function(x){return function(p){for(var v=[],u;(u=x(p))&&u.isSuccess();)p=u.remaining(),v.push(u.value());return u.isError()?u:i.success(v,p)}};e.oneOrMore=function(x){return e.oneOrMoreWithSeparator(x,l)};function l(x){return i.success(null,x)}var f=function(x,p,v){return function(u){var d=x(u);if(d.isSuccess()){var y=e.sequence.capture(x,"main"),h=a(e.then(e.sequence(p,y),e.sequence.extract(y))),g=h(d.remaining());return i.success([d.value()].concat(g.value()),g.remaining())}else return v||d.isError()?d:i.success([],u)}};e.leftAssociative=function(x,p,v){var u;v?u=[{func:v,rule:p}]:u=p,u=u.map(function(y){return e.then(y.rule,function(h){return function(g,k){return y.func(g,h,k)}})});
230var d=e.firstOf.apply(null,["rules"].concat(u));return function(y){var h=y,g=x(y);if(!g.isSuccess())return g;for(var k=d(g.remaining());k.isSuccess();){var w=k.remaining(),F=h.to(k.remaining()),z=k.value();g=i.success(z(g.value(),F),w,F),k=d(g.remaining())}return k.isError()?k:g}},e.leftAssociative.firstOf=function(){return Array.prototype.slice.call(arguments,0)},e.nonConsuming=function(x){return function(p){return x(p).changeRemaining(p)}};var m=function(x){return x.value?x.name+' "'+x.value+'"':x.name};function b(x,p){var v,u=x.head();return u?v=s.error({expected:p,actual:m(u),location:u.source}):v=s.error({expected:p,actual:"end of tokens"}),i.failure([v],x)}})(Gs);var ud={exports:{}};ud.exports=function(e,t){var r={asString:function(){return e},range:function(i,s){return new wn(e,t,i,s)}};return r};var wn=function(e,t,r,i){this._string=e,this._description=t,this._startIndex=r,this._endIndex=i};wn.prototype.to=function(e){return new wn(this._string,this._description,this._startIndex,e._endIndex)};wn.prototype.describe=function(){var e=this._position(),t=this._description?this._description+` 231`:"";return t+"Line number: "+e.lineNumber+` 232Character number: `+e.characterNumber};wn.prototype.lineNumber=function(){return this._position().lineNumber};wn.prototype.characterNumber=function(){return this._position().characterNumber};wn.prototype._position=function(){for(var e=this,t=0,r=function(){return e._string.indexOf(` 233`,t)},i=1;r()!==-1&&r()<this._startIndex;)t=r()+1,i+=1;var s=this._startIndex-t+1;return{lineNumber:i,characterNumber:s}};var dd=ud.exports,hd=function(e,t,r){this.name=e,this.value=t,r&&(this.source=r)},fd={};(function(e){var t=Gs,r=Zs;e.parser=function(c,o,a){var l={rule:x,leftAssociative:p,rightAssociative:v},f=new i(a.map(b)),m=t.firstOf(c,o);function b(y){return{name:y.name,rule:s(y.ruleBuilder.bind(null,l))}}function x(){return u(f)}function p(y){return u(f.untilExclusive(y))}function v(y){return u(f.untilInclusive(y))}function u(y){return d.bind(null,y)}function d(y,h){var g=m(h);return g.isSuccess()?y.apply(g):g}return l};function i(c){function o(b){return new i(c.slice(0,l().indexOf(b)))}function a(b){return new i(c.slice(0,l().indexOf(b)+1))}function l(){return c.map(function(b){return b.name})}function f(b){for(var x,p;;)if(x=m(b.remaining()),x.isSuccess())p=b.source().to(x.source()),b=r.success(x.value()(b.value(),p),x.remaining(),p);else return x.isFailure()?b:x}function m(b){return t.firstOf("infix",c.map(function(x){return x.rule}))(b)}return{apply:f,untilExclusive:o,untilInclusive:a}}e.infix=function(c,o){function a(l){return e.infix(c,function(f){var m=o(f);return function(b){var x=m(b);return x.map(function(p){return function(v,u){return l(v,p,u)}})}})}return{name:c,ruleBuilder:o,map:a}};var s=function(c){var o;return function(a){return o||(o=c()),o(a)}}})(fd);var pd={},is=hd,wm=dd;pd.RegexTokeniser=Um;function Um(e){e=e.map(function(s){return{name:s.name,regex:new RegExp(s.regex.source,"g")}});function t(s,c){for(var o=new wm(s,c),a=0,l=[];a<s.length;){var f=r(s,a,o);a=f.endIndex,l.push(f.token)}return l.push(i(s,o)),l}function r(s,c,o){for(var a=0;a<e.length;a++){var l=e[a].regex;l.lastIndex=c;var f=l.exec(s);if(f){var b=c+f[0].length;if(f.index===c&&b>c){var m=f[1],x=new is(e[a].name,m,o.range(c,b));return{token:x,endIndex:b}}}}var b=c+1,x=new is("unrecognisedCharacter",s.substring(c,b),o.range(c,b));return{token:x,endIndex:b}}function i(s,c){return new is("end",null,c.range(s.length,s.length))}return{tokenise:t}}Bt.Parser=sd.Parser;Bt.rules=Gs;Bt.errors=Qs;Bt.results=Zs;Bt.StringSource=dd;Bt.Token=hd;Bt.bottomUp=fd;Bt.RegexTokeniser=pd.RegexTokeniser;Bt.rule=function(e){var t;return function(r){return t||(t=e()),t(r)}};var tt={};tt.paragraph=Tm;tt.run=Cm;tt.table=Em;tt.bold=new Wt("bold");tt.italic=new Wt("italic");tt.underline=new Wt("underline");tt.strikethrough=new Wt("strikethrough");tt.allCaps=new Wt("allCaps");tt.smallCaps=new Wt("smallCaps");tt.highlight=Fm;tt.commentReference=new Wt("commentReference");tt.lineBreak=new Fi({breakType:"line"});tt.pageBreak=new Fi({breakType:"page"});tt.columnBreak=new Fi({breakType:"column"});tt.equalTo=Am;tt.startsWith=zm;function Tm(e){return new Wt("paragraph",e)}function Cm(e){return new Wt("run",e)}function Em(e){return new Wt("table",e)}function Fm(e){return new gd(e)}function Wt(e,t){t=t||{},this._elementType=e,this._styleId=t.styleId,this._styleName=t.styleName,t.list&&(this._listIndex=t.list.levelIndex,this._listIsOrdered=t.list.isOrdered)}Wt.prototype.matches=function(e){return e.type===this._elementType&&(this._styleId===void 0||e.styleId===this._styleId)&&(this._styleName===void 0||e.styleName&&this._styleName.operator(this._styleName.operand,e.styleName))&&(this._listIndex===void 0||jm(e,this._listIndex,this._listIsOrdered))&&(this._breakType===void 0||this._breakType===e.breakType)};function gd(e){e=e||{},this._color=e.color}gd.prototype.matches=function(e){return e.type==="highlight"&&(this._color===void 0||e.color===this._color)};function Fi(e){e=e||{},this._breakType=e.breakType}Fi.prototype.matches=function(e){return e.type==="break"&&(this._breakType===void 0||e.breakType===this._breakType)};function jm(e,t,r){return e.numbering&&e.numbering.level==t&&e.numbering.isOrdered==r}function Am(e){return{operator:Nm,operand:e}}function zm(e){return{operator:Sm,operand:e}}function Nm(e,t){return e.toUpperCase()===t.toUpperCase()}function Sm(e,t){return t.toUpperCase().indexOf(e.toUpperCase())===0}var md={},Bm=Bt,Wm=Bm.RegexTokeniser;md.tokenise=Om;var Dl="'((?:\\\\.|[^'])*)";
vendor: 5,811 bytes, lines 233-234
233function Om(e){var t="(?:[a-zA-Z\\-_]|\\\\.)",r=new Wm([{name:"identifier",regex:new RegExp("("+t+"(?:"+t+"|[0-9])*)")},{name:"dot",regex:/\./},{name:"colon",regex:/:/},{name:"gt",regex:/>/},{name:"whitespace",regex:/\s+/},{name:"arrow",regex:/=>/},{name:"equals",regex:/=/},{name:"startsWith",regex:/\^=/},{name:"open-paren",regex:/\(/},{name:"close-paren",regex:/\)/},{name:"open-square-bracket",regex:/\[/},{name:"close-square-bracket",regex:/\]/},{name:"string",regex:new RegExp(Dl+"'")},{name:"unterminated-string",regex:new RegExp(Dl)},{name:"integer",regex:/([0-9]+)/},{name:"choice",regex:/\|/},{name:"bang",regex:/(!)/}]);return r.tokenise(e)}var Rm=$e,ge=Bt,rt=tt,Vr=Ti(),Im=md.tokenise,as=_t;Ci.readHtmlPath=Pm;Ci.readDocumentMatcher=qm;Ci.readStyle=Lm;function Lm(e){return Ys(Zm,e)}function Mm(){return ge.rules.sequence(ge.rules.sequence.capture(yd()),ge.rules.tokenOfType("whitespace"),ge.rules.tokenOfType("arrow"),ge.rules.sequence.capture(ge.rules.optional(ge.rules.sequence(ge.rules.tokenOfType("whitespace"),ge.rules.sequence.capture(bd())).head())),ge.rules.tokenOfType("end")).map(function(e,t){return{from:e,to:t.valueOrElse(Vr.empty)}})}function qm(e){return Ys(yd(),e)}function yd(){var e=ge.rules.sequence,t=function(F,z){return ge.rules.then(ge.rules.token("identifier",F),function(){return z})},r=t("p",rt.paragraph),i=t("r",rt.run),s=ge.rules.firstOf("p or r or table",r,i),c=ge.rules.sequence(ge.rules.tokenOfType("dot"),ge.rules.sequence.cut(),ge.rules.sequence.capture(ji)).map(function(F){return{styleId:F}}),o=ge.rules.firstOf("style name matcher",ge.rules.then(ge.rules.sequence(ge.rules.tokenOfType("equals"),ge.rules.sequence.cut(),ge.rules.sequence.capture(Wn)).head(),function(F){return{styleName:rt.equalTo(F)}}),ge.rules.then(ge.rules.sequence(ge.rules.tokenOfType("startsWith"),ge.rules.sequence.cut(),ge.rules.sequence.capture(Wn)).head(),function(F){return{styleName:rt.startsWith(F)}})),a=ge.rules.sequence(ge.rules.tokenOfType("open-square-bracket"),ge.rules.sequence.cut(),ge.rules.token("identifier","style-name"),ge.rules.sequence.capture(o),ge.rules.tokenOfType("close-square-bracket")).head(),l=ge.rules.firstOf("list type",t("ordered-list",{isOrdered:!0}),t("unordered-list",{isOrdered:!1})),f=e(ge.rules.tokenOfType("colon"),e.capture(l),e.cut(),ge.rules.tokenOfType("open-paren"),e.capture(Hm),ge.rules.tokenOfType("close-paren")).map(function(F,z){return{list:{isOrdered:F.isOrdered,levelIndex:z-1}}});function m(F){var z=ge.rules.firstOf.apply(ge.rules.firstOf,["matcher suffix"].concat(F)),S=ge.rules.zeroOrMore(z);return ge.rules.then(S,function(I){var K={};return I.forEach(function(ae){Rm.extend(K,ae)}),K})}var b=e(e.capture(s),e.capture(m([c,a,f]))).map(function(F,z){return F(z)}),x=e(ge.rules.token("identifier","table"),e.capture(m([c,a]))).map(function(F){return rt.table(F)}),p=t("b",rt.bold),v=t("i",rt.italic),u=t("u",rt.underline),d=t("strike",rt.strikethrough),y=t("all-caps",rt.allCaps),h=t("small-caps",rt.smallCaps),g=e(ge.rules.token("identifier","highlight"),ge.rules.sequence.capture(ge.rules.optional(ge.rules.sequence(ge.rules.tokenOfType("open-square-bracket"),ge.rules.sequence.cut(),ge.rules.token("identifier","color"),ge.rules.tokenOfType("equals"),ge.rules.sequence.capture(Wn),ge.rules.tokenOfType("close-square-bracket")).head()))).map(function(F){return rt.highlight({color:F.valueOrElse(void 0)})}),k=t("comment-reference",rt.commentReference),w=e(ge.rules.token("identifier","br"),e.cut(),ge.rules.tokenOfType("open-square-bracket"),ge.rules.token("identifier","type"),ge.rules.tokenOfType("equals"),e.capture(Wn),ge.rules.tokenOfType("close-square-bracket")).map(function(F){switch(F){case"line":return rt.lineBreak;case"page":return rt.pageBreak;case"column":return rt.columnBreak}});return ge.rules.firstOf("element type",b,x,p,v,u,d,y,h,g,k,w)}function Pm(e){return Ys(bd(),e)}function bd(){var e=ge.rules.sequence.capture,t=ge.rules.tokenOfType("whitespace"),r=ge.rules.then(ge.rules.optional(ge.rules.sequence(ge.rules.tokenOfType("colon"),ge.rules.token("identifier","fresh"))),function(o){return o.map(function(){return!0}).valueOrElse(!1)}),i=ge.rules.then(ge.rules.optional(ge.rules.sequence(ge.rules.tokenOfType("colon"),ge.rules.token("identifier","separator"),ge.rules.tokenOfType("open-paren"),e(Wn),ge.rules.tokenOfType("close-paren")).head()),function(o){return o.valueOrElse("")}),s=ge.rules.oneOrMoreWithSeparator(ji,ge.rules.tokenOfType("choice")),c=ge.rules.sequence(e(s),e(ge.rules.zeroOrMore(Km)),e(r),e(i)).map(function(o,a,l,f){var m={},b={};return a.forEach(function(x){x.append&&m[x.name]?m[x.name]+=" "+x.value:m[x.name]=x.value}),l&&(b.fresh=!0),f&&(b.separator=f),Vr.element(o,m,b)});return ge.rules.firstOf("html path",ge.rules.then(ge.rules.tokenOfType("bang"),function(){return Vr.ignore}),ge.rules.then(ge.rules.zeroOrMoreWithSeparator(c,ge.rules.sequence(t,ge.rules.tokenOfType("gt"),t)),Vr.elements))}var ji=ge.rules.then(ge.rules.tokenOfType("identifier"),vd),Hm=ge.rules.tokenOfType("integer"),Wn=ge.rules.then(ge.rules.tokenOfType("string"),vd),Xm={n:` 234`,r:"\r",t:" "};function vd(e){return e.replace(/\\(.)/g,function(t,r){return Xm[r]||r})}var Vm=ge.rules.sequence(ge.rules.tokenOfType("open-square-bracket"),ge.rules.sequence.cut(),ge.rules.sequence.capture(ji),ge.rules.tokenOfType("equals"),ge.rules.sequence.capture(Wn),ge.rules.tokenOfType("close-square-bracket")).map(function(e,t){return{name:e,value:t,append:!1}}),$m=ge.rules.sequence(ge.rules.tokenOfType("dot"),ge.rules.sequence.cut(),ge.rules.sequence.capture(ji)).map(function(e){return{name:"class",value:e,append:!0}}),Km=ge.rules.firstOf("attribute or class",Vm,$m);function Ys(e,t){var r=Im(t),i=ge.Parser(),s=i.parseTokens(e,r);return s.isSuccess()?as.success(s.value()):new as.Result(null,[as.warning(Jm(t,s))])}
234function Jm(e,t){return"Did not understand this style mapping, so ignored it: "+e+` 235`+t.errors().map(Gm).join(` 236`)}function Gm(e){return"Error was at character number "+e.characterNumber()+": Expected "+e.expected+" but got "+e.actual}var Zm=Mm(),Ai={};Ai.readOptions=e2;var xd=$e,Qm=Ai._defaultStyleMap=["p.Heading1 => h1:fresh","p.Heading2 => h2:fresh","p.Heading3 => h3:fresh","p.Heading4 => h4:fresh","p.Heading5 => h5:fresh","p.Heading6 => h6:fresh","p[style-name='Heading 1'] => h1:fresh","p[style-name='Heading 2'] => h2:fresh","p[style-name='Heading 3'] => h3:fresh","p[style-name='Heading 4'] => h4:fresh","p[style-name='Heading 5'] => h5:fresh","p[style-name='Heading 6'] => h6:fresh","p[style-name='heading 1'] => h1:fresh","p[style-name='heading 2'] => h2:fresh","p[style-name='heading 3'] => h3:fresh","p[style-name='heading 4'] => h4:fresh","p[style-name='heading 5'] => h5:fresh","p[style-name='heading 6'] => h6:fresh","p.Heading => h1:fresh","p[style-name='Heading'] => h1:fresh","r[style-name='Strong'] => strong","p[style-name='footnote text'] => p:fresh","r[style-name='footnote reference'] =>","p[style-name='endnote text'] => p:fresh","r[style-name='endnote reference'] =>","p[style-name='annotation text'] => p:fresh","r[style-name='annotation reference'] =>","p[style-name='Footnote'] => p:fresh","r[style-name='Footnote anchor'] =>","p[style-name='Endnote'] => p:fresh","r[style-name='Endnote anchor'] =>","p:unordered-list(1) => ul > li:fresh","p:unordered-list(2) => ul|ol > li > ul > li:fresh","p:unordered-list(3) => ul|ol > li > ul|ol > li > ul > li:fresh","p:unordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ul > li:fresh","p:unordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ul > li:fresh","p:ordered-list(1) => ol > li:fresh","p:ordered-list(2) => ul|ol > li > ol > li:fresh","p:ordered-list(3) => ul|ol > li > ul|ol > li > ol > li:fresh","p:ordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh","p:ordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh","r[style-name='Hyperlink'] =>","p[style-name='Normal'] => p:fresh","p.Body => p:fresh","p[style-name='Body'] => p:fresh"],Ym=Ai._standardOptions={externalFileAccess:!1,transformDocument:t2,includeDefaultStyleMap:!0,includeEmbeddedStyleMap:!0};function e2(e){return e=e||{},xd.extend({},Ym,e,{customStyleMap:_l(e.styleMap),readStyleMap:function(){var t=this.customStyleMap;return this.includeEmbeddedStyleMap&&(t=t.concat(_l(this.embeddedStyleMap))),this.includeDefaultStyleMap&&(t=t.concat(Qm)),t}})}function _l(e){return e?xd.isString(e)?e.split(` 237`).map(function(t){return t.trim()}).filter(function(t){return t!==""&&t.charAt(0)!=="#"}):e:[]}function t2(e){return e}var Dd={},kl=Ze,n2=Ur;Dd.openZip=r2;function r2(e){return e.arrayBuffer?kl.resolve(n2.openArrayBuffer(e.arrayBuffer)):kl.reject(new Error("Could not find file in options"))}var _d={},i2=Ti(),a2=Ui();_d.element=s2;function s2(e){return function(t){return a2.elementWithTag(i2.element(e),[t])}}var o2=$e,kd=Ds,eo=$s,c2=Ks.DocumentConverter,l2=id.convertElementToRawText,u2=Ci.readStyle,d2=Ai.readOptions,zi=Dd,h2=_t.Result;St.convertToHtml=f2;St.convertToMarkdown=p2;St.convert=to;St.extractRawText=b2;St.images=Js;St.transforms=hn;St.underline=_d;St.embedStyleMap=v2;St.readEmbeddedStyleMap=g2;function f2(e,t){return to(e,t)}function p2(e,t){var r=Object.create(t||{});return r.outputFormat="markdown",to(e,r)}function to(e,t){return t=d2(t),zi.openZip(e).tap(function(r){return eo.readStyleMap(r).then(function(i){t.embeddedStyleMap=i})}).then(function(r){return kd.read(r,e,t).then(function(i){return i.map(t.transformDocument)}).then(function(i){return m2(i,t)})})}function g2(e){return zi.openZip(e).then(eo.readStyleMap)}function m2(e,t){var r=y2(t.readStyleMap()),i=o2.extend({},t,{styleMap:r.value}),s=new c2(i);return e.flatMapThen(function(c){return r.flatMapThen(function(o){return s.convertToHtml(c)})})}function y2(e){return h2.combine((e||[]).map(u2)).map(function(t){return t.filter(function(r){return!!r})})}function b2(e){return zi.openZip(e).then(kd.read).then(function(t){return t.map(l2)})}function v2(e,t){return zi.openZip(e).tap(function(r){return eo.writeStyleMap(r,t)}).then(function(r){return r.toArrayBuffer()}).then(function(r){return{toArrayBuffer:function(){return r},toBuffer:function(){return Buffer.from(r)}}})}St.styleMapping=function(){throw new Error(`Use a raw string instead of mammoth.styleMapping e.g. "p[style-name='Title'] => h1" instead of mammoth.styleMapping("p[style-name='Title'] => h1")`)};hh.workerSrc=`//cdnjs.cloudflare.com/ajax/libs/pdf.js/${fh}/pdf.worker.min.js`;async function wd(e){var r;
237const t=((r=e.name.split(".").pop())==null?void 0:r.toLowerCase())??"";if(["txt","md","csv"].includes(t))return e.text();if(["docx","doc"].includes(t)){const i=await e.arrayBuffer();return(await St.extractRawText({arrayBuffer:i})).value}if(t==="pdf"){const i=await e.arrayBuffer(),s=await ph({data:i}).promise,c=[];for(let o=1;o<=s.numPages;o++){const f=(await(await s.getPage(o)).getTextContent()).items.map(m=>"str"in m?m.str:"").join(" ");c.push(f)}return c.join(` 238 239`)}return e.text()}function x2({onImported:e}){const{toast:t}=at(),[r,i]=be.useState(!1),[s,c]=be.useState(""),[o,a]=be.useState(!1),[l,f]=be.useState(!1),m=be.useCallback(async x=>{var v;const p=(v=x.target.files)==null?void 0:v[0];if(p){f(!0);try{const u=await wd(p);if(u.trim().length<5){t({title:"Ãres vagy olvashatatlan fájl",description:"Szkennelt PDF esetén próbáld meg kézzel beilleszteni.",variant:"destructive"});return}c(u),t({title:"Fájl beolvasva",description:`${p.name} â ${u.length} karakter kinyerve`})}catch(u){console.error("File extract error:",u),t({title:"Fájl olvasási hiba",description:u.message||"Nem sikerült beolvasni",variant:"destructive"})}finally{f(!1),x.target.value=""}}},[t]),b=async()=>{var x,p;if(s.trim().length<10){t({title:"Túl rövid szöveg",description:"Legalább 10 karakter szükséges.",variant:"destructive"});return}a(!0);try{const{data:v,error:u}=await me.functions.invoke("parse-event-document",{body:{text:s}});if(u)throw u;if(v!=null&&v.error)throw new Error(v.error);const d=v==null?void 0:v.data;if(!d)throw new Error("Nem sikerült feldolgozni");const y={};if(d.tipus){const g={csapatepito:"CsapatépÃtÅ csomag",eskuvo:"EsküvÅi csomag",szuletesnap:"Születésnapi csomag",fesztival:"Fesztivál csomag",konferencia:"Konferencia csomag"};y.nev=g[d.tipus]||"Rendezvény csomag"}d.kulonleges_igenyek&&(y.leiras=d.kulonleges_igenyek),(x=d.idopontok)!=null&&x.length&&(y.idopontok=d.idopontok.map(g=>({datum_tol:g.datum_tol||"",datum_ig:g.datum_ig||""}))),d.ajanlat_osszeg&&(y.arak=[{label:"Alapcsomag",ar:d.ajanlat_osszeg,leiras:d.letszam?`${d.letszam} fÅ`:""}]),(p=d.program_leirasok)!=null&&p.length&&(y.programLeirasok=d.program_leirasok.map(g=>({nap:g.nap_szama||1,cim:g.cim||"",leiras:g.leiras||""}))),e(y);const h=Object.values(y).filter(g=>g!=null).length;t({title:"AI kitöltötte a csomag adatokat",description:`${h} mezÅ kitöltve â ellenÅrizd és mentsd!`}),i(!1)}catch(v){console.error("AI package import error:",v),t({title:"Feldolgozási hiba",description:v.message||"Nem sikerült feldolgozni a szöveget",variant:"destructive"})}finally{a(!1)}};return n.jsxs(bt,{open:r,onOpenChange:i,children:[n.jsx(vt,{asChild:!0,children:n.jsxs(ye,{variant:"outline",size:"sm",className:"gap-2",style:{borderColor:"hsl(var(--leather) / 0.3)",color:"hsl(var(--leather))"},children:[n.jsx(Tt,{size:14}),"AI csomag kitöltés szövegbÅl"]})}),n.jsxs(xt,{className:"mt-3 space-y-3 p-3 rounded-md",style:{background:"hsl(var(--muted))"},children:[n.jsx(Ce,{style:{fontFamily:"Jost, sans-serif",fontSize:"0.75rem",color:"hsl(var(--ink-soft))"},children:"Illeszd be a rendezvény/csomag leÃrását â az AI kinyeri az idÅpontokat, árakat, programokat"}),n.jsx(Nt,{value:s,onChange:x=>c(x.target.value),rows:6,placeholder:"Pl.: 2 napos csapatépÃtÅ, péntek-szombat, 30 fÅ, reggeli workshop + délutáni túra...",style:{fontFamily:"EB Garamond, serif",fontSize:"0.95rem"}}),n.jsxs("div",{className:"flex items-center gap-2",children:[n.jsxs("label",{className:"flex items-center gap-1.5 cursor-pointer text-xs px-2 py-1 rounded border",style:{borderColor:"hsl(var(--rule))",color:"hsl(var(--ink-soft))",fontFamily:"Jost, sans-serif"},children:[l?n.jsx(Yt,{size:12,className:"animate-spin"}):n.jsx(Nl,{size:12}),l?"Beolvasás...":"Word / PDF / TXT",n.jsx("input",{type:"file",accept:".txt,.md,.csv,.pdf,.docx,.doc",onChange:m,className:"hidden",disabled:l})]}),n.jsx("div",{className:"flex-1"}),n.jsxs(ye,{size:"sm",onClick:b,disabled:o||l||s.trim().length<10,className:"gap-1.5",style:{background:"hsl(var(--leather))",color:"#fff",fontFamily:"Jost, sans-serif"},children:[o?n.jsx(Yt,{size:14,className:"animate-spin"}):n.jsx(Tt,{size:14}),o?"Feldolgozás...":"Csomag kitöltése"]})]})]})]})}function Sn(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase().trim().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")}function wl(e){const t=new Date().getFullYear();return`PKG-${e.toUpperCase().replace(/-/g,"-")}-${t}`}function D2({eventId:e,defaultPackageId:t,defaultView:r}){const{toast:i}=at(),s=ht(),[c,o]=be.useState(null),[a,l]=be.useState(null),[f,m]=be.useState(""),[b,x]=be.useState(""),[p,v]=be.useState(""),[u,d]=be.useState(""),[y,h]=be.useState(""),[g,k]=be.useState(!0),[w,F]=be.useState([]),[z,S]=be.useState([]),[I,K]=be.useState([]),[ae,j]=be.useState(null),[R,_]=be.useState(null),[J,U]=be.useState("structured"),[A,E]=be.useState(""),[C,O]=be.useState(!1),[B,M]=be.useState(!1),[P,te]=be.useState(""),[se,he]=be.useState(""),[fe,ve]=be.useState(2),[De,je]=be.useState(""),[Se,ne]=be.useState(r==="muszerfal"?"muszerfal":"szerkeszto"),{data:le,isLoading:D}=ze({queryKey:["event-packages",e],queryFn:async()=>{const{data:X,error:pe}=await me.from("event_packages").select("*").eq("event_id",e).order("created_at");if(pe)throw pe;return X??[]}});be.useEffect(()=>{if(le!=null&&le.length){if(t&&le.some(X=>X.id===t)&&!c&&!B){o(t);return}!c&&!B&&o(le[0].id)}},[le,c,B,t]),be.useEffect(()=>{if(!c||B)return;const X=le==null?void 0:le.find(pe=>pe.id===c);X&&(m(X.nev),x(X.slug),v(X.leiras||""),d(X.facebook_url||""),h(X.cover_image||""),k(X.is_active),F(X.idopontok||[]),S(X.arak||[]),K(X.program_leirasok||[]),j(X.landing_html||null),_(X.landing_sections),U(X.landing_sections?"structured":"html"),te(X.stripe_buy_button_id||""),he(X.stripe_publishable_key||""),ve(X.ejszakak_szama??2),je(X.szep_kartya_url||""))},[c,le,B]);const re=()=>{m(""),x(""),v(""),d(""),h(""),k(!0),F([]),S([]),K([]),j(null),_(null),U("structured"),E(""),te(""),he(""),ve(2),je("")},ee=()=>{o(null),M(!0),re()},L=X=>{m(X),B&&x(Sn(X))},W=wl(b||Sn(f)),Z=async()=>{O(!0);try{const{data:X,error:pe}=await me.functions.invoke("generate-cover-image",{body:{name:f,description:p,customPrompt:A||void 0}});if(pe)throw pe;if(X!=null&&X.error)throw new Error(X.error);X!=null&&X.url&&(h(X.url),i({title:"BorÃtókép generálva!",description:"Ne felejtsd el menteni a csomagot."}))}catch(X){i({title:"Képgenerálás sikertelen",description:X==null?void 0:X.message,variant:"destructive"})}finally{O(!1)}},oe=async()=>{const{data:X}=await me.from("event_packages").select("idopontok").eq("event_id",e),pe=(X??[]).flatMap(xe=>xe.idopontok||[]).flatMap(xe=>
239[xe.datum_tol,xe.datum_ig]).filter(Boolean).sort();pe.length>0&&(await me.from("events").update({datum_tol:pe[0],datum_ig:pe[pe.length-1],datum:pe[0]}).eq("id",e),s.invalidateQueries({queryKey:["event",e]}))},ue=Oe({mutationFn:async()=>{const X=b||Sn(f),pe={event_id:e,nev:f,slug:X,csomag_kod:wl(X),leiras:p||null,facebook_url:u||null,cover_image:y||null,is_active:g,idopontok:w,arak:z,program_leirasok:I,landing_html:ae,landing_sections:R,stripe_buy_button_id:P||null,stripe_publishable_key:se||null,ejszakak_szama:fe,szep_kartya_url:De||null};if(B){const{data:xe,error:Ue}=await me.from("event_packages").insert(pe).select("id").single();if(Ue)throw Ue;o(xe.id),M(!1)}else if(c){const{error:xe}=await me.from("event_packages").update(pe).eq("id",c);if(xe)throw xe}},onSuccess:async()=>{await oe(),s.invalidateQueries({queryKey:["event-packages",e]}),s.invalidateQueries({queryKey:["event-package-idopontok",e]}),i({title:"Csomag mentve!"})},onError:X=>{i({title:"Hiba a mentéskor",description:X==null?void 0:X.message,variant:"destructive"})}}),G=Oe({mutationFn:async X=>{const{error:pe}=await me.from("event_packages").delete().eq("id",X);if(pe)throw pe},onSuccess:async()=>{l(null),c===a&&(o(null),re()),await oe(),s.invalidateQueries({queryKey:["event-packages",e]}),s.invalidateQueries({queryKey:["event-package-idopontok",e]}),i({title:"Csomag törölve"})},onError:()=>i({title:"Hiba történt",variant:"destructive"})});if(D)return n.jsxs("div",{className:"space-y-4",children:[n.jsx(Pe,{className:"h-10 w-full"}),n.jsx(Pe,{className:"h-32 w-full"})]});const q=((le==null?void 0:le.length)??0)>0,$=B||c,Y=()=>n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[n.jsxs("div",{className:"space-y-1",children:[n.jsx("label",{className:"text-xs",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink-faint))"},children:"Csomag neve *"}),n.jsx(_e,{value:f,onChange:X=>L(X.target.value),placeholder:"pl. LassÃtó Napok"})]}),n.jsxs("div",{className:"space-y-1",children:[n.jsx("label",{className:"text-xs",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink-faint))"},children:"Slug (URL)"}),n.jsx(_e,{value:b,onChange:X=>x(Sn(X.target.value)),placeholder:"lassito-napok"})]})]}),n.jsxs("div",{className:"p-3 rounded-md text-sm",style:{background:"hsl(var(--muted))",fontFamily:"Jost, sans-serif"},children:[n.jsx("span",{style:{color:"hsl(var(--ink-faint))"},children:"Csomag kód: "}),n.jsx("strong",{style:{color:"hsl(var(--leather))"},children:W})]}),n.jsxs("div",{className:"space-y-1",children:[n.jsx("label",{className:"text-xs",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink-faint))"},children:"Rövid leÃrás"}),n.jsx(Nt,{rows:3,value:p,onChange:X=>v(X.target.value),placeholder:"A csomag rövid leÃrása..."})]}),n.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[n.jsxs("div",{className:"space-y-1",children:[n.jsx("label",{className:"text-xs",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink-faint))"},children:"Facebook URL"}),n.jsx(_e,{value:u,onChange:X=>d(X.target.value),placeholder:"https://facebook.com/events/..."})]}),n.jsxs("div",{className:"space-y-1",children:[n.jsx("label",{className:"text-xs",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink-faint))"},children:"BorÃtókép"}),n.jsx(ah,{value:y,onChange:h,placeholder:"Kép URL vagy tallózásâ¦"})]})]}),n.jsxs("div",{className:"p-4 rounded-md border space-y-3",style:{borderColor:"hsl(var(--rule))",background:"hsl(var(--muted))"},children:[n.jsxs("div",{className:"flex items-center gap-2",children:[n.jsx(Tt,{size:16,style:{color:"hsl(var(--leather))"}}),n.jsx("span",{className:"text-xs font-medium",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--mineral-d))"},children:"AI BorÃtókép generálás"})]}),n.jsx(_e,{value:A,onChange:X=>E(X.target.value),placeholder:"Egyedi prompt (opcionális) â pl. 'Åszi erdÅ, meleg fények'",style:{fontFamily:"Jost, sans-serif"}}),n.jsxs("div",{className:"flex items-center gap-3",children:[n.jsxs(ye,{type:"button",variant:"outline",onClick:Z,disabled:C||!f,className:"gap-1.5 text-xs",style:{fontFamily:"Jost, sans-serif",borderColor:"hsl(var(--m
239ineral))",color:"hsl(var(--mineral))"},children:[C?n.jsx(Yt,{size:14,className:"animate-spin"}):n.jsx(mh,{size:14}),C?"Generálás...":"BorÃtókép generálása"]}),y&&n.jsx("img",{src:y,alt:"BorÃtókép elÅnézet",className:"h-12 w-20 object-cover rounded"})]})]}),n.jsxs("div",{className:"flex items-center gap-3",children:[n.jsx(ys,{checked:g,onCheckedChange:k}),n.jsx("span",{className:"text-sm",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink-soft))"},children:"AktÃv (publikusan elérhetÅ)"})]}),n.jsxs("div",{className:"p-4 rounded-md border space-y-3",style:{borderColor:"hsl(var(--rule))",background:"hsl(var(--muted))"},children:[n.jsx("div",{className:"flex items-center gap-2",children:n.jsx("span",{className:"text-xs font-medium",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--mineral-d))"},children:"ð³ Stripe Buy Button"})}),n.jsx("p",{className:"text-xs",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink-faint))"},children:"Csomag-szintű fallback. Ha egy idÅpontnál is meg van adva Stripe Buy Button, az felülÃrja ezt."}),n.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[n.jsxs("div",{className:"space-y-1",children:[n.jsx("label",{className:"text-xs",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink-faint))"},children:"Buy Button ID"}),n.jsx(_e,{value:P,onChange:X=>te(X.target.value),placeholder:"buy_btn_..."})]}),n.jsxs("div",{className:"space-y-1",children:[n.jsx("label",{className:"text-xs",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink-faint))"},children:"Publishable Key"}),n.jsx(_e,{value:se,onChange:X=>he(X.target.value),placeholder:"pk_live_..."})]})]})]}),n.jsxs("div",{className:"p-4 rounded-md border space-y-3",style:{borderColor:"hsl(var(--rule))",background:"hsl(var(--muted))"},children:[n.jsx("div",{className:"flex items-center gap-2",children:n.jsx("span",{className:"text-xs font-medium",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--mineral-d))"},children:"ð¦ OTP SZÃP Kártya"})}),n.jsxs("div",{className:"space-y-1",children:[n.jsx("label",{className:"text-xs",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink-faint))"},children:"Fizetési link URL"}),n.jsx(_e,{value:De,onChange:X=>
239je(X.target.value),placeholder:"https://szepkartya.otpportalok.hu/..."})]})]}),n.jsx("hr",{style:{borderColor:"hsl(var(--rule))"}}),n.jsx(oh,{value:w,onChange:F,ejszakakSzama:fe,onEjszakakChange:ve}),n.jsx("hr",{style:{borderColor:"hsl(var(--rule))"}}),n.jsx(ch,{value:z,onChange:S}),n.jsx("hr",{style:{borderColor:"hsl(var(--rule))"}}),n.jsx(Oh,{value:I,onChange:K}),n.jsx("hr",{style:{borderColor:"hsl(var(--rule))"}}),n.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[n.jsx("span",{className:"text-xs",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink-faint))"},children:"Landing mód:"}),n.jsxs("div",{className:"flex gap-1",children:[n.jsx("button",{onClick:()=>U("structured"),className:"px-3 py-1.5 text-xs rounded-md transition-colors",style:{fontFamily:"Jost, sans-serif",background:J==="structured"?"hsl(var(--mineral))":"transparent",color:J==="structured"?"#fff":"hsl(var(--ink-soft))",border:`1px solid ${J==="structured"?"hsl(var(--mineral))":"hsl(var(--rule))"}`},children:"Strukturált szerkesztÅ"}),n.jsx("button",{onClick:()=>U("html"),className:"px-3 py-1.5 text-xs rounded-md transition-colors",style:{fontFamily:"Jost, sans-serif",background:J==="html"?"hsl(var(--mineral))":"transparent",color:J==="html"?"#fff":"hsl(var(--ink-soft))",border:`1px solid ${J==="html"?"hsl(var(--mineral))":"hsl(var(--rule))"}`},children:"AI HTML"})]})]}),J==="structured"?n.jsx(Mh,{value:R,onChange:_,slug:b||Sn(f)}):n.jsx(Rh,{packageData:{nev:f,leiras:p,program_leirasok:I,arak:z,idopontok:w,facebook_url:u,cover_image:y},landingHtml:ae,onHtmlGenerated:j,slug:b||Sn(f),isSaved:!B&&!!c})]});return n.jsxs("div",{className:"flex gap-6",children:[n.jsxs("div",{className:"w-56 flex-shrink-0 space-y-2",children:[n.jsxs(ye,{size:"sm",className:"w-full gap-1 mb-3",style:{background:"hsl(var(--mineral))",fontFamily:"Jost, sans-serif",fontSize:"0.7rem",letterSpacing:"0.15em",textTransform:"uppercase"},onClick:ee,children:[n.jsx(Ve,{size:14})," Ãj csomag"]}),le==null?void 0:le.map(X=>n.jsxs("div",{className:"p-3 rounded-md border cursor-pointer transition-colors",style:{borderColor:c===X.id&&!B?"hsl(var(--mineral))":"hsl(var(--rule))",background:c===X.id&&!B?"hsl(var(--muted))":"transparent"},onClick:()=>{o(X.id),M(!1)},children:[n.jsxs("div",{className:"flex items-center justify-between",children:[n.jsx("span",{className:"text-sm font-medium truncate",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink))"},children:X.nev}),!X.is_active&&n.jsx("span",{className:"text-[10px] px-1.5 py-0.5 rounded",style:{background:"hsl(var(--ash))",color:"hsl(var(--ink-soft))",fontFamily:"Jost, sans-serif"},children:"InaktÃv"})]}),n.jsx("p",{className:"text-xs mt-0.5 truncate",style:{color:"hsl(var(--ink-faint))",fontFamily:"Jost, sans-serif"},children:X.csomag_kod})]},X.id)),!(le!=null&&le.length)&&!B&&n.jsx("p",{className:"text-xs text-center py-4",style:{color:"hsl(var(--ink-faint))",fontFamily:"Jost, sans-serif"},children:"Még nincs csomag"})]}),$?n.jsxs("div",{className:"flex-1 max-w-3xl space-y-6",children:[n.jsx(x2,{onImported:X=>{var pe,xe,Ue;X.nev&&L(X.nev),X.leiras&&v(X.leiras),(pe=X.idopontok)!=null&&pe.length&&F(X.idopontok),(xe=X.arak)!=null&&xe.length&&S(X.arak),(Ue=X.programLeirasok)!=null&&Ue.length&&K(X.programLeirasok)}}),n.jsxs("div",{className:"flex items-center justify-between",children:[n.jsxs("div",{className:"flex items-center gap-2",children:[n.jsx(cs,{size:20,style:{color:"hsl(var(--leather))"}}),n.jsx("h3",{style:{fontFamily:"'Cormorant Garamond', serif",fontWeight:300,fontSize:"1.4rem",color:"hsl(var(--mineral-d))"},children:B?"Ãj csomag létrehozása":"Csomag szerkesztése"})]}),n.jsxs("div",{className:"flex gap-2",children:[!B&&c&&n.jsxs(ye,{variant:"outline",size:"sm",className:"gap-1 text-destructive",onClick:()=>l(c),children:[n.jsx(Ke,{size:14})," Törlés"]}),n.jsxs(ye,{onClick:()=>ue.mutate(),disabled:!f||!b||ue.isPending,className:"gap-1",style:{background:"hsl(var(--mineral))"},children:[ue.isPending?n.jsx(Yt,{size:16,className:"animate-spin"}):n.jsx(gh,{size:16}),"Mentés"]})]})]}),!B&&c?n.jsxs(Al,{value:Se,onValueChange:ne,className:"space-y-4",children:[n.jsxs(zl,{children:[n.jsx(Gt,{value:"szerkeszto",style:{fontFamily:"Jost, sans-serif"},children:"SzerkesztÅ"}),n.jsx(Gt,{value:"muszerfal",style:{fontFamily:"Jost, sans-serif"},children:"Műszerfal"})]}),n.jsx(Zt,{value:"muszerfal",children:n.jsx(sh,{packageId:c,slug:b,stripeBuyButtonId:P,stripePublishableKey:se,szepKartyaUrl:De})}),n.jsx(Zt,{value:"szerkeszto",className:"space-y-6",children:Y()})]}):n.jsx("div",{className:"space-y-6",children:Y()})]}):n.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center min-h-[300px] text-center",children:[n.jsx(cs,{size:32,strokeWidth:1,className:"mb-3",style:{color:"hsl(var(--ash))"}}),n.jsx("p",{className:"text-sm mb-1",style:{color:"hsl(var(--ink-soft))",fontFamily:"Jost, sans-serif"},children:q?"Válassz egy csomagot a bal oldali listából":"Még nincs csomag létrehozva"}),n.jsx("p",{className:"text-xs",style:{color:"hsl(var(--ink-faint))",fontFamily:"Jost, sans-serif"},children:q?'vagy hozz létre újat az âÃj csomag" gombbal.':'Kattints az âÃj csomag" gombra a bal oldalon egy rendezvénycsomag létrehozásához.'})]}),n.jsx(Rn,{open:!!a,onOpenChange:X=>!X&&l(null),children:n.jsxs(In,{children:[n.jsxs(Ln,{children:[n.jsx(Mn,{children:"Csomag törlése"}
239),n.jsx(qn,{children:"Biztosan törlöd ezt a csomagot? A művelet nem visszavonható."})]}),n.jsxs(Pn,{children:[n.jsx(Hn,{children:"Mégse"}),n.jsx(Xn,{className:"bg-destructive text-destructive-foreground hover:bg-destructive/90",onClick:()=>a&&G.mutate(a),children:"Törlés"})]})]})})]})}function Ul(e){const t=Qe(new Date(e.datum_tol),"MMM d.",{locale:Dt}),r=Qe(new Date(e.datum_ig),"MMM d.",{locale:Dt});return e.datum_tol===e.datum_ig?t:`${t} â ${r}`}function _2({eventId:e,selectedId:t,onSelect:r}){const{toast:i}=at(),s=ht(),[c,o]=be.useState(!1),[a,l]=be.useState(""),[f,m]=be.useState(""),{data:b,isLoading:x}=ze({queryKey:["event-occurrences",e],queryFn:async()=>{const{data:d,error:y}=await me.from("event_occurrences").select("*").eq("event_id",e).order("datum_tol");if(y)throw y;return d??[]}}),p=Oe({mutationFn:async()=>{const{data:d,error:y}=await me.from("event_occurrences").insert({event_id:e,datum_tol:a,datum_ig:f||a}).select().single();if(y)throw y;return d},onSuccess:d=>{s.invalidateQueries({queryKey:["event-occurrences",e]}),r(d.id),o(!1),l(""),m(""),i({title:"IdÅpont hozzáadva"})},onError:()=>i({title:"Hiba történt",variant:"destructive"})}),v=Oe({mutationFn:async d=>{const{error:y}=await me.from("event_occurrences").delete().eq("id",d);if(y)throw y},onSuccess:()=>{s.invalidateQueries({queryKey:["event-occurrences",e]}),i({title:"IdÅpont törölve"})},onError:()=>i({title:"Hiba történt",variant:"destructive"})});if(x)return n.jsx(Pe,{className:"h-9 w-64"});const u=b??[];return n.jsxs("div",{className:"flex items-center gap-2 flex-wrap",children:[n.jsx(Jd,{size:14,style:{color:"hsl(var(--leather))"}}),n.jsx("span",{className:"text-xs font-medium",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink-soft))"},children:"IdÅpont:"}),u.length<=1&&u.length>0?n.jsx(Le,{variant:"outline",className:"text-xs",style:{fontFamily:"Jost, sans-serif"},children:Ul(u[0])}):u.length>1?n.jsxs(Ft,{value:t||"",onValueChange:r,children:[n.jsx(jt,{className:"h-8 w-auto min-w-[180px] text-xs",style:{fontFamily:"Jost, sans-serif"},children:n.jsx(At,{placeholder:"Válassz idÅpontot..."})}),n.jsx(zt,{children:u.map(d=>n.jsxs(Je,{value:d.id,className:"text-xs",children:[Ul(d),d.megjegyzes?` â ${d.megjegyzes}`:""]},d.id))})]}):null,u.length>1&&t&&n.jsx(ye,{variant:"ghost",size:"sm",className:"h-7 w-7 p-0",onClick:()=>{u.length>1&&v.mutate(t)},title:"IdÅpont törlése",children:n.jsx(Ke,{size:12,className:"text-muted-foreground hover:text-destructive"})}),c?n.jsxs("div",{className:"flex items-center gap-1",children:[n.jsx(_e,{type:"date",value:a,onChange:d=>l(d.target.value),className:"h-7 text-xs w-32"}),n.jsx("span",{className:"text-xs text-muted-foreground",children:"â"}),n.jsx(_e,{type:"date",value:f,onChange:d=>m(d.target.value),className:"h-7 text-xs w-32",min:a}),n.jsx(ye,{size:"sm",className:"h-7 text-xs",disabled:!a,onClick:()=>p.mutate(),style:{background:"hsl(var(--mineral))"},children:"OK"}),n.jsx(ye,{variant:"ghost",size:"sm",className:"h-7 text-xs",onClick:()=>o(!1),children:"Ã"})]}):n.jsxs(ye,{variant:"ghost",size:"sm",className:"h-7 gap-1 text-xs",onClick:()=>o(!0),children:[n.jsx(Ve,{size:12})," Ãj idÅpont"]})]})}function k2({set:e,onOccurrencesExtracted:t,onProgramsExtracted:r}){const{toast:i}=at(),[s,c]=be.useState(!1),[o,a]=be.useState(""),[l,f]=be.useState(!1),[m,b]=be.useState(!1),x=be.useCallback(async v=>{var d;const u=(d=v.target.files)==null?void 0:d[0];if(u){b(!0);try{const y=await wd(u);if(y.trim().length<5){i({title:"Ãres vagy olvashatatlan fájl",description:"Szkennelt PDF esetén próbáld meg a szöveget kézzel beilleszteni.",variant:"destructive"});return}a(y),i({title:"Fájl beolvasva",description:`${u.name} â ${y.length} karakter kinyerve`})}catch(y){console.error("File extract error:",y),i({title:"Fájl olvasási hiba",description:y.message||"Nem sikerült beolvasni a fájlt",variant:"destructive"})}finally{b(!1),v.target.value=""}}},[i]),p=async()=>{var v,u;if(o.trim().length<10){i({title:"Túl rövid szöveg",description:"Legalább 10 karakter szükséges.",variant:"destructive"});return}f(!0);try{const{data:d,error:y}=await me.functions.invoke("parse-event-document",{body:{text:o}});if(y)throw y;if(d!=null&&d.error)throw new Error(d.error);const h=d==null?void 0:d.data;if(!h)throw new Error("Nem sikerült feldolgozni");if(h.kontakt_nev&&e("kontakt_nev",h.kontakt_nev),h.kontakt_email&&e("kontakt_email",h.kontakt_email),h.k
239ontakt_telefon&&e("kontakt_telefon",h.kontakt_telefon),h.tipus&&e("tipus",h.tipus),h.letszam&&e("letszam",h.letszam),h.ajanlat_osszeg&&e("ajanlat_osszeg",h.ajanlat_osszeg),h.kulonleges_igenyek&&e("kulonleges_igenyek",h.kulonleges_igenyek),(v=h.idopontok)!=null&&v.length){const k=h.idopontok[0];e("datum_tol",k.datum_tol),e("datum",k.datum_tol),e("datum_ig",k.datum_ig),t==null||t(h.idopontok)}(u=h.program_leirasok)!=null&&u.length&&(r==null||r(h.program_leirasok));const g=Object.values(h).filter(k=>k!=null&&k!=="").length;i({title:"AI kitöltötte az adatokat",description:`${g} mezÅ kitöltve â ellenÅrizd és mentsd!`}),c(!1)}catch(d){console.error("AI import error:",d),i({title:"Feldolgozási hiba",description:d.message||"Nem sikerült feldolgozni a szöveget",variant:"destructive"})}finally{f(!1)}};return n.jsxs(bt,{open:s,onOpenChange:c,children:[n.jsx(vt,{asChild:!0,children:n.jsxs(ye,{variant:"outline",size:"sm",className:"w-full gap-2",style:{borderColor:"hsl(var(--leather) / 0.3)",color:"hsl(var(--leather))"},children:[n.jsx(Tt,{size:14}),"AI importálás szövegbÅl"]})}),n.jsxs(xt,{className:"mt-3 space-y-3 p-3 rounded-md",style:{background:"hsl(var(--muted))"},children:[n.jsx(Ce,{style:{fontFamily:"Jost, sans-serif",fontSize:"0.75rem",color:"hsl(var(--ink-soft))"},children:"Illeszd be a rendezvény leÃrását, emailt, programtervet â vagy tölts fel Word/PDF fájlt"}),n.jsx(Nt,{value:o,onChange:v=>a(v.target.value),rows:6,placeholder:"Pl.: Kedves ParkMotel! Szeretnénk egy csapatépÃtÅt szervezni 30 fÅre, 2026. július 10-12. között...",style:{fontFamily:"EB Garamond, serif",fontSize:"0.95rem"}}),n.jsxs("div",{className:"flex items-center gap-2",children:[n.jsxs("label",{className:"flex items-center gap-1.5 cursor-pointer text-xs px-2 py-1 rounded border",style:{borderColor:"hsl(var(--rule))",color:"hsl(var(--ink-soft))",fontFamily:"Jost, sans-serif"},children:[m?n.jsx(Yt,{size:12,className:"animate-spin"}):n.jsx(Nl,{size:12}),m?"Beolvasás...":"Word / PDF / TXT",n.jsx("input",{type:"file",accept:".txt,.md,.csv,.pdf,.docx,.doc",onChange:x,className:"hidden",disabled:m})]}),n.jsx("div",{className:"flex-1"}),n.jsxs(ye,{size:"sm",onClick:p,disabled:l||m||o.trim().length<10,className:"gap-1.5",style:{background:"hsl(var(--leather))",color:"#fff",fontFamily:"Jost, sans-serif"},children:[l?n.jsx(Yt,{size:14,className:"animate-spin"}):n.jsx(Tt,{size:14}),l?"Feldolgozás...":"Feldolgozás"]})]})]})]})}function w2({eventId:e,occurrenceId:t,letszam:r,datumTol:i,datumIg:s}){var h;const{toast:c}=at(),o=ht(),{data:a,isLoading:l}=ze({queryKey:["apartments-for-event"],queryFn:async()=>{const{data:g,error:k}=await me.from("apartments").select("id, name, code, category, max_guests").is("deleted_at",null).eq("is_active",!0).order("sort_order");if(k)throw k;return g??[]}}),{data:f,isLoading:m}=ze({queryKey:["event-apartments",e,t],queryFn:async()=>{let g=me.from("event_apartments").select("id, apartment_id").eq("event_id",e);t?g=g.eq("occurrence_id",t):g=g.is("occurrence_id",null);const{data:k,error:w}=await g;if(w)throw w;return k??[]}}),{data:b}=ze({queryKey:["sheet-bookings-overlap",i,s],queryFn:async()=>{if(!i||!s)return[];const{data:g,error:k}=await me.from("sheet_bookings").select("haz_neve, vendeg_neve").lt("erkezes",s).gt("tavozas",i);if(k)throw k;return g??[]},enabled:!!i&&!!s}),x=new Map;if(b&&a)for(const g of a){const k=b.filter(w=>(w.haz_neve||"").trim()===g.name);if(k.length===0)x.set(g.id,"szabad");else{const w=k.some(F=>{const z=(F.vendeg_neve||"").trim().toLowerCase();return z!==""&&z!=="off"});x.set(g.id,w?"foglalt":"szabad")}}const p=new Set((f==null?void 0:f.map(g=>g.apartment_id))??[]),v=Oe({mutationFn:async({aptId:g,checked:k})=>{if(k){const{error:w}=await me.from("event_apartments").insert({event_id:e,apartment_id:g,occurrence_id:t||null});if(w)throw w}else{let w=me.from("event_apartments").delete().eq("event_id",e).eq("apartment_id",g);t?w=w.eq("occurrence_id",t):w=w.is("occurrence_id",null);const{error:F}=await w;if(F)throw F}},onSuccess:()=>{o.invalidateQueries({queryKey:["event-apartments",e,t]})},onError:()=>c({title:"Hiba történt",variant:"destructive"})});if(l||m)return n.jsx(Pe,{className:"h-24"});const u=((h=a==null?void 0:a.filter(g=>p.has(g.id)))==null?void 0:h.reduce((g,k)=>g+k.max_guests,0))??0,d=r>u&&p.size>0,y=!!i&&!!s;return n.jsxs("div",{className:"space-y-3",children:[n.jsxs("div",{className:"flex items-center gap-2",children:[n.jsx(Gd,{size:14,style:{color:"hsl(var(--leather))"}}),n.jsx("span",{className:"text-xs font-medium uppercase tracking-wider",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--leather))"},children:"Foglalt házak"}),p.size>0&&n.jsxs(Le,{variant:"secondary",className:"text-[10px] px-1.5",children:[p.size," ház · ",u," fÅ kapacitás"]})]}),d&&n.jsxs("div",{className:"flex items-center gap-2 text-xs p-2 rounded",style:{background:"hsl(40, 90%, 95%)",color:"hsl(30, 80%, 35%)"},children:[n.jsx(vs,{size:12}),n.jsxs("span",{style:{fontFamily:"Jost, sans-serif"},children:["Kapacitás (",u," fÅ) kevesebb mint a létszám (",r," fÅ)"]})]}),!y&&n.jsx("p",{className:"text-xs",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink-faint))"},children:"Adj meg dátumot az idÅpontnál a foglaltsági állapot megjelenÃtéséhez."}),n.jsx("div",{className:"grid grid-cols-2 gap-1",children:a==null?void 0:a.map(g=>{const w=x.get(g.id)==="foglalt";return n.jsxs("label",{className:"flex items-center gap-2 p-2 rounded cursor-pointer hover:bg-muted text-sm transition-colors",style:{fontFamily:"Jost, sans-serif"},children:[n.jsx(xs,{checked:p.has(g.id),onCheckedChange:F=>v.mutate({aptId:g.id,checked:!!F})}),n.jsx("span",{className:"flex-1 text-xs",style:{color:"hsl(var(--ink))"},children:g.name}),y&&n.jsx(Le,{variant:"outline",className:"text-[9px] px-1 py-0 border",style:{color:w?"hsl(0, 70%, 45%)":"hsl(140, 50%, 35%)",borderColor:w?"hsl(0, 60%, 70%)":"hsl(140, 40%, 65%)",background:w?"hsl(0, 80%, 96%)":"hsl(140, 50%, 96%)"},children:w?"Foglalt":"Szabad"}),n.jsxs("span",{className:"flex items-center gap-0.5 text-[10px]",style:{color:"hsl(var(--ink-faint))"},children:[n.jsx(wr,{size:10})," ",g.max_guests]})]},g.id)})})]})}const U2=["eskuvo","szuletesnap","csapatepito","fesztival","konferencia","egyeb"],T2={eskuvo:"EsküvÅ",szuletesnap:"Születésnap",csapatepito:"CsapatépÃtÅ",fesztival:"Fesztivál",konferencia:"Konferencia",egyeb:"Egyéb"},C2=["erdeklodo","ajanlat_kuldve","targyalas","visszaigazolva","elokeszites","aktiv","utokovetes","lezarva","elveszett"],E2={erdeklodo:"ÃrdeklÅdÅ",ajanlat_kuldve:"Ajánlat küldve",targyalas:"Tárgyalás",visszaigazolva:"Visszaigazolva",elokeszites:"ElÅkészÃtés",aktiv:"AktÃv",utokovetes:"Utókövetés",lezarva:"Lezárva",elveszett:"Elveszett"},F2=["Ãrazás","Dátum ütközés","Kapacitás","Konkurencia","Változtatott a vendég","Egyéb"];function j2({form:e,set:t,newNote:r,setNewNote:i,addNote:s,packageIdopontok:c,
239csomagokOsszesen:o,csomagokSzama:a,occurrenceId:l,onOccurrencesExtracted:f,onProgramsExtracted:m}){const b=e.datum_tol&&e.datum_ig&&e.datum_ig<e.datum_tol,x=c==null?void 0:c.some(p=>!!(p.datum_tol&&e.datum_tol&&p.datum_tol<e.datum_tol||p.datum_ig&&e.datum_ig&&p.datum_ig>e.datum_ig));return n.jsxs("div",{className:"space-y-4 pb-4",children:[n.jsx(k2,{set:t,onOccurrencesExtracted:f,onProgramsExtracted:m}),x&&n.jsxs(Sl,{className:"border-yellow-400 bg-yellow-50",children:[n.jsx(vs,{className:"h-4 w-4 text-yellow-600"}),n.jsx(Bl,{className:"text-sm",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink-soft))"},children:"A csomag idÅpontjai kilógnak az esemény dátumtartományából. A Csomag & Landing fülön mentéskor automatikusan frissül."})]}),n.jsx("div",{className:"grid grid-cols-2 gap-3",children:n.jsxs("div",{children:[n.jsx(Ce,{children:"TÃpus"}),n.jsxs(Ft,{value:e.tipus,onValueChange:p=>t("tipus",p),children:[n.jsx(jt,{children:n.jsx(At,{})}),n.jsx(zt,{children:U2.map(p=>n.jsx(Je,{value:p,children:T2[p]??p},p))})]})]})}),n.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[n.jsxs("div",{children:[n.jsx(Ce,{children:"KezdÅ dátum *"}),n.jsx(_e,{type:"date",value:e.datum_tol,onChange:p=>{t("datum_tol",p.target.value),t("datum",p.target.value)}})]}),n.jsxs("div",{children:[n.jsx(Ce,{children:"Záró dátum *"}),n.jsx(_e,{type:"date",value:e.datum_ig,min:e.datum_tol||void 0,onChange:p=>t("datum_ig",p.target.value)})]})]}),b&&n.jsx("p",{className:"text-xs text-destructive -mt-2",children:"A záró dátum nem lehet korábbi a kezdÅ dátumnál"}),n.jsx("p",{className:"text-xs -mt-2",style:{color:"hsl(var(--ink-faint))"},children:"Pl. péntektÅl vasárnapig: aug. 15. â aug. 17."}),n.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[n.jsxs("div",{children:[n.jsx(Ce,{children:"Kontakt neve"}),n.jsx(_e,{value:e.kontakt_nev,onChange:p=>t("kontakt_nev",p.target.value)})]}),n.jsxs("div",{children:[n.jsx(Ce,{children:"Email"}),n.jsx(_e,{type:"email",value:e.kontakt_email,onChange:p=>t("kontakt_email",p.target.value)})]})]}),n.jsxs("div",{className:"grid grid-cols-3 gap-3",children:[n.jsxs("div",{children:[n.jsx(Ce,{children:"Telefon"}),n.jsx(_e,{value:e.kontakt_telefon,onChange:p=>t("kontakt_telefon",p.target.value)})]}),n.jsxs("div",{children:[n.jsx(Ce,{children:"Létszám"}),n.jsx(_e,{type:"number",value:e.letszam,onChange:p=>t("letszam",+p.target.value)})]}),n.jsxs("div",{children:[n.jsx(Ce,{children:"Ajánlat (Ft)"}),n.jsx(_e,{type:"number",value:e.ajanlat_osszeg??"",onChange:p=>t("ajanlat_osszeg",p.target.value?+p.target.value:null)})]})]}),(a??0)>0&&n.jsxs("div",{className:"flex items-center gap-2 p-2.5 rounded-md",style:{background:"hsl(var(--muted))"},children:[n.jsx(cs,{size:14,style:{color:"hsl(var(--leather))"}}),n.jsxs("span",{className:"text-xs",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink-soft))"},children:["Csomagok összesen (",a," aktÃv):"," ",n.jsxs("strong",{style:{color:"hsl(var(--mineral))"},children:[(o??0).toLocaleString("hu-HU")," Ft"]}),e.ajanlat_osszeg!=null&&e.ajanlat_osszeg!==o&&n.jsx("span",{style:{color:"hsl(var(--ink-faint))"},children:" â eltérés a manuális ajánlattól"})]})]}),n.jsxs("div",{className:"flex items-center justify-between",children:[n.jsx(Ce,{htmlFor:"bevetel-toggle",className:"cursor-pointer",children:"Bekerüljön a bevétel elÅrejelzésbe?"}),n.jsx(ys,{id:"bevetel-toggle",checked:e.bevetel_elorejelzesbe,onCheckedChange:p=>t("bevetel_elorejelzesbe",p)})]}),n.jsxs("div",{children:[n.jsx(Ce,{children:"Különleges igények"}),n.jsx(Nt,{value:e.kulonleges_igenyek,onChange:p=>t("kulonleges_igenyek",p.target.value),rows:2})]}),n.jsx(Dn,{}),e.id&&n.jsx(w2,{eventId:e.id,occurrenceId:l,letszam:e.letszam,datumTol:e.datum_tol,datumIg:e.datum_ig}),n.jsx(Dn,{}),n.jsxs("div",{children:[n.jsx(Ce,{children:"Pipeline státusz"}),n.jsxs(Ft,{value:e.pipeline_statusz,onValueChange:p=>t("pipeline_statusz",p),children:[n.jsx(jt,{children:n.jsx(At,{})}),n.jsx(zt,{children:C2.map(p=>n.jsx(Je,{value:p,children:E2[p]},p))})]})]}),e.pipeline_statusz==="elveszett"&&n.jsxs("div",{children:[n.jsx(Ce,{children:"Elveszett ok *"}),n.jsxs(Ft,{value:e.elveszett_ok,onValueChange:p=>t("elveszett_ok",p),children:[n.jsx(jt,{children:n.jsx(At,{placeholder:"Válassz okot..."})}),n.jsx(zt,{children:F2.map(p=>n.jsx(Je,{value:p,children:p},p))})]})]}),n.jsx(Dn,{}),n.jsxs("div",{children:[n.jsx(Ce,{className:"mb-2 block",children:"Napló"}),n.jsxs("div",{className:"space-y-2 mb-3",children:[e.naplo.map((p,v)=>n.jsxs("div",{className:"text-xs p-2 rounded bg-muted",children:[n.jsx("span",{className:"font-medium",children:p.szerzo}),p.szerzo==="Rendszer"&&n.jsx("span",{className:"ml-1 text-[10px] px-1 py-0.5 rounded",style:{background:"hsl(var(--m
239ineral))",color:"#fff"},children:"auto"}),n.jsxs("span",{className:"mx-1",style:{color:"hsl(var(--ink-faint))"},children:["· ",Qe(new Date(p.datum),"yyyy.MM.dd HH:mm")]}),n.jsx("p",{className:"mt-1",children:p.szoveg})]},v)),e.naplo.length===0&&n.jsx("p",{className:"text-xs",style:{color:"hsl(var(--ink-faint))"},children:"Még nincs bejegyzés"})]}),n.jsxs("div",{className:"flex gap-2",children:[n.jsx(_e,{placeholder:"Ãj bejegyzés...",value:r,onChange:p=>i(p.target.value),className:"flex-1"}),n.jsx(ye,{variant:"outline",size:"sm",onClick:s,children:"Hozzáadás"})]})]})]})}const Tl=[{value:"catering",label:"Catering"},{value:"dj",label:"DJ"},{value:"diszito",label:"DÃszÃtÅ"},{value:"fotos",label:"Fotós"},{value:"segito",label:"SegÃtÅ"},{value:"muszaki",label:"Műszaki"},{value:"egyeb",label:"Egyéb"}],ss={nev:"",email:"",telefon:"",szerepkor:"egyeb",terulet:""};function A2({eventId:e,occurrenceId:t,belsocsapat:r,onBelsoChange:i}){const{toast:s}=at(),c=ht(),[o,a]=be.useState(!1),[l,f]=be.useState(ss),{data:m,isLoading:b}=ze({queryKey:["profiles-for-event"],queryFn:async()=>{const{data:h,error:g}=await me.from("profiles").select("user_id, display_name, terulet").is("deleted_at",null);if(g)throw g;return h??[]}}),{data:x,isLoading:p}=ze({queryKey:["event-crew",e,t],queryFn:async()=>{let h=me.from("event_crew").select("*").eq("event_id",e).order("created_at");t&&(h=h.eq("occurrence_id",t));const{data:g,error:k}=await h;if(k)throw k;return g??[]}}),v=async(h,g)=>{const k=g?[...r,h]:r.filter(w=>w!==h);i(k),await me.from("events").update({belso_csapat:k}).eq("id",e)},u=Oe({mutationFn:async()=>{const{error:h}=await me.from("event_crew").insert({event_id:e,occurrence_id:t||null,nev:l.nev,email:l.email||null,telefon:l.telefon||null,szerepkor:l.szerepkor,terulet:l.terulet||null});if(h)throw h},onSuccess:()=>{c.invalidateQueries({queryKey:["event-crew",e]}),f(ss),a(!1),s({title:"KözreműködÅ hozzáadva"})},onError:()=>s({title:"Hiba történt",variant:"destructive"})}),d=Oe({mutationFn:async h=>{const{error:g}=await me.from("event_crew").delete().eq("id",h);if(g)throw g},onSuccess:()=>{c.invalidateQueries({queryKey:["event-crew",e]}),s({title:"KözreműködÅ törölve"})}}),y=Oe({mutationFn:async h=>{const{error:g}=await me.from("event_crew").update({is_invited:!0}).eq("id",h.id);if(g)throw g;if(h.email&&h.crew_token){const w=`${window.location.origin}/crew/${h.crew_token}`,F=`Kedves ${h.nev}! 240 241MeghÃvást kaptál közreműködÅként egy ParkMotel rendezvényre. 242 243Az alábbi linken eléred a feladataidat és a napi programot: 244${w} 245 246Ez a link csak neked szól. 247 248Ãdvözlettel, 249ParkMotel csapata`;await me.functions.invoke("send-guest-email",{body:{to:h.email,subject:"KözreműködÅi meghÃvó â ParkMotel",body:F}})}},onSuccess:()=>{c.invalidateQueries({queryKey:["event-crew",e]}),s({title:"MeghÃvó elküldve"})},onError:()=>s({title:"Hiba történt",variant:"destructive"})});return n.jsxs("div",{className:"space-y-6 pb-4",children:[n.jsxs("div",{children:[n.jsx("h3",{className:"text-sm font-medium mb-3",style:{fontFamily:"Jost, sans-serif",letterSpacing:"0.05em"},children:"BelsÅ csapat"}),b?n.jsx("div",{className:"space-y-2",children:[1,2,3].map(h=>n.jsx(Pe,{className:"h-10"},h))}):n.jsxs("div",{className:"space-y-1",children:[m==null?void 0:m.map(h=>n.jsxs("label",{className:"flex items-center gap-3 p-2 rounded hover:bg-muted cursor-pointer",children:[n.jsx(xs,{checked:r.includes(h.user_id),onCheckedChange:g=>v(h.user_id,!!g)}),n.jsx("span",{className:"text-sm",style:{fontFamily:"Jost, sans-serif"},children:h.display_name||"Névtelen"}),h.terulet&&n.jsx(Le,{variant:"outline",className:"text-[10px] px-1.5 py-0",style:{color:"hsl(var(--tobacco))",borderColor:"hsla(var(--tobacco), 0.3)"},children:h.terulet})]},h.user_id)),(m==null?void 0:m.length)===0&&n.jsx("p",{className:"text-xs",style:{color:"hsl(var(--ink-faint))"},children:"Nincsenek profilok"})]})]}),n.jsx(Dn,{}),n.jsxs("div",{children:[n.jsxs("div",{className:"flex items-center justify-between mb-3",children:[n.jsx("h3",{className:"text-sm font-medium",style:{fontFamily:"Jost, sans-serif",letterSpacing:"0.05em"},children:"KülsÅ közreműködÅk"}),n.jsxs(ye,{variant:"outline",size:"sm",className:"gap-1 text-xs",onClick:()=>a(!o),children:[n.jsx(Ve,{size:14})," Hozzáadás"]})]}
249),p?n.jsx("div",{className:"space-y-2",children:[1,2].map(h=>n.jsx(Pe,{className:"h-12"},h))}):n.jsxs("div",{className:"space-y-1",children:[x==null?void 0:x.map(h=>{var g;return n.jsxs("div",{className:"flex items-center gap-2 p-2 rounded hover:bg-muted text-sm",children:[n.jsx("span",{className:"font-medium flex-1",style:{fontFamily:"Jost, sans-serif"},children:h.nev}),n.jsx(Le,{variant:"outline",className:"text-[10px] px-1.5 py-0",children:((g=Tl.find(k=>k.value===h.szerepkor))==null?void 0:g.label)||h.szerepkor}),h.terulet&&n.jsx(Le,{variant:"secondary",className:"text-[10px] px-1.5 py-0",children:h.terulet}),h.email&&n.jsx("span",{className:"text-[10px] text-muted-foreground",children:h.email}),n.jsx("button",{onClick:()=>y.mutate(h),className:"p-1 rounded hover:bg-accent",title:h.is_invited?"MeghÃvó elküldve":"MeghÃvó küldése",disabled:y.isPending,children:h.is_invited?n.jsx(yh,{size:14,className:"text-emerald-600"}):n.jsx(On,{size:14,className:"text-muted-foreground"})}),n.jsx("button",{onClick:()=>d.mutate(h.id),className:"p-1 rounded hover:bg-destructive/10",children:n.jsx(Ke,{size:14,className:"text-muted-foreground hover:text-destructive"})})]},h.id)}),(x==null?void 0:x.length)===0&&!o&&n.jsx("p",{className:"text-xs",style:{color:"hsl(var(--ink-faint))"},children:"Még nincs külsÅ közreműködÅ"})]}),o&&n.jsxs("div",{className:"mt-3 p-3 rounded border space-y-3",children:[n.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[n.jsxs("div",{children:[n.jsx(Ce,{className:"text-xs",children:"Név *"}),n.jsx(_e,{value:l.nev,onChange:h=>f({...l,nev:h.target.value}),className:"h-8 text-xs"})]}),n.jsxs("div",{children:[n.jsx(Ce,{className:"text-xs",children:"Email"}),n.jsx(_e,{value:l.email,onChange:h=>f({...l,email:h.target.value}),className:"h-8 text-xs"})]})]}),n.jsxs("div",{className:"grid grid-cols-3 gap-2",children:[n.jsxs("div",{children:[n.jsx(Ce,{className:"text-xs",children:"Telefon"}),n.jsx(_e,{value:l.telefon,onChange:h=>f({...l,telefon:h.target.value}),className:"h-8 text-xs"})]}),n.jsxs("div",{children:[n.jsx(Ce,{className:"text-xs",children:"Szerepkör"}),n.jsxs(Ft,{value:l.szerepkor,onValueChange:h=>f({...l,szerepkor:h}),children:[n.jsx(jt,{className:"h-8 text-xs",children:n.jsx(At,{})}),n.jsx(zt,{children:Tl.map(h=>n.jsx(Je,{value:h.value,className:"text-xs",children:h.label},h.value))})]})]}),n.jsxs("div",{children:[n.jsx(Ce,{className:"text-xs",children:"Terület"}),n.jsx(_e,{value:l.terulet,onChange:h=>f({...l,terulet:h.target.value}),className:"h-8 text-xs"})]})]}),n.jsxs("div",{className:"flex gap-2 justify-end",children:[n.jsx(ye,{variant:"ghost",size:"sm",className:"text-xs",onClick:()=>{a(!1),f(ss)},children:"Mégse"}),n.jsx(ye,{size:"sm",className:"text-xs",disabled:!l.nev.trim(),onClick:()=>u.mutate(),style:{background:"hsl(var(--mineral))"},children:"Mentés"})]})]})]})]})}const z2=[{key:"elokeszites",label:"ðµ ELÅKÃSZÃTÃS",color:"hsl(210, 70%, 50%)"},{key:"vegrehajtas",label:"ð¡ VÃGREHAJTÃS",color:"hsl(40, 90%, 50%)"},{key:"utomunka",label:"ð¢ UTÃMUNKA",color:"hsl(140, 60%, 40%)"}],Cl={normal:{label:"Normál",cls:"bg-muted text-muted-foreground"},magas:{label:"Magas",cls:"bg-orange-100 text-orange-700"},surgos:{label:"SürgÅs",cls:"bg-red-100 text-red-700"}};function N2({eventId:e,occurrenceId:t,eventDatum:r,eventDatumTol:i,eventDatumIg:s,eventTipus:c,eventLetszam:o,eventKulonleges:a,belsocsapat:l}){const{toast:f}=at(),m=ht(),[b,x]=be.useState(null),[p,v]=be.useState({cim:"",prioritas:"normal",felelos:"__none__",terulet:"",hatarido:""}),[u,d]=be.useState(!1),[y,h]=be.useState(null),[g,k]=be.useState(!1),{data:w,isLoading:F}=ze({queryKey:["event-tasks",e,t],queryFn:async()=>{let E=me.from("event_tasks").select("*").eq("event_id",e).order("created_at");t&&(E=E.eq("occurrence_id",t));const{data:C,error:O}=await E;if(O)throw O;return C??[]}}),{data:z}=ze({queryKey:["profiles-for-event"],queryFn:async()=>{const{data:E}=await me.from("profiles").select("user_id, display_name, terulet").is("deleted_at",null);return E??[]}}),{data:S}=ze({queryKey:["event-crew",e],queryFn:async()=>{const{data:E}=await me.from("event_crew").select("*").eq("event_id",e);return E??[]}}),{data:I}=ze({queryKey:["event-task-templates"],queryFn:async()=>{const{data:E}=await me.from("event_task_templates").select("*").order("nev");return E??[]},enabled:u}),K=(z==null?void 0:z.filter(E=>
249l.includes(E.user_id)))??[],ae=Oe({mutationFn:async({id:E,done:C})=>{const{error:O}=await me.from("event_tasks").update({statusz:C?"kesz":"todo",kesz_at:C?new Date().toISOString():null}).eq("id",E);if(O)throw O},onSuccess:()=>m.invalidateQueries({queryKey:["event-tasks",e]})}),j=Oe({mutationFn:async E=>{const C={};p.felelos!=="__none__"&&(p.felelos.startsWith("user:")?C.felelos_user_id=p.felelos.replace("user:",""):p.felelos.startsWith("crew:")&&(C.felelos_crew_id=p.felelos.replace("crew:","")));const{error:O}=await me.from("event_tasks").insert({event_id:e,occurrence_id:t||null,cim:p.cim,fazis:E,prioritas:p.prioritas,terulet:p.terulet||null,hatarido:p.hatarido||null,...C});if(O)throw O},onSuccess:async()=>{if(m.invalidateQueries({queryKey:["event-tasks",e]}),p.felelos.startsWith("user:")){const E=p.felelos.replace("user:","");await me.from("admin_notifications").insert({user_id:E,title:"Ãj rendezvény feladat",body:`Feladat hozzárendelve: ${p.cim}`,link:`/admin/rendezvenyek/${e}`})}v({cim:"",prioritas:"normal",felelos:"__none__",terulet:"",hatarido:""}),x(null),f({title:"Feladat hozzáadva"})},onError:()=>f({title:"Hiba történt",variant:"destructive"})}),R=Oe({mutationFn:async()=>{if(!y)return;const C=y.feladatok.map(B=>{let M=null,P=null;if(B.terulet){const se=K.find(he=>he.terulet===B.terulet);if(se)M=se.user_id;else{const he=S==null?void 0:S.find(fe=>fe.terulet===B.terulet);he&&(P=he.id)}}let te=null;if(B.offset_perc!=null&&r){const se=new Date(r);se.setMinutes(se.getMinutes()+(B.offset_perc||0)),te=se.toISOString()}return{event_id:e,occurrence_id:t||null,template_id:y.id,cim:B.cim||B.title||"Feladat",fazis:B.fazis||"elokeszites",prioritas:B.prioritas||"normal",terulet:B.terulet||null,hatarido:te,becsult_ido_perc:B.becsult_ido_perc||null,felelos_user_id:M,felelos_crew_id:P}});if(C.length===0)return;const{error:O}=await me.from("event_tasks").insert(C);if(O)throw O},onSuccess:async()=>{if(m.invalidateQueries({queryKey:["event-tasks",e]}),y){const E=y.feladatok,C=new Set;for(const O of E)if(O.terulet){const B=K.find(M=>M.terulet===O.terulet);B&&!C.has(B.user_id)&&(C.add(B.user_id),await me.from("admin_notifications").insert({user_id:B.user_id,title:"Ãj rendezvény feladatok",body:`Feladatok hozzárendelve sablonból: ${y.nev}`,link:`/admin/rendezvenyek/${e}`}))}}d(!1),h(null),f({title:"Feladatok generálva a sablonból"})},onError:()=>f({title:"Hiba történt",variant:"destructive"})}),_=E=>{if(E.felelos_user_id){const C=z==null?void 0:z.find(O=>O.user_id===E.felelos_user_id);return C?`ð¤ ${C.display_name}`:"ð¤ ?"}if(E.felelos_crew_id){const C=S==null?void 0:S.find(O=>O.id===E.felelos_crew_id);return C?`ð§ ${C.nev}`:"ð§ ?"}return null},J=async()=>{k(!0);try{let E=me.from("event_apartments").select("apartment_id, apartments(name, max_guests, category)").eq("event_id",e);t&&(E=E.eq("occurrence_id",t));let C=me.from("event_program_items").select("cim, helyszin, nap_szama").eq("event_id",e);t&&(C=C.eq("occurrence_id",t));const[O,B]=await Promise.all([E,C]),M=(O.data??[]).map(he=>he.apartments).filter(Boolean),P=B.data??[],{data:te,error:se}=await me.functions.invoke("generate-event-tasks",{body:{eventId:e,occurrenceId:t||null,tipus:c||"egyeb",letszam:o||10,datum_tol:i||r,datum_ig:s||i||r,apartmanok:M,programok:P,csapat:K.map(he=>({display_name:he.display_name,terulet:he.terulet})),kulonleges_igenyek:a||""}});if(se)throw se;if(te!=null&&te.error)throw new Error(te.error);m.invalidateQueries({queryKey:["event-tasks",e]}),f({title:`${(te==null?void 0:te.count)??0} feladat generálva AI-val`})}catch(E){console.error("AI task generation error:",E),f({title:"AI feladat generálás sikertelen",description:E==null?void 0:E.message,variant:"destructive"})}finally{k(!1)}};if(F)return n.jsx("div",{className:"space-y-3",children:[1,2,3].map(E=>n.jsx(Pe,{className:"h-16"},E))});const U=w??[];return U.length===0&&!u?n.jsxs("div",{className:"flex flex-col items-center justify-center py-12 text-center",children:[n.jsx(mr,{size:32,className:"text-muted-foreground mb-3"}),n.jsx("p",{className:"text-sm mb-4",style:{color:"hsl(var(--ink-faint))",fontFamily:"Jost, sans-serif"},children:"Még nincs feladat ehhez az eseményhez"}),n.jsxs("div",{className:"flex gap-2",children:[n.jsxs(ye,{variant:"outline",className:"gap-2 text-xs",onClick:()=>d(!0),children:[n.jsx(mr,{size:14})," Sablonból generálás"]}),n.jsxs(ye,{className:"gap-2 text-xs",onClick:J,disabled:g,style:{background:"hsl(var(--leather))"},children:[g?n.jsx(Yt,{size:14,className:"animate-spin"}):n.jsx(Tt,{size:14}),"AI feladat generálás"]})]})]}):n.jsxs("div",{className:"space-y-4 pb-4",children:[n.jsxs("div",{className:"flex justify-end gap-2",children:[n.jsxs(ye,{variant:"outline",size:"sm",className:"gap-1 text-xs",onClick:()=>d(!u),children:[n.jsx(mr,{size:14})," Sablonból generálás"]}),n.jsxs(ye,{size:"sm",className:"gap-1 text-xs",onClick:J,disabled:g,style:{background:"hsl(var(--leather))"},children:[g?n.jsx(Yt,{size:14,className:"animate-spin"}):n.jsx(Tt,{size:14}),"AI feladat generálás"]})]}),u&&n.jsxs("div",{className:"p-3 rounded border space-y-3",children:[n.jsx(Ce,{className:"text-xs",children:"Sablon kiválasztása"}),n.jsxs(Ft,{value:(y==null?void 0:y.id)||"__none__",onValueChange:E=>{if(E==="__none__"){h(null);return}h((I==null?void 0:I.find(C=>C.id===E))||null)},children:[n.jsx(jt,{className:"h-8 text-xs",children:n.jsx(At,{placeholder:"Válassz sablont..."})}),n.jsxs(zt,{children:[n.jsx(Je,{value:"__none__",className:"text-xs",children:"Válassz..."}),I==null?void 0:I.map(E=>
249n.jsxs(Je,{value:E.id,className:"text-xs",children:[E.nev," (",E.kategoria,")"]},E.id))]})]}),y&&n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:"text-xs text-muted-foreground",children:[y.feladatok.length," feladat kerül generálásra:"]}),n.jsx("ul",{className:"text-xs space-y-1 max-h-32 overflow-y-auto",children:y.feladatok.map((E,C)=>n.jsxs("li",{className:"flex items-center gap-2 p-1 rounded bg-muted",children:[n.jsx("span",{children:E.cim||E.title}),E.fazis&&n.jsx(Le,{variant:"outline",className:"text-[9px] px-1",children:E.fazis})]},C))}),n.jsx(ye,{size:"sm",className:"text-xs",onClick:()=>R.mutate(),style:{background:"hsl(var(--mineral))"},children:"Generálás"})]})]}),z2.map(E=>{const C=U.filter(O=>O.fazis===E.key);return n.jsxs("div",{children:[n.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[n.jsx("span",{className:"text-xs font-medium",style:{fontFamily:"Jost, sans-serif",color:E.color},children:E.label}),n.jsx(Le,{variant:"secondary",className:"text-[10px] px-1.5",children:C.length})]}),n.jsx("div",{className:"space-y-1",children:C.map(O=>{const B=Cl[O.prioritas]||Cl.normal,M=_(O);return n.jsxs("div",{className:"flex items-center gap-2 p-2 rounded hover:bg-muted text-sm",children:[n.jsx(xs,{checked:O.statusz==="kesz",onCheckedChange:P=>ae.mutate({id:O.id,done:!!P})}),n.jsx("span",{className:O.statusz==="kesz"?"line-through text-muted-foreground flex-1":"flex-1",style:{fontFamily:"Jost, sans-serif",fontSize:"0.8rem"},children:O.cim}),n.jsx(Le,{className:`text-[9px] px-1.5 py-0 ${B.cls}`,children:B.label}),M&&n.jsx("span",{className:"text-[10px] text-muted-foreground",children:M}),O.hatarido&&n.jsx("span",{className:"text-[10px] text-muted-foreground",children:Qe(new Date(O.hatarido),"MMM d. HH:mm",{locale:Dt})})]},O.id)})}),b===E.key?n.jsxs("div",{className:"mt-2 p-3 rounded border space-y-2",children:[n.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[n.jsxs("div",{children:[n.jsx(Ce,{className:"text-xs",children:"CÃm *"}),n.jsx(_e,{value:p.cim,onChange:O=>v({...p,cim:O.target.value}),className:"h-8 text-xs"})]}),n.jsxs("div",{children:[n.jsx(Ce,{className:"text-xs",children:"Prioritás"}),n.jsxs(Ft,{value:p.prioritas,onValueChange:O=>v({...p,prioritas:O}),children:[n.jsx(jt,{className:"h-8 text-xs",children:n.jsx(At,{})}),n.jsxs(zt,{children:[n.jsx(Je,{value:"normal",className:"text-xs",children:"Normál"}),n.jsx(Je,{value:"magas",className:"text-xs",children:"Magas"}),n.jsx(Je,{value:"surgos",className:"text-xs",children:"SürgÅs"})]})]})]})]}),n.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[n.jsxs("div",{children:[n.jsx(Ce,{className:"text-xs",children:"FelelÅs"}),n.jsxs(Ft,{value:p.felelos,onValueChange:O=>v({...p,felelos:O}),children:[n.jsx(jt,{className:"h-8 text-xs",children:n.jsx(At,{})}),n.jsxs(zt,{children:[n.jsx(Je,{value:"__none__",className:"text-xs",children:"Nincs kiválasztva"}),K.length>0&&n.jsxs(n.Fragment,{children:[n.jsx(Je,{value:"__header_internal__",disabled:!0,className:"text-[10px] font-bold",children:"â BelsÅ csapat â"}),K.map(O=>n.jsxs(Je,{value:`user:${O.user_id}`,className:"text-xs",children:["ð¤ ",O.display_name]},`user:${O.user_id}`))]}),((S==null?void 0:S.length)??0)>0&&n.jsxs(n.Fragment,{children:[n.jsx(Je,{value:"__header_crew__",disabled:!0,className:"text-[10px] font-bold",children:"â KülsÅ közreműködÅk â"}),S==null?void 0:S.map(O=>n.jsxs(Je,{value:`crew:${O.id}`,className:"text-xs",children:["ð§ ",O.nev]},`crew:${O.id}`))]})]})]})]}),n.jsxs("div",{children:[n.jsx(Ce,{className:"text-xs",children:"HatáridÅ"}),n.jsx(_e,{type:"datetime-local",value:p.hatarido,onChange:O=>v({...p,hatarido:O.target.value}),className:"h-8 text-xs"})]})]}),n.jsxs("div",{className:"flex gap-2 justify-end",children:[n.jsx(ye,{variant:"ghost",size:"sm",className:"text-xs",onClick:()=>x(null),children:"Mégse"}),n.jsx(ye,{size:"sm",className:"text-xs",disabled:!p.cim.trim(),onClick:()=>j.mutate(E.key),style:{background:"hsl(var(--mineral))"},children:"Hozzáadás"})]})]}):n.jsxs(ye,{variant:"ghost",size:"sm",className:"mt-1 gap-1 text-xs text-muted-foreground",onClick:()=>x(E.key),children:[n.jsx(Ve,{size:12})," Ãj feladat"]})]},E.key)})]})}const os=["#4A90D9","#E67E22","#27AE60","#8E44AD","#E74C3C","#16A085"],El=[{value:"kozos",label:"Közös"},{value:"etkezes",label:"Ãtkezés"},{value:"esti",label:"Esti program"},{value:"opcionalis",label:"Opcionális"}];function S2({eventId:e,occurrenceId:t}){const{toast:r}=at(),i=ht(),[s,c]=be.useState(!1),[o,a]=be.useState({nev:"",szin:os[0],max_letszam:"10"}),[l,f]=be.useState({}),[m,b]=be.useState(null),{data:x,isLoading:p}=ze({queryKey:["event-groups",e,t],queryFn:async()=>{let g=me.from("event_groups").select("*").eq("event_id",e).order("created_at");t&&(g=g.eq("occurrence_id",t));const{data:k,error:w}=await g;if(w)throw w;return k??[]}}),{data:v}=ze({queryKey:["event-group-members",e],queryFn:async()=>{const g=(x==null?void 0:x.map(F=>F.id))??[];if(!g.length)return[];const{data:k,error:w}=await me.from("event_group_members").select("*").in("group_id",g).order("created_at");if(w)throw w;return k??[]},enabled:!!(x!=null&&x.length)}),u=Oe({mutationFn:async()=>{const{error:g}=await me.from("event_groups").insert({event_id:e,occurrence_id:t||null,nev:o.nev,szin:o.szin,max_letszam:parseInt(o.max_letszam)||10});if(g)throw g},onSuccess:()=>{i.invalidateQueries({queryKey:["event-groups",e]}),a({nev:"",szin:os[0],max_letszam:"10"}
249),c(!1),r({title:"Csoport létrehozva"})},onError:()=>r({title:"Hiba",variant:"destructive"})}),d=Oe({mutationFn:async g=>{const{error:k}=await me.from("event_groups").delete().eq("id",g);if(k)throw k},onSuccess:()=>{i.invalidateQueries({queryKey:["event-groups",e]}),i.invalidateQueries({queryKey:["event-group-members",e]}),r({title:"Csoport törölve"})}}),y=Oe({mutationFn:async({groupId:g,nev:k,email:w,jegyazonosito:F})=>{const{error:z}=await me.from("event_group_members").insert({group_id:g,nev:k,email:w||null,jegyazonosito:F||null});if(z)throw z},onSuccess:(g,k)=>{i.invalidateQueries({queryKey:["event-group-members",e]}),f(w=>({...w,[k.groupId]:null})),r({title:"Tag hozzáadva"})}}),h=Oe({mutationFn:async g=>{const{error:k}=await me.from("event_group_members").delete().eq("id",g);if(k)throw k},onSuccess:()=>i.invalidateQueries({queryKey:["event-group-members",e]})});return p?n.jsx("div",{className:"space-y-2",children:[1,2].map(g=>n.jsx(Pe,{className:"h-10"},g))}):n.jsxs("div",{children:[n.jsxs("div",{className:"flex items-center justify-between mb-3",children:[n.jsx("h3",{className:"text-sm font-medium",style:{fontFamily:"Jost, sans-serif",letterSpacing:"0.05em"},children:"RésztvevÅ csoportok"}),n.jsxs(ye,{variant:"outline",size:"sm",className:"gap-1 text-xs",onClick:()=>c(!s),children:[n.jsx(Ve,{size:14})," Csoport"]})]}),s&&n.jsxs("div",{className:"mb-3 p-3 rounded border space-y-2",children:[n.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[n.jsxs("div",{children:[n.jsx(Ce,{className:"text-xs",children:"Név *"}),n.jsx(_e,{value:o.nev,onChange:g=>a({...o,nev:g.target.value}),className:"h-8 text-xs"})]}),n.jsxs("div",{children:[n.jsx(Ce,{className:"text-xs",children:"Max létszám"}),n.jsx(_e,{type:"number",value:o.max_letszam,onChange:g=>a({...o,max_letszam:g.target.value}),className:"h-8 text-xs"})]})]}),n.jsxs("div",{children:[n.jsx(Ce,{className:"text-xs",children:"SzÃn"}),n.jsx("div",{className:"flex gap-1.5 mt-1",children:os.map(g=>n.jsx("button",{onClick:()=>a({...o,szin:g}),className:"w-6 h-6 rounded-full border-2 transition-transform",style:{background:g,borderColor:o.szin===g?"hsl(var(--foreground))":"transparent",transform:o.szin===g?"scale(1.2)":"scale(1)"}},g))})]}),n.jsxs("div",{className:"flex gap-2 justify-end",children:[n.jsx(ye,{variant:"ghost",size:"sm",className:"text-xs",onClick:()=>c(!1),children:"Mégse"}),n.jsx(ye,{size:"sm",className:"text-xs",disabled:!o.nev.trim(),onClick:()=>u.mutate(),style:{background:"hsl(var(--mineral))"},children:"Mentés"})]})]}),n.jsxs("div",{className:"space-y-1",children:[x==null?void 0:x.map(g=>{const k=(v==null?void 0:v.filter(F=>F.group_id===g.id))??[],w=l[g.id];return n.jsxs(bt,{children:[n.jsxs("div",{className:"flex items-center gap-2 p-2 rounded hover:bg-muted text-sm",children:[n.jsx("div",{className:"w-3 h-3 rounded-full flex-shrink-0",style:{background:g.szin??void 0}}),n.jsx("span",{className:"font-medium flex-1",style:{fontFamily:"Jost, sans-serif"},children:g.nev}),n.jsxs(Le,{variant:"outline",className:"text-[10px] px-1.5 py-0",children:[n.jsx(wr,{size:10,className:"mr-0.5"}),k.length,"/",g.max_letszam]}),n.jsx(vt,{asChild:!0,children:n.jsx("button",{className:"p-1 rounded hover:bg-accent",children:n.jsx(ms,{size:14})})}),n.jsx("button",{onClick:()=>b(g.id),className:"p-1 rounded hover:bg-destructive/10",children:n.jsx(Ke,{size:14,className:"text-muted-foreground hover:text-destructive"})})]}),n.jsx(xt,{children:n.jsxs("div",{className:"ml-5 pl-3 border-l space-y-1 py-1",children:[k.map(F=>n.jsxs("div",{className:"flex items-center gap-2 text-xs py-0.5",children:[n.jsx("span",{className:"flex-1",children:F.nev}),F.jegyazonosito&&n.jsxs("span",{className:"text-muted-foreground",children:["#",F.jegyazonosito]}),F.email&&n.jsx("span",{className:"text-muted-foreground",children:F.email}),n.jsx("button",{onClick:()=>h.mutate(F.id),className:"p-0.5 rounded hover:bg-destructive/10",children:n.jsx(Ke,{size:12,className:"text-muted-foreground"})})]},F.id)),w?n.jsxs("div",{className:"grid grid-cols-3 gap-1 mt-1",children:[n.jsx(_e,{placeholder:"Név *",value:w.nev,onChange:F=>f(z=>({...z,[g.id]:{...w,nev:F.target.value}})),className:"h-7 text-xs"}),n.jsx(_e,{placeholder:"Email",value:w.email,onChange:F=>f(z=>({...z,[g.id]:{...w,email:F.target.value}})),className:"h-7 text-xs"}),n.jsxs("div",{className:"flex gap-1",children:[n.jsx(_e,{placeholder:"Jegy ID",value:w.jegyazonosito,onChange:F=>f(z=>({...z,[g.id]:{...w,jegyazonosito:F.target.value}})),className:"h-7 text-xs flex-1"}),n.jsx(ye,{size:"sm",className:"h-7 text-xs px-2",disabled:!w.nev.trim(),onClick:()=>y.mutate({groupId:g.id,...w}
249),style:{background:"hsl(var(--mineral))"},children:"OK"}),n.jsx(ye,{size:"sm",variant:"ghost",className:"h-7 text-xs px-1",onClick:()=>f(F=>({...F,[g.id]:null})),children:"â"})]})]}):n.jsxs("button",{onClick:()=>f(F=>({...F,[g.id]:{nev:"",email:"",jegyazonosito:""}})),className:"text-xs flex items-center gap-1 mt-1 hover:underline",style:{color:"hsl(var(--mineral))"},children:[n.jsx(Ve,{size:12})," Tag hozzáadása"]})]})})]},g.id)}),(x==null?void 0:x.length)===0&&!s&&n.jsx("p",{className:"text-xs",style:{color:"hsl(var(--ink-faint))"},children:"Még nincs csoport"})]}),n.jsx(Rn,{open:!!m,onOpenChange:g=>{g||b(null)},children:n.jsxs(In,{children:[n.jsxs(Ln,{children:[n.jsx(Mn,{children:"Biztosan törlöd?"}),n.jsx(qn,{children:"A csoport és az összes tagja véglegesen törlÅdik."})]}),n.jsxs(Pn,{children:[n.jsx(Hn,{children:"Mégse"}),n.jsx(Xn,{className:"bg-destructive text-destructive-foreground hover:bg-destructive/90",onClick:()=>{d.mutate(m),b(null)},children:"Törlés"})]})]})})]})}function B2({eventId:e,occurrenceId:t}){const{toast:r}=at(),i=ht(),[s,c]=be.useState(!1),[o,a]=be.useState({nev:"",leiras:"",helyszin:"",vezeto_nev:"",max_letszam:"10",vezeto_crew_id:""}),[l,f]=be.useState(null),{data:m,isLoading:b}=ze({queryKey:["event-workshops",e,t],queryFn:async()=>{let u=me.from("event_workshops").select("*").eq("event_id",e).order("created_at");t&&(u=u.eq("occurrence_id",t));const{data:d,error:y}=await u;if(y)throw y;return d??[]}}),{data:x}=ze({queryKey:["event-crew",e],queryFn:async()=>{const{data:u,error:d}=await me.from("event_crew").select("id, nev, szerepkor").eq("event_id",e);if(d)throw d;return u??[]}}),p=Oe({mutationFn:async()=>{const{error:u}=await me.from("event_workshops").insert({event_id:e,occurrence_id:t||null,nev:o.nev,leiras:o.leiras||null,helyszin:o.helyszin||null,vezeto_nev:o.vezeto_nev||null,max_letszam:parseInt(o.max_letszam)||10,vezeto_crew_id:o.vezeto_crew_id||null});if(u)throw u},onSuccess:()=>{i.invalidateQueries({queryKey:["event-workshops",e]}),a({nev:"",leiras:"",helyszin:"",vezeto_nev:"",max_letszam:"10",vezeto_crew_id:""}),c(!1),r({title:"Workshop létrehozva"})},onError:()=>r({title:"Hiba",variant:"destructive"})}),v=Oe({mutationFn:async u=>{const{error:d}=await me.from("event_workshops").delete().eq("id",u);if(d)throw d},onSuccess:()=>{i.invalidateQueries({queryKey:["event-workshops",e]}),r({title:"Workshop törölve"})}});return b?n.jsx(Pe,{className:"h-10"}):n.jsxs("div",{children:[n.jsxs("div",{className:"flex items-center justify-between mb-3",children:[n.jsx("h3",{className:"text-sm font-medium",style:{fontFamily:"Jost, sans-serif",letterSpacing:"0.05em"},children:"Workshop foglalkozások"}),n.jsxs(ye,{variant:"outline",size:"sm",className:"gap-1 text-xs",onClick:()=>c(!s),children:[n.jsx(Ve,{size:14})," Workshop"]})]}),s&&n.jsxs("div",{className:"mb-3 p-3 rounded border space-y-2",children:[n.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[n.jsxs("div",{children:[n.jsx(Ce,{className:"text-xs",children:"Név *"}),n.jsx(_e,{value:o.nev,onChange:u=>a({...o,nev:u.target.value}),className:"h-8 text-xs"})]}),n.jsxs("div",{children:[n.jsx(Ce,{className:"text-xs",children:"HelyszÃn"}),n.jsx(_e,{value:o.helyszin,onChange:u=>a({...o,helyszin:u.target.value}),className:"h-8 text-xs"})]})]}),n.jsxs("div",{className:"grid grid-cols-3 gap-2",children:[n.jsxs("div",{children:[n.jsx(Ce,{className:"text-xs",children:"VezetÅ neve"}),n.jsx(_e,{value:o.vezeto_nev,onChange:u=>a({...o,vezeto_nev:u.target.value}),className:"h-8 text-xs"})]}),n.jsxs("div",{children:[n.jsx(Ce,{className:"text-xs",children:"Max létszám"}),n.jsx(_e,{type:"number",value:o.max_letszam,onChange:u=>a({...o,max_letszam:u.target.value}),className:"h-8 text-xs"})]}),n.jsxs("div",{children:[n.jsx(Ce,{className:"text-xs",children:"Crew tag"}),n.jsxs(Ft,{value:o.vezeto_crew_id,onValueChange:u=>a({...o,vezeto_crew_id:u}),children:[n.jsx(jt,{className:"h-8 text-xs",children:n.jsx(At,{placeholder:"Opcionális"})}),n.jsx(zt,{children:x==null?void 0:x.map(u=>n.jsx(Je,{value:u.id,className:"text-xs",children:u.nev},u.id))})]})]})]}),n.jsxs("div",{children:[n.jsx(Ce,{className:"text-xs",children:"LeÃrás"}),n.jsx(_e,{value:o.leiras,onChange:u=>a({...o,leiras:u.target.value}),className:"h-8 text-xs"})]}),n.jsxs("div",{className:"flex gap-2 justify-end",children:[n.jsx(ye,{variant:"ghost",size:"sm",className:"text-xs",onClick:()=>c(!1),children:"Mégse"}),n.jsx(ye,{size:"sm",className:"text-xs",disabled:!o.nev.trim(),onClick:()=>
249p.mutate(),style:{background:"hsl(var(--mineral))"},children:"Mentés"})]})]}),n.jsxs("div",{className:"space-y-1",children:[m==null?void 0:m.map(u=>n.jsxs("div",{className:"flex items-center gap-2 p-2 rounded hover:bg-muted text-sm",children:[n.jsx("span",{className:"font-medium flex-1",style:{fontFamily:"Jost, sans-serif"},children:u.nev}),u.helyszin&&n.jsx(Le,{variant:"outline",className:"text-[10px] px-1.5 py-0",children:u.helyszin}),u.vezeto_nev&&n.jsx("span",{className:"text-xs text-muted-foreground",children:u.vezeto_nev}),n.jsx("button",{onClick:()=>f(u.id),className:"p-1 rounded hover:bg-destructive/10",children:n.jsx(Ke,{size:14,className:"text-muted-foreground hover:text-destructive"})})]},u.id)),(m==null?void 0:m.length)===0&&!s&&n.jsx("p",{className:"text-xs",style:{color:"hsl(var(--ink-faint))"},children:"Még nincs workshop"})]}),n.jsx(Rn,{open:!!l,onOpenChange:u=>{u||f(null)},children:n.jsxs(In,{children:[n.jsxs(Ln,{children:[n.jsx(Mn,{children:"Biztosan törlöd?"}),n.jsx(qn,{children:"A workshop és a hozzá tartozó rotációs slotok törlÅdnek."})]}),n.jsxs(Pn,{children:[n.jsx(Hn,{children:"Mégse"}),n.jsx(Xn,{className:"bg-destructive text-destructive-foreground hover:bg-destructive/90",onClick:()=>{v.mutate(l),f(null)},children:"Törlés"})]})]})})]})}function W2({eventId:e,occurrenceId:t,eventDatum:r}){const{toast:i}=at(),s=ht(),[c,o]=be.useState(!1),[a,l]=be.useState(""),[f,m]=be.useState([]),[b,x]=be.useState(!1),{data:p}=ze({queryKey:["event-groups",e,t],queryFn:async()=>{let g=me.from("event_groups").select("*").eq("event_id",e).order("created_at");t&&(g=g.eq("occurrence_id",t));const{data:k}=await g;return k??[]}}),{data:v}=ze({queryKey:["event-workshops",e,t],queryFn:async()=>{let g=me.from("event_workshops").select("*").eq("event_id",e).order("created_at");t&&(g=g.eq("occurrence_id",t));const{data:k}=await g;return k??[]}}),{data:u}=ze({queryKey:["event-rotation-slots",e,t],queryFn:async()=>{let g=me.from("event_rotation_slots").select("*").eq("event_id",e).order("kezdes");t&&(g=g.eq("occurrence_id",t));const{data:k}=await g;return k??[]}}),d=Oe({mutationFn:async()=>{const g=p??[],k=v??[];if(g.length<2||k.length<2)throw new Error("min2");const w=Math.min(g.length,k.length);await me.from("event_rotation_slots").delete().eq("event_id",e);const F=[];for(let S=0;S<f.length&&S<w;S++)for(let I=0;I<w;I++)F.push({event_id:e,occurrence_id:t||null,group_id:g[I].id,workshop_id:k[(S+I)%w].id,kezdes:f[S].kezdes,veges:f[S].veges});const{error:z}=await me.from("event_rotation_slots").insert(F);if(z)throw z},onSuccess:()=>{s.invalidateQueries({queryKey:["event-rotation-slots",e]}),o(!1),i({title:`${f.length*((p==null?void 0:p.length)??0)} rotációs slot létrehozva`})},onError:g=>i({title:g.message==="min2"?"Min. 2 csoport és 2 workshop kell":"Hiba",variant:"destructive"})}),y=[...new Set((u==null?void 0:u.map(g=>g.kezdes))??[])].sort(),h=g=>{const k=parseInt(g)||0;l(g);const w=r+"T09:00";m(Array.from({length:k},(F,z)=>({kezdes:new Date(new Date(w).getTime()+z*60*6e4).toISOString(),veges:new Date(new Date(w).getTime()+(z+1)*60*6e4).toISOString()})))};return n.jsx("div",{className:"space-y-4",children:n.jsxs("div",{children:[n.jsxs("div",{className:"flex items-center justify-between mb-3",children:[n.jsx("h3",{className:"text-sm font-medium",style:{fontFamily:"Jost, sans-serif",letterSpacing:"0.05em"},children:"Rotációs beosztás"}),n.jsxs(ye,{variant:"outline",size:"sm",className:"gap-1 text-xs",onClick:()=>o(!c),children:[n.jsx(us,{size:14})," Generálás"]})]}),c&&n.jsxs("div",{className:"mb-3 p-3 rounded border space-y-2",children:[n.jsxs("p",{className:"text-xs text-muted-foreground",children:[(p==null?void 0:p.length)??0," csoport, ",(v==null?void 0:v.length)??0," workshop"]}),n.jsxs("div",{children:[n.jsx(Ce,{className:"text-xs",children:"IdÅszakok száma"}),n.jsx(_e,{type:"number",min:2,value:a,onChange:g=>h(g.target.value),className:"h-8 text-xs w-32"})]}),f.map((g,k)=>n.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[n.jsxs("div",{children:[n.jsxs(Ce,{className:"text-xs",children:[k+1,". kezdés"]}
249),n.jsx(_e,{type:"datetime-local",value:g.kezdes.slice(0,16),onChange:w=>{const F=[...f];F[k]={...F[k],kezdes:new Date(w.target.value).toISOString()},m(F)},className:"h-8 text-xs"})]}),n.jsxs("div",{children:[n.jsxs(Ce,{className:"text-xs",children:[k+1,". vég"]}),n.jsx(_e,{type:"datetime-local",value:g.veges.slice(0,16),onChange:w=>{const F=[...f];F[k]={...F[k],veges:new Date(w.target.value).toISOString()},m(F)},className:"h-8 text-xs"})]})]},k)),f.length>0&&n.jsxs("div",{className:"flex gap-2 justify-end",children:[n.jsx(ye,{variant:"ghost",size:"sm",className:"text-xs",onClick:()=>o(!1),children:"Mégse"}),n.jsx(ye,{size:"sm",className:"text-xs",onClick:()=>x(!0),style:{background:"hsl(var(--mineral))"},children:"Generálás"})]})]}),n.jsx(Rn,{open:b,onOpenChange:x,children:n.jsxs(In,{children:[n.jsxs(Ln,{children:[n.jsx(Mn,{children:"Biztosan felülÃrod?"}),n.jsx(qn,{children:"A meglévÅ rotációs slotok törlÅdnek és újak jönnek létre."})]}),n.jsxs(Pn,{children:[n.jsx(Hn,{children:"Mégse"}),n.jsx(Xn,{onClick:()=>{x(!1),d.mutate()},style:{background:"hsl(var(--mineral))"},children:"Generálás"})]})]})}),y.length>0&&(p!=null&&p.length)?n.jsx("div",{className:"overflow-x-auto",children:n.jsxs("table",{className:"w-full text-xs border",style:{fontFamily:"Jost, sans-serif"},children:[n.jsx("thead",{children:n.jsxs("tr",{className:"bg-muted",children:[n.jsx("th",{className:"p-1.5 text-left border-r",children:"IdÅ"}),p.map(g=>n.jsxs("th",{className:"p-1.5 text-center border-r",children:[n.jsx("span",{className:"inline-block w-2 h-2 rounded-full mr-1",style:{background:g.szin??void 0}}),g.nev]},g.id))]})}),n.jsx("tbody",{children:y.map(g=>n.jsxs("tr",{className:"border-t",children:[n.jsx("td",{className:"p-1.5 border-r text-muted-foreground whitespace-nowrap",children:Qe(new Date(g),"HH:mm",{locale:Dt})}),p.map(k=>{const w=u==null?void 0:u.find(z=>z.kezdes===g&&z.group_id===k.id),F=v==null?void 0:v.find(z=>z.id===(w==null?void 0:w.workshop_id));return n.jsx("td",{className:"p-1.5 text-center border-r",children:(F==null?void 0:F.nev)??"â"},k.id)})]},g))})]})}):!c&&n.jsx("p",{className:"text-xs",style:{color:"hsl(var(--ink-faint))"},children:"Még nincs rotációs beosztás"})]})})}function O2({eventId:e,occurrenceId:t,datumTol:r,dayCount:i}){const{toast:s}=at(),c=ht(),[o,a]=be.useState(!1),[l,f]=be.useState({cim:"",tipus:"kozos",time:"09:00",vegesTime:"",helyszin:"",max_ferohely:"",nap_szama:1}),{data:m}=ze({queryKey:["event-program-items",e,t],queryFn:async()=>{let u=me.from("event_program_items").select("*").eq("event_id",e).order("kezdes");t&&(u=u.eq("occurrence_id",t));const{data:d,error:y}=await u;if(y)throw y;return d??[]}}),b=Oe({mutationFn:async()=>{const u=Gi(new Date(r),l.nap_szama-1),d=Qe(u,"yyyy-MM-dd"),y=new Date(`${d}T${l.time}:00`).toISOString(),h=l.vegesTime?new Date(`${d}T${l.vegesTime}:00`).toISOString():null,{error:g}=await me.from("event_program_items").insert({event_id:e,occurrence_id:t||null,cim:l.cim,tipus:l.tipus,kezdes:y,veges:h,helyszin:l.helyszin||null,opcionalis:l.tipus==="opcionalis",nap_szama:l.nap_szama,max_ferohely:l.tipus==="opcionalis"&&l.max_ferohely?parseInt(l.max_ferohely):null});if(g)throw g},onSuccess:()=>{c.invalidateQueries({queryKey:["event-program-items",e]}),f({cim:"",tipus:"kozos",time:"09:00",vegesTime:"",helyszin:"",max_ferohely:"",nap_szama:1}),a(!1),s({title:"Program hozzáadva"})}}),x=Oe({mutationFn:async u=>{const{error:d}=await me.from("event_program_items").delete().eq("id",u);if(d)throw d},onSuccess:()=>c.invalidateQueries({queryKey:["event-program-items",e]})}),p=Array.from({length:i},(u,d)=>d+1),v=be.useMemo(()=>{const u={};for(const d of p)u[d]=[];m==null||m.forEach(d=>{const y=d.nap_szama??1;u[y]||(u[y]=[]),u[y].push(d)});for(const d of Object.keys(u))u[+d].sort((y,h)=>new Date(y.kezdes).getTime()-new Date(h.kezdes).getTime());return u},[m,i]);return n.jsxs("div",{children:[n.jsxs("div",{className:"flex items-center justify-between mb-3",children:[n.jsx("h3",{className:"text-sm font-medium",style:{fontFamily:"Jost, sans-serif",letterSpacing:"0.05em"},children:"Programelemek"}),n.jsxs(ye,{variant:"outline",size:"sm",className:"gap-1 text-xs",onClick:()=>a(!o),children:[n.jsx(Ve,{size:14})," Elem"]})]}),o&&n.jsxs("div",{className:"mb-3 p-3 rounded border space-y-2",children:[n.jsxs("div",{className:"grid grid-cols-3 gap-2",children:[n.jsxs("div",{children:[n.jsx(Ce,{className:"text-xs",children:"CÃm *"}),n.jsx(_e,{value:l.cim,onChange:u=>f({...l,cim:u.target.value}),className:"h-8 text-xs"})]}),n.jsxs("div",{children:[n.jsx(Ce,{className:"text-xs",children:"TÃpus"}),n.jsxs(Ft,{value:l.tipus,onValueChange:u=>f({...l,tipus:u}),children:[n.jsx(jt,{className:"h-8 text-xs",children:n.jsx(At,{})}),n.jsx(zt,{children:El.map(u=>n.jsx(Je,{value:u.value,className:"text-xs",children:u.label},u.value))})]})]}),i>1&&n.jsxs("div",{children:[n.jsx(Ce,{className:"text-xs",children:"Melyik napra?"}),n.jsxs(Ft,{value:String(l.nap_szama),onValueChange:u=>f({...l,nap_szama:+u}),children:[n.jsx(jt,{className:"h-8 text-xs",children:n.jsx(At,{})}),n.jsx(zt,{children:p.map(u=>{const d=Gi(new Date(r),u-1);return n.jsxs(Je,{value:String(u),className:"text-xs",children:[u,". nap â ",Qe(d,"EEEE",{locale:Dt})]},u)})})]})]})]}),n.jsxs("div",{className:"grid grid-cols-3 gap-2",children:[n.jsxs("div",{children:[n.jsx(Ce,{className:"text-xs",children:"Kezdés (idÅ) *"}),n.jsx(_e,{type:"time",value:l.time,onChange:u=>f({...l,time:u.target.value}),className:"h-8 text-xs"})]}),n.jsxs("div",{children:[n.jsx(Ce,{className:"text-xs",children:"Vég (idÅ)"}),n.jsx(_e,{type:"time",value:l.vegesTime,onChange:u=>f({...l,vegesTime:u.target.value}),className:"h-8 text-xs"})]}),n.jsxs("div",{children:[n.jsx(Ce,{className:"text-xs",children:"HelyszÃn"}),n.jsx(_e,{value:l.helyszin,onChange:u=>f({...l,helyszin:u.target.value}),className:"h-8 text-xs"})]})]}),l.tipus==="opcionalis"&&n.jsxs("div",{children:[n.jsx(Ce,{className:"text-xs",children:"Max férÅhely"}),n.jsx(_e,{type:"number",value:l.max_ferohely,onChange:u=>f({...l,max_ferohely:u.target.value}),className:"h-8 text-xs w-32"})]}),n.jsxs("div",{className:"flex gap-2 justify-end",children:[n.jsx(ye,{variant:"ghost",size:"sm",className:"text-xs",onClick:()=>a(!1),children:"Mégse"}),n.jsx(ye,{size:"sm",className:"text-xs",disabled:!l.cim.trim()||!l.time,onClick:()=>
249b.mutate(),style:{background:"hsl(var(--mineral))"},children:"Mentés"})]})]}),p.map(u=>{const d=Gi(new Date(r),u-1),y=v[u]??[];return n.jsxs("div",{className:"mb-4",children:[n.jsxs("h4",{className:"text-xs font-medium uppercase tracking-wider mb-2 pb-1 border-b",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--mineral-d))",borderColor:"hsl(var(--rule))"},children:[u,". nap â ",Qe(d,"EEEE, MMM d.",{locale:Dt})]}),n.jsxs("div",{className:"space-y-1",children:[y.map(h=>{var g;return n.jsxs("div",{className:"flex items-center gap-2 p-2 rounded hover:bg-muted text-sm",children:[n.jsx("span",{className:"text-xs font-medium w-12 flex-shrink-0",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--mineral))"},children:Qe(new Date(h.kezdes),"HH:mm")}),n.jsx("span",{className:"font-medium flex-1",style:{fontFamily:"Jost, sans-serif"},children:h.cim}),h.helyszin&&n.jsx(Le,{variant:"outline",className:"text-[10px] px-1.5 py-0",children:h.helyszin}),n.jsx(Le,{variant:"outline",className:"text-[10px] px-1.5 py-0",children:((g=El.find(k=>k.value===h.tipus))==null?void 0:g.label)??h.tipus}),h.opcionalis&&n.jsx(Le,{variant:"secondary",className:"text-[10px] px-1.5 py-0",children:"Opc."}),n.jsx("button",{onClick:()=>x.mutate(h.id),className:"p-1 rounded hover:bg-destructive/10",children:n.jsx(Ke,{size:14,className:"text-muted-foreground hover:text-destructive"})})]},h.id)}),y.length===0&&n.jsx("p",{className:"text-xs py-2",style:{color:"hsl(var(--ink-faint))"},children:"Nincs program ezen a napon"})]})]},u)})]})}function R2({eventId:e,occurrenceId:t,eventDatum:r,eventDatumTol:i,eventDatumIg:s}){const c=i||r,o=s||r,a=Math.max(1,Math.round((new Date(o).getTime()-new Date(c).getTime())/864e5)+1);return n.jsxs("div",{className:"space-y-6 pb-4",children:[n.jsxs(Sl,{className:"border-rule bg-paper",style:{borderRadius:6},children:[n.jsx(bh,{size:16,style:{color:"hsl(var(--leather))"}}),n.jsxs(Bl,{style:{fontFamily:"'EB Garamond', serif",fontSize:"0.95rem",color:"hsl(var(--ink-soft))",lineHeight:1.7},children:["Ez a rendezvényhez tartozó belsÅ programagenda. Nyilvánosan meghirdetett programokhoz használd a"," ",n.jsx(Zd,{to:"/admin/verspark",style:{color:"hsl(var(--mineral))",textDecoration:"underline",textUnderlineOffset:3},children:"Verspark modult"}),"."]})]}),n.jsx(S2,{eventId:e,occurrenceId:t}),n.jsx(Dn,{}),n.jsx(B2,{eventId:e,occurrenceId:t}),n.jsx(Dn,{}),n.jsx(W2,{eventId:e,occurrenceId:t,eventDatum:r}),n.jsx(Dn,{}),n.jsx(O2,{eventId:e,occurrenceId:t,datumTol:c,dayCount:a})]})}function Fl({eventId:e}){const{data:t}=ze({queryKey:["event-packages-ids",e],queryFn:async()=>{const{data:a,error:l}=await me.from("event_packages").select("id, nev, csomag_kod").eq("event_id",e);if(l)throw l;return a??[]}}),r=(t==null?void 0:t.map(a=>a.id))??[],{data:i,isLoading:s}=ze({queryKey:["event-package-bookings",e,r],queryFn:async()=>{if(!r.length)return[];const{data:a}=await me.from("bookings").select("id, check_in, check_out, status, total_price, notes, created_at, package_id, guests(name, email)").in("package_id",r).is("deleted_at",null).order("created_at",{ascending:!1}),{data:l}=await me.from("bookings").select("id, check_in, check_out, status, total_price, notes, created_at, package_id, guests(name, email)").eq("source","csomag").is("package_id",null).is("deleted_at",null).order("created_at",{ascending:!1}),f=(l??[]).filter(x=>r.some(p=>{var v;return(v=x.notes)==null?void 0:v.includes(p)})||(t==null?void 0:t.some(p=>{var v;return(v=x.notes)==null?void 0:v.includes(p.csomag_kod)}))),m=[...a??[],...f],b=new Map(m.map(x=>[x.id,x]));return Array.from(b.values())},enabled:r.length>0});if(s)return n.jsx(Pe,{className:"h-24 w-full"});const c=a=>{if(a.package_id){const l=t==null?void 0:t.find(f=>f.id===a.package_id);if(l)return l.nev}if(a.notes){const l=t==null?void 0:t.find(f=>{var m,b;return((m=a.notes)==null?void 0:m.includes(f.id))||((b=a.notes)==null?void 0:b.includes(f.csomag_kod))});if(l)return l.nev}return"â"},o=a=>{const f={confirmed:{label:"MegerÅsÃtve",bg:"#22c55e20",fg:"#16a34a"},pending:{label:"FüggÅben",bg:"#f59e0b20",fg:"#d97706"},awaiting_payment:{label:"Fizetésre vár",bg:"#f59e0b20",fg:"#d97706"},cancelled:{label:"Lemondva",bg:"#ef444420",fg:"#dc2626"}}[a]??{label:a,bg:"hsl(var(--muted))",fg:"hsl(var(--ink-faint))"};return n.jsx(Le,{className:"text-[0.6rem] border-0",style:{background:f.bg,color:f.fg},children:f.label})};return n.jsxs("div",{className:"border rounded-md",style:{borderColor:"hsl(var(--rule))"},children:[n.jsxs("div",{className:"flex items-center gap-2 px-4 py-3 border-b",style:{borderColor:"hsl(var(--rule))"},children:[n.jsx(_h,{size:16,style:{color:"hsl(var(--leather))"}}),n.jsxs("h4",{className:"text-sm font-medium",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink))"},children:["Csomagfoglalások (",(i==null?void 0:i.length)??0,")"]})]}),i!=null&&i.length?n.jsxs("table",{className:"w-full text-sm",style:{fontFamily:"Jost, sans-serif"},children:[n.jsx("thead",{children:n.jsxs("tr",{className:"border-b",style:{borderColor:"hsl(var(--rule))"},children:[n.jsx("th",{className:"text-left px-4 py-2 font-medium",style:{color:"hsl(var(--ink-soft))",fontSize:"0.7rem"},children:"Vendég"}),n.jsx("th",{className:"text-left px-4 py-2 font-medium",style:{color:"hsl(var(--ink-soft))",fontSize:"0.7rem"},children:"Csomag"}),n.jsx("th",{className:"text-left px-4 py-2 font-medium",style:{color:"hsl(var(--ink-soft))",fontSize:"0.7rem"},children:"Dátum"}),n.jsx("th",{className:"text-left px-4 py-2 font-medium",style:{color:"hsl(var(--ink-soft))",fontSize:"0.7rem"},children:"Státusz"})]})}),n.jsx("tbody",{children:i.map(a=>{const l=a.guests;return n.jsxs("tr",{className:"border-b last:border-0",style:{borderColor:"hsl(var(--rule))"},children:[n.jsxs("td",{className:"px-4 py-2",children:[n.jsx("div",{style:{color:"hsl(var(--ink))"},children:(l==null?void 0:l.name)??"â"}),n.jsx("div",{className:"text-xs",style:{color:"hsl(var(--ink-faint))"},children:(l==null?void 0:l.email)??""})]}),n.jsx("td",{className:"px-4 py-2",style:{color:"hsl(var(--ink-soft))"},children:c(a)}),n.jsxs("td",{className:"px-4 py-2",style:{color:"hsl(var(--ink-soft))"},children:[Qe(new Date(a.check_in),"MMM d.",{locale:Dt})," â ",Qe(new Date(a.check_out),"MMM d.",{locale:Dt})]}),n.jsx("td",{className:"px-4 py-2",children:o(a.status)})]},a.id)})})]}):n.jsxs("div",{className:"py-8 text-center",style:{color:"hsl(var(--ink-faint))",fontFamily:"Jost, sans-serif",fontSize:"0.85rem"},children:[n.jsx(Wl,{size:28,strokeWidth:1,className:"mx-auto mb-2",style:{color:"hsl(var(--ash))"}}),"Még nincs csomagfoglalás ehhez a rendezvényhez."]})]})}const jl={nev:"",email:"",jegyazonosito:""};function I2({eventId:e,occurrenceId:t,eventNev:r}){const i=ht(),[s,c]=be.useState({}),[o,a]=be.useState({}),[l,f]=be.useState(""),[m,b]=be.useState(!1),{data:x,isLoading:p}=ze({queryKey:["event-groups",e,t],queryFn:async()=>{let S=me.from("event_groups").select("*").eq("event_id",e).order("nev");t&&(S=S.eq("occurrence_id",t));const{data:I,error:K}=await S;if(K)throw K;return I??[]}}),v=(x==null?void 0:x.map(S=>S.id))??[],{data:u,isLoading:d}=ze({queryKey:["event-group-members",e,v],queryFn:async()=>
249{if(!v.length)return[];const{data:S,error:I}=await me.from("event_group_members").select("*").in("group_id",v).order("nev");if(I)throw I;return S??[]},enabled:v.length>0}),y=S=>(u==null?void 0:u.filter(I=>I.group_id===S))??[],h=(u==null?void 0:u.filter(S=>S.email&&!S.invite_token))??[],g=Oe({mutationFn:async S=>{const I=crypto.randomUUID().replace(/-/g,""),{error:K}=await me.from("event_group_members").update({invite_token:I}).eq("id",S.id);if(K)throw K;const ae=`Kedves ${S.nev}! 250 251Itt a személyes programoldalad a hétvégére: 252 253https://parkmotel.hu/esemeny/${I} 254 255Ez a link csak neked szól. 256 257Várunk szeretettel, 258ParkMotel csapata`;return await me.functions.invoke("send-guest-email",{body:{to:S.email,subject:`A te személyes programod â ${r}`,body:ae}}),S.email},onSuccess:S=>{an.success(`Link elküldve: ${S}`),i.invalidateQueries({queryKey:["event-group-members",e]})},onError:()=>an.error("Hiba a küldés során")}),k=Oe({mutationFn:async()=>{for(const S of h){if(!S.email)continue;const I=crypto.randomUUID().replace(/-/g,"");await me.from("event_group_members").update({invite_token:I}).eq("id",S.id);const K=`Kedves ${S.nev}! 259 260Itt a személyes programoldalad a hétvégére: 261 262https://parkmotel.hu/esemeny/${I} 263 264Ez a link csak neked szól. 265 266Várunk szeretettel, 267ParkMotel csapata`;await me.functions.invoke("send-guest-email",{body:{to:S.email,subject:`A te személyes programod â ${r}`,body:K}})}},onSuccess:()=>{an.success(`${h.length} vendégnek elküldve`),i.invalidateQueries({queryKey:["event-group-members",e]})},onError:()=>an.error("Hiba a tömeges küldés során")}),w=Oe({mutationFn:async({groupId:S,form:I})=>{const{error:K}=await me.from("event_group_members").insert({group_id:S,nev:I.nev,email:I.email||null,jegyazonosito:I.jegyazonosito||null});if(K)throw K},onSuccess:(S,{groupId:I})=>{an.success("Vendég hozzáadva"),c(K=>({...K,[I]:{...jl}})),i.invalidateQueries({queryKey:["event-group-members",e]})},onError:()=>an.error("Hiba a vendég hozzáadásakor")}),F=Oe({mutationFn:async S=>{const{error:I}=await me.from("event_groups").insert({event_id:e,occurrence_id:t||null,nev:S});if(I)throw I},onSuccess:()=>{an.success("Csoport létrehozva"),f(""),b(!1),i.invalidateQueries({queryKey:["event-groups",e]})},onError:()=>an.error("Hiba a csoport létrehozásakor")});if(p||d)return n.jsxs("div",{className:"space-y-4",children:[n.jsx(Pe,{className:"h-10 w-64"}),n.jsx(Pe,{className:"h-32 w-full"}),n.jsx(Pe,{className:"h-32 w-full"})]});if(!(x!=null&&x.length))return n.jsxs("div",{className:"space-y-4",children:[n.jsx(Fl,{eventId:e}),n.jsxs("div",{className:"flex flex-col items-center justify-center py-16 gap-4",style:{color:"hsl(var(--ink-faint))"},children:[n.jsx(wr,{size:40,strokeWidth:1}),n.jsx("p",{className:"text-sm",style:{fontFamily:"Jost, sans-serif"},children:"Nincsenek csoportok ehhez az idÅponthoz."}),n.jsxs("div",{className:"flex items-center gap-2",children:[n.jsx(_e,{placeholder:"Csoport neve (pl. Reggeli kör)",value:l,onChange:S=>f(S.target.value),className:"h-9 text-sm w-56",style:{fontFamily:"Jost, sans-serif"}}),n.jsxs(ye,{size:"sm",disabled:!l.trim()||F.isPending,onClick:()=>F.mutate(l.trim()),className:"gap-1",style:{background:"hsl(var(--mineral))",fontFamily:"Jost, sans-serif",fontSize:"0.7rem",letterSpacing:"0.15em",textTransform:"uppercase"},children:[n.jsx(Ve,{size:14})," Csoport létrehozása"]})]})]})]});const z=(u==null?void 0:u.length)??0;return n.jsxs("div",{className:"space-y-4",children:[n.jsx(Fl,{eventId:e}),n.jsxs("div",{className:"flex items-center justify-between flex-wrap gap-3",children:[n.jsxs("p",{className:"text-sm",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink-soft))"},children:[x.length," csoport · ",z," vendég összesen"]}),n.jsxs("div",{className:"flex items-center gap-2",children:[m?n.jsxs(n.Fragment,{children:[n.jsx(_e,{placeholder:"Csoport neve",value:l,onChange:S=>f(S.target.value),className:"h-8 text-sm w-40",style:{fontFamily:"Jost, sans-serif"},autoFocus:!0,onKeyDown:S=>{S.key==="Enter"&&l.trim()&&F.mutate(l.trim()),S.key==="Escape"&&(b(!1),f(""))}}),n.jsx(ye,{size:"sm",disabled:!l.trim()||F.isPending,onClick:()=>F.mutate(l.trim()),className:"h-8 text-xs",style:{background:"hsl(var(--m
267ineral))",fontFamily:"Jost, sans-serif"},children:"Létrehozás"}),n.jsx(ye,{size:"sm",variant:"ghost",className:"h-8 text-xs",onClick:()=>{b(!1),f("")},children:"Mégse"})]}):n.jsxs(ye,{variant:"outline",size:"sm",className:"gap-1 text-xs",style:{fontFamily:"Jost, sans-serif",borderColor:"hsl(var(--mineral))",color:"hsl(var(--mineral))"},onClick:()=>b(!0),children:[n.jsx(Ve,{size:14})," Ãj csoport"]}),h.length>0&&n.jsxs(ye,{size:"sm",onClick:()=>k.mutate(),disabled:k.isPending,className:"gap-1.5",style:{background:"hsl(var(--mineral))",fontFamily:"Jost, sans-serif",fontSize:"0.7rem",letterSpacing:"0.18em",textTransform:"uppercase"},children:[n.jsx($r,{size:14}),"Küldés az összes vendégnek (",h.length,")"]})]})]}),x.map(S=>{const I=y(S.id),K=o[S.id]!==!1,ae=s[S.id]??{...jl};return n.jsxs(bt,{open:K,onOpenChange:j=>a(R=>({...R,[S.id]:j})),children:[n.jsx(vt,{asChild:!0,children:n.jsxs("button",{className:"w-full flex items-center gap-3 px-4 py-3 rounded-md border transition-colors hover:bg-muted/40",style:{borderColor:"hsl(var(--rule))",fontFamily:"Jost, sans-serif"},children:[n.jsx("span",{className:"w-3 h-3 rounded-full flex-shrink-0",style:{background:S.szin||"hsl(var(--mineral))"}}),n.jsx("span",{className:"font-medium text-sm",style:{color:"hsl(var(--ink))"},children:S.nev}),n.jsxs("span",{className:"text-xs",style:{color:"hsl(var(--ink-faint))"},children:[I.length,S.max_letszam?` / ${S.max_letszam}`:""," fÅ"]}),n.jsx(ms,{size:16,className:"ml-auto transition-transform",style:{color:"hsl(var(--ink-faint))",transform:K?"rotate(180deg)":"rotate(0deg)"}})]})}),n.jsx(xt,{children:n.jsxs("div",{className:"border rounded-md mt-1",style:{borderColor:"hsl(var(--rule))"},children:[I.length===0?n.jsx("p",{className:"text-center py-8 text-sm",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink-faint))"},children:"Még nincsenek vendégek ebben a csoportban"}):n.jsxs(vh,{children:[n.jsx(xh,{children:n.jsxs(No,{children:[n.jsx(ar,{style:{fontFamily:"Jost, sans-serif",fontSize:"0.7rem"},children:"Név"}),n.jsx(ar,{style:{fontFamily:"Jost, sans-serif",fontSize:"0.7rem"},children:"Email"}),n.jsx(ar,{style:{fontFamily:"Jost, sans-serif",fontSize:"0.7rem"},children:"JegyazonosÃtó"}),n.jsx(ar,{style:{fontFamily:"Jost, sans-serif",fontSize:"0.7rem"},children:"Státusz"}),n.jsx(ar,{style:{fontFamily:"Jost, sans-serif",fontSize:"0.7rem"}})]})}),n.jsx(Dh,{children:I.map(j=>
267{const R=!!j.email,_=!!j.invite_token;return n.jsxs(No,{children:[n.jsx(sr,{className:"text-sm",style:{fontFamily:"Jost, sans-serif"},children:j.nev}),n.jsx(sr,{className:"text-sm",style:{fontFamily:"Jost, sans-serif",color:R?"hsl(var(--ink-soft))":"hsl(var(--ink-faint))"},children:j.email||"â"}),n.jsx(sr,{className:"text-sm",style:{fontFamily:"Jost, sans-serif",color:j.jegyazonosito?"hsl(var(--ink-soft))":"hsl(var(--ink-faint))"},children:j.jegyazonosito||"â"}),n.jsx(sr,{children:_&&R?n.jsx(Le,{className:"text-[0.6rem] border-0",style:{background:"#22c55e20",color:"#16a34a"},children:"Link elküldve"}):R?n.jsx(Le,{className:"text-[0.6rem] border-0",style:{background:"#f59e0b20",color:"#d97706"},children:"Nincs elküldve"}):n.jsx(Le,{className:"text-[0.6rem] border-0",style:{background:"hsl(var(--muted))",color:"hsl(var(--ink-faint))"},children:"Nincs email"})}),n.jsx(sr,{children:n.jsxs(ye,{size:"sm",variant:"ghost",disabled:!R||_||g.isPending,onClick:()=>g.mutate({id:j.id,nev:j.nev,email:j.email}),className:"gap-1 text-xs",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--mineral))"},children:[n.jsx($r,{size:12})," Link küldése"]})})]},j.id)})})]}),n.jsxs("div",{className:"flex items-center gap-2 px-4 py-3 border-t",style:{borderColor:"hsl(var(--rule))"},children:[n.jsx(kh,{size:14,style:{color:"hsl(var(--ink-faint))"}}),n.jsx(_e,{placeholder:"Név *",value:ae.nev,onChange:j=>c(R=>({...R,[S.id]:{...ae,nev:j.target.value}})),className:"h-8 text-sm flex-1 min-w-[120px]",style:{fontFamily:"Jost, sans-serif"}}),n.jsx(_e,{placeholder:"Email",value:ae.email,onChange:j=>c(R=>({...R,[S.id]:{...ae,email:j.target.value}})),className:"h-8 text-sm flex-1 min-w-[120px]",style:{fontFamily:"Jost, sans-serif"}}),n.jsx(_e,{placeholder:"JegyazonosÃtó",value:ae.jegyazonosito,onChange:j=>c(R=>({...R,[S.id]:{...ae,jegyazonosito:j.target.value}})),className:"h-8 text-sm flex-1 min-w-[100px]",style:{fontFamily:"Jost, sans-serif"}}),n.jsx(ye,{size:"sm",disabled:!ae.nev.trim()||w.isPending,onClick:()=>w.mutate({groupId:S.id,form:ae}),className:"h-8 text-xs",style:{background:"hsl(var(--mineral))",fontFamily:"Jost, sans-serif"},children:"Hozzáadás"})]})]})})]},S.id)})]})}const L2={pending_approval:{label:"Jóváhagyásra vár",bg:"#f59e0b20",fg:"#d97706"},scheduled:{label:"Ãtemezve",bg:"#3b82f620",fg:"#2563eb"},sent:{label:"Elküldve",bg:"#22c55e20",fg:"#16a34a"},failed:{label:"Sikertelen",bg:"#ef444420",fg:"#dc2626"},skipped:{label:"Kihagyva",bg:"hsl(var(--muted))",fg:"hsl(var(--ink-faint))"}},xn={fontFamily:"Jost, sans-serif",fontSize:"0.65rem",letterSpacing:"0.15em",textTransform:"uppercase"};function M2({eventId:e}){var J,U,A;const{toast:t}=at(),r=ht(),[i,s]=be.useState(!1),[c,o]=be.useState(null),[a,l]=be.useState(""),[f,m]=be.useState(""),[b,x]=be.useState(!1),[p,v]=be.useState(null),[u,d]=be.useState(!1),{data:y}=ze({queryKey:["event-packages-ids",e],queryFn:async()=>{const{data:E,error:C}=await me.from("event_packages").select("id, nev").eq("event_id",e);if(C)throw C;return E??[]}}),h=(y==null?void 0:y.map(E=>E.id))??[],{data:g}=ze({queryKey:["event-package-booking-ids",e,h],queryFn:async()=>{if(!h.length)return[];const{data:E}=await me.from("bookings").select("id, guest_id, apartment_id, check_in, check_out, guest_count, total_price, package_id").in("package_id",h).is("deleted_at",null),{data:C}=await me.from("bookings").select("id, guest_id, apartment_id, check_in, check_out, guest_count, total_price, notes, package_id").eq("source","csomag").is("package_id",null).is("deleted_at",null),O=(C??[]).filter(P=>h.some(te=>{var se;return(se=P.notes)==null?void 0:se.includes(te)})),B=[...E??[],...O],M=new Map(B.map(P=>[P.id,P]));return Array.from(M.values())},enabled:h.length>0});[...new Set((g==null?void 0:g.map(E=>E.guest_id))??[])];const k=(g==null?void 0:g.map(E=>E.id))??[],{data:w,isLoading:F}=ze({queryKey:["event-booker-emails",e,k],queryFn:async()=>{if(!k.length)return[];const{data:E,error:C}=await me.from("email_queue").select("id, status, scheduled_at, created_at, booking_id, guest_id, sequence_id, guests(name, email), email_sequences(label, template, subject_override, body_override)").in("booking_id",k).order("scheduled_at",{ascending:!0});if(C)throw C;return E??[]},enabled:k.length>0}),{data:z}=ze({queryKey:["event-detail-for-ai",e],queryFn:async()=>{const{data:E}=await me.from("events").select("tipus, datum, datum_tol, datum_ig, letszam, kontakt_nev").eq("id",e).maybeSingle(),{data:C}=await me.from("event_program_items").select("cim, kezdes, veges, helyszin").eq("event_id",e).order("kezdes");return{event:E,programs:C??[]}}}),S=(w==null?void 0:w.filter(E=>E.status==="pending_approval"))??[],I=Oe({mutationFn:async E=>{const{error:C}=await me.from("email_queue").update({status:"scheduled"}).eq("id",E);if(C)throw C},onSuccess:()=>{t({title:"Email jóváhagyva â ütemezésre került"}),r.invalidateQueries({queryKey:["event-booker-emails",e]})},onError:()=>t({title:"Hiba történt",variant:"destructive"})}),K=Oe({mutationFn:async E=>{const{error:C}=await me.from("email_queue").update({status:"skipped"}).eq("id",E);if(C)throw C},onSuccess:()=>{t({title:"Email kihagyva"}),r.invalidateQueries({queryKey:["event-booker-emails",e]})},onError:()=>t({title:"Hiba történt",variant:"destructive"})}),ae=Oe({mutationFn:async()=>{for(const E of S){const{error:C}=await me.from("email_queue").update({status:"scheduled"}).eq("id",E.id);if(C)throw C}},onSuccess:()=>{t({title:`${S.length} email jóváhagyva`}),r.invalidateQueries({queryKey:["event-booker-emails",e]})},onError:()=>t({title:"Hiba történt",variant:"destructive"})}),j=async(E,C)=>{var O;v(C);try{const B=E.guests,M=E.email_sequences,P=(M==null?void 0:M.template)??"custom",te=g==null?void 0:g.find(De=>De.id===E.booking_id||De.guest_id===E.guest_id);let se="";if(te!=null&&te.apartment_id){const{data:De}=await me.from("apartments").select("name").eq("id",te.apartment_id).maybeSingle();se=(De==null?void 0:De.name)??""}const he=((O=y==null?void 0:y.find(De=>De.id===(te==null?void 0:te.package_id)))==null?void 0:O.nev)??"",{data:fe,error:ve}=await me.functions.invoke("compose-email",{body:{template:P,subject:(M==null?void 0:M.subject_override)??`${he||"ParkMotel"} â ${(M==null?void 0:M.label)??"Email"}`,guest_data:B?{name:B.name,email:B.email}:null,booking_data:te?{apartment:se,check_in:te.check_in,check_out:te.check_out,guest_count:te.guest_count,price:te.total_price}:null,event_data:z!=null&&z.event?{name:he||z.event.tipus,type:z.event.tipus,date_from:z.event.datum_tol??z.event.datum,date_to:z.event.datum_ig,headcount:z.event.letszam,program_items:z.programs}:null,existing_text:C==="refine"?a:void 0,action:C}});if(ve)throw ve;if(fe!=null&&fe.error)throw new Error(fe.error);fe!=null&&fe.text&&(l(fe.text),C==="generate"&&m((M==null?void 0:M.subject_override)??`${he||"ParkMotel"} â ${(M==null?void 0:M.label)??"Email"}`),t({title:C==="generate"?"Email szöveg generálva":"Szöveg finomÃtva"}))}catch(B){t({title:"AI hiba",description:(B==null?void 0:B.message)??"Ismeretlen hiba",variant:"destructive"})}finally{v(null)}},R=E=>{o(E),l(""),m(""),x(!1),s(!0)},_=async()=>{var E;if(!(!c||!a.trim())){d(!0);try{const C=c.guests,{data:O,error:B}=await me.from("emails").insert({to_email:(C==null?void 0:C.email)??"",to_name:(C==null?void 0:C.name)??null,subject:f,body_text:a,template:((E=c.email_sequences)==null?void 0:E.template)??"custom",status:"draft",guest_id:c.guest_id,booking_id:c.booking_id}).select("id").single();if(B)throw B;const{error:M}=await me.from("email_queue").update({email_id:O.id,status:"scheduled"}).eq("id",c.id);if(M)throw M;t({title:"Email jóváhagyva és ütemezve"}),s(!1),r.invalidateQueries({queryKey:["event-booker-emails",e]})}catch(C){t({title:"Mentési hiba",description:C==null?void 0:C.message,variant:"destructive"})}finally{d(!1)}}};return F?n.jsx(Pe,{className:"h-24 w-full"}):n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:"border rounded-md",style:{borderColor:"hsl(var(--rule))"},children:[n.jsxs("div",{className:"flex items-center justify-between px-4 py-3 border-b",style:{borderColor:"hsl(var(--rule))"},children:[n.jsxs("div",{className:"flex items-center gap-2",children:[n.jsx(On,{size:16,style:{color:"hsl(var(--leather))"}}),n.jsxs("h4",{className:"text-sm font-medium",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink))"},children:["Foglalók emailjei (",(w==null?void 0:w.length)??0,")"]}),S.length>0&&n.jsxs(Le,{className:"text-[0.6rem] border-0",style:{background:"#f59e0b20",color:"#d97706"},children:[S.length," jóváhagyásra vár"]})]}),S.length>1&&n.jsxs(ye,{size:"sm",className:"gap-1",style:{background:"hsl(var(--m
267ineral))",...xn},onClick:()=>ae.mutate(),disabled:ae.isPending,children:[n.jsx(ds,{size:12})," Mind jóváhagyása (",S.length,")"]})]}),w!=null&&w.length?n.jsxs("table",{className:"w-full text-sm",style:{fontFamily:"Jost, sans-serif"},children:[n.jsx("thead",{children:n.jsxs("tr",{className:"border-b",style:{borderColor:"hsl(var(--rule))"},children:[n.jsx("th",{className:"text-left px-4 py-2 font-medium",style:{color:"hsl(var(--ink-soft))",fontSize:"0.7rem"},children:"Vendég"}),n.jsx("th",{className:"text-left px-4 py-2 font-medium",style:{color:"hsl(var(--ink-soft))",fontSize:"0.7rem"},children:"Sablon"}),n.jsx("th",{className:"text-left px-4 py-2 font-medium",style:{color:"hsl(var(--ink-soft))",fontSize:"0.7rem"},children:"Ãtemezve"}),n.jsx("th",{className:"text-left px-4 py-2 font-medium",style:{color:"hsl(var(--ink-soft))",fontSize:"0.7rem"},children:"Státusz"}),n.jsx("th",{className:"px-4 py-2"})]})}),n.jsx("tbody",{children:w.map(E=>{const C=E.guests,O=E.email_sequences,B=L2[E.status]??{label:E.status,bg:"hsl(var(--muted))",fg:"hsl(var(--ink-faint))"};return n.jsxs("tr",{className:"border-b last:border-0",style:{borderColor:"hsl(var(--rule))"},children:[n.jsx("td",{className:"px-4 py-2",style:{color:"hsl(var(--ink))"},children:(C==null?void 0:C.name)??"â"}),n.jsx("td",{className:"px-4 py-2",style:{color:"hsl(var(--ink-soft))"},children:(O==null?void 0:O.label)??"â"}),n.jsx("td",{className:"px-4 py-2",style:{color:"hsl(var(--ink-soft))"},children:Qe(new Date(E.scheduled_at),"MMM d. HH:mm",{locale:Dt})}),n.jsx("td",{className:"px-4 py-2",children:n.jsx(Le,{className:"text-[0.6rem] border-0",style:{background:B.bg,color:B.fg},children:B.label})}),n.jsx("td",{className:"px-4 py-2 text-right",children:n.jsx("div",{className:"flex gap-1 justify-end",children:E.status==="pending_approval"&&n.jsxs(n.Fragment,{children:[n.jsxs(ye,{size:"sm",variant:"ghost",className:"gap-1 text-xs h-7",style:{color:"hsl(var(--leather))",fontFamily:"Jost, sans-serif"},onClick:()=>R(E),children:[n.jsx(Tt,{size:12})," AI"]}),n.jsxs(ye,{size:"sm",variant:"ghost",className:"gap-1 text-xs h-7",style:{color:"hsl(var(--mineral))",fontFamily:"Jost, sans-serif"},onClick:()=>I.mutate(E.id),disabled:I.isPending,children:[n.jsx(ds,{size:12})," Jóváhagyás"]}),n.jsx(ye,{size:"sm",variant:"ghost",className:"gap-1 text-xs h-7",style:{color:"hsl(var(--ink-faint))",fontFamily:"Jost, sans-serif"},onClick:()=>K.mutate(E.id),disabled:K.isPending,children:n.jsx(Ah,{size:12})})]})})})]},E.id)})})]}):n.jsxs("div",{className:"py-8 text-center",style:{color:"hsl(var(--ink-faint))",fontFamily:"Jost, sans-serif",fontSize:"0.85rem"},children:[n.jsx(Wl,{size:28,strokeWidth:1,className:"mx-auto mb-2",style:{color:"hsl(var(--ash))"}}),"Még nincs ütemezett email a foglalóknak. Stripe-os fizetés után automatikusan megjelennek itt."]})]}),n.jsx(Th,{open:i,onOpenChange:s,children:n.jsxs(Ch,{className:"max-w-2xl max-h-[85vh] overflow-y-auto",style:{fontFamily:"Jost, sans-serif"},children:[n.jsxs(Eh,{children:[n.jsxs(Fh,{className:"flex items-center gap-2",style:{fontFamily:"Cormorant Garamond, serif",fontWeight:300,fontSize:"1.4rem",color:"hsl(var(--mineral-d))"},children:[n.jsx(On,{size:18})," Email elÅnézet â ",((J=c==null?void 0:c.guests)==null?void 0:J.name)??"Vendég"]}),n.jsxs("p",{className:"text-xs mt-1",style:{color:"hsl(var(--ink-faint))"},children:["Sablon: ",((U=c==null?void 0:c.email_sequences)==null?void 0:U.label)??"â"]})]}),a?n.jsxs("div",{className:"space-y-4",children:[b?n.jsxs("div",{className:"space-y-2",children:[n.jsx("label",{className:"text-xs font-medium",style:{color:"hsl(var(--ink-soft))"},children:"Tárgy"}),n.jsx("input",{className:"w-full border px-3 py-2 text-sm rounded",style:{borderColor:"hsl(var(--rule))",fontFamily:"Jost, sans-serif"},value:f,onChange:E=>m(E.target.value)}),n.jsx("label",{className:"text-xs font-medium",style:{color:"hsl(var(--ink-soft))"},children:"Szövegtörzs"}),n.jsx(Nt,{className:"min-h-[200px] text-sm",style:{fontFamily:"EB Garamond, serif",lineHeight:1.7},value:a,onChange:E=>l(E.target.value)})]}):n.jsx(wh,{subject:f,bodyText:a,toName:(A=c==null?void 0:c.guests)==null?void 0:A.name}),n.jsxs("div",{className:"flex flex-wrap gap-2",children:[n.jsx(ye,{variant:"outline",size:"sm",onClick:()=>x(!b),style:xn,children:b?n.jsxs(n.Fragment,{children:[n.jsx(bs,{size:13})," ElÅnézet"]}):n.jsxs(n.Fragment,{children:[n.jsx(us,{size:13})," Szerkesztés"]})}),n.jsxs(ye,{variant:"outline",size:"sm",onClick:()=>c&&j(c,"generate"),disabled:!!p,style:xn,children:[n.jsx(Tt,{size:13,className:p==="generate"?"animate-pulse":""}),p==="generate"?"Generálásâ¦":"Ãjragenerálás"]}),n.jsxs(ye,{variant:"outline",size:"sm",onClick:()=>c&&j(c,"refine"),disabled:!!p||!a.trim(),style:xn,children:[n.jsx(us,{size:13,className:p==="refine"?"animate-pulse":""}),p==="refine"?"FinomÃtásâ¦":"AI finomÃtás"]})]})]}):n.jsxs("div",{className:"py-10 text-center space-y-4",children:[n.jsx(Tt,{size:32,className:"mx-auto",style:{color:"hsl(var(--leather))"}}),n.jsx("p",{style:{color:"hsl(var(--ink-soft))",fontSize:"0.9rem"},children:"Nyomd meg az AI generálás gombot, hogy a rendszer összegyűjtse a vendég, foglalás és rendezvény adatokat, majd elkészÃtse az emailt."}),n.jsxs(ye,{onClick:()=>
267c&&j(c,"generate"),disabled:!!p,style:{background:"hsl(var(--mineral))",color:"white",...xn,padding:"10px 24px"},children:[n.jsx(Tt,{size:14,className:p==="generate"?"animate-pulse":""}),p==="generate"?"Generálásâ¦":"AI email generálás"]})]}),a&&n.jsxs(jh,{className:"gap-2 mt-4",children:[n.jsx(ye,{variant:"outline",onClick:()=>s(!1),style:xn,children:"Mégse"}),n.jsxs(ye,{onClick:_,disabled:u||!a.trim(),className:"gap-1",style:{background:"hsl(var(--mineral))",color:"white",...xn},children:[n.jsx($r,{size:13}),u?"Mentésâ¦":"Jóváhagyás & ütemezés"]})]})]})})]})}const q2={booking_created:"Foglaláskor",check_in:"Ãrkezéskor",check_out:"Távozáskor",midstay:"Tartózkodás közben",qr_login:"QR bejelentkezés"};function P2(){const{toast:e}=at(),t=ht(),[r,i]=be.useState(null),[s,c]=be.useState(""),[o,a]=be.useState(""),{data:l,isLoading:f}=ze({queryKey:["email-sequences-manager"],queryFn:async()=>{const{data:p,error:v}=await me.from("email_sequences").select("*").order("sort_order");if(v)throw v;return p??[]}}),m=Oe({mutationFn:async({id:p,is_active:v})=>{const{error:u}=await me.from("email_sequences").update({is_active:v}).eq("id",p);if(u)throw u},onSuccess:(p,v)=>{e({title:v.is_active?"Szekvencia aktiválva":"Szekvencia inaktiválva"}),t.invalidateQueries({queryKey:["email-sequences-manager"]})},onError:()=>e({title:"Hiba történt",variant:"destructive"})}),b=Oe({mutationFn:async({id:p,subject:v,body:u})=>{const{error:d}=await me.from("email_sequences").update({subject_override:v||null,body_override:u||null}).eq("id",p);if(d)throw d},onSuccess:()=>{e({title:"Szekvencia frissÃtve"}),i(null),t.invalidateQueries({queryKey:["email-sequences-manager"]})},onError:()=>e({title:"Hiba történt",variant:"destructive"})}),x=p=>{i(p.id),c(p.subject_override||""),a(p.body_override||"")};return f?n.jsx(Pe,{className:"h-32 w-full"}):l!=null&&l.length?n.jsxs(hr,{className:"border",style:{borderColor:"hsl(var(--rule))"},children:[n.jsxs(fr,{className:"pb-3",children:[n.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[n.jsx("span",{style:{color:"hsl(var(--leather))"},children:n.jsx(Ol,{size:18})}),n.jsx("h3",{style:{fontFamily:"'Cormorant Garamond', serif",fontWeight:300,fontSize:"1.25rem",color:"hsl(var(--mineral-d))"},children:"Automatikus email szekvencia"})]}),n.jsx("p",{className:"text-xs",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink-faint))"},children:"Kapcsold ki/be az egyes szekvenciákat, vagy Ãrd felül a tárgyat és törzset."})]}),n.jsx(pr,{className:"space-y-0 p-0",children:l.map(p=>{const v=r===p.id,u=[];return p.offset_days&&u.push(`${p.offset_days>0?"+":""}${p.offset_days} nap`),p.offset_hours&&u.push(`${p.offset_hours>0?"+":""}${p.offset_hours} óra`),n.jsxs("div",{className:"border-b last:border-0 px-4 py-3",style:{borderColor:"hsl(var(--rule))"},children:[n.jsxs("div",{className:"flex items-center gap-3",children:[n.jsx(ys,{checked:p.is_active,onCheckedChange:d=>m.mutate({id:p.id,is_active:d}),disabled:m.isPending}),n.jsxs("div",{className:"flex-1 min-w-0",children:[n.jsxs("div",{className:"flex items-center gap-2",children:[n.jsx("span",{className:"text-sm font-medium truncate",style:{fontFamily:"Jost, sans-serif",color:p.is_active?"hsl(var(--ink))":"hsl(var(--ink-faint))"},children:p.label}),p.subject_override&&n.jsx(Le,{variant:"outline",className:"text-[0.55rem]",style:{color:"hsl(var(--leather))"},children:"FelülÃrva"})]}),n.jsxs("div",{className:"flex items-center gap-3 mt-0.5",children:[n.jsx("span",{className:"text-xs",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink-faint))"},children:q2[p.trigger_event]||p.trigger_event}),n.jsx("span",{className:"text-xs",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink-faint))"},children:u.join(", ")||"Azonnal"})]})]}),n.jsx(Le,{className:"text-xs border-0 shrink-0",style:p.is_active?{background:"#22c55e20",color:"#16a34a"}:{background:"hsl(var(--muted))",color:"hsl(var(--ink-faint))"},children:p.is_active?"AktÃv":"InaktÃv"}),!v&&n.jsx(ye,{variant:"ghost",size:"sm",className:"h-7 shrink-0",style:{color:"hsl(var(--m
267ineral))"},onClick:()=>x(p),children:n.jsx(zh,{size:13})})]}),v&&n.jsxs("div",{className:"mt-3 space-y-2 pl-10",children:[n.jsxs("div",{children:[n.jsx("label",{className:"text-xs mb-1 block",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink-soft))"},children:"Tárgy felülÃrás (üresen hagyva az alap marad)"}),n.jsx(_e,{value:s,onChange:d=>c(d.target.value),placeholder:p.label,className:"text-sm",style:{fontFamily:"Jost, sans-serif"}})]}),n.jsxs("div",{children:[n.jsx("label",{className:"text-xs mb-1 block",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink-soft))"},children:"Levéltörzs felülÃrás"}),n.jsx(Nt,{value:o,onChange:d=>a(d.target.value),placeholder:"Hagyd üresen az alapértelmezett sablonhoz...",rows:4,className:"text-sm",style:{fontFamily:"Jost, sans-serif"}})]}),n.jsxs("div",{className:"flex gap-2",children:[n.jsxs(ye,{size:"sm",className:"gap-1",style:{background:"hsl(var(--mineral))",fontFamily:"Jost, sans-serif",fontSize:"0.65rem",letterSpacing:"0.12em",textTransform:"uppercase"},onClick:()=>b.mutate({id:p.id,subject:s,body:o}),disabled:b.isPending,children:[n.jsx(Qd,{size:12})," Mentés"]}),n.jsxs(ye,{size:"sm",variant:"ghost",className:"gap-1",style:{fontFamily:"Jost, sans-serif",fontSize:"0.65rem",color:"hsl(var(--ink-faint))"},onClick:()=>i(null),children:[n.jsx(Yd,{size:12})," Mégse"]})]})]})]},p.id)})})]}):null}const H2={sent:{label:"Elküldve",style:{background:"hsl(var(--mineral))",color:"#fff"}},draft:{label:"Piszkozat",style:{background:"hsl(var(--ash))",color:"hsl(var(--ink))"}},approved:{label:"Jóváhagyva",style:{background:"hsl(var(--leather))",color:"#fff"}},failed:{label:"Sikertelen",style:{background:"hsl(var(--destructive))",color:"#fff"}},skipped:{label:"Kihagyva",style:{background:"hsl(var(--ash))",color:"hsl(var(--ink))"}}};function X2({eventId:e,occurrenceId:t,kontaktEmail:r,eventNev:i,currentPipelineStatusz:s}){var J;const{toast:c}=at(),o=ht(),[a,l]=be.useState(!1),[f,m]=be.useState(null),[b,x]=be.useState(void 0),[p,v]=be.useState(null),{data:u}=ze({queryKey:["event-packages-links",e],queryFn:async()=>{const{data:U,error:A}=await me.from("event_packages").select("id, nev, slug, is_active").eq("event_id",e).order("created_at");if(A)throw A;return U??[]}}),d=(U,A)=>{const E=`${window.location.origin}/csomag/${U}`;navigator.clipboard.writeText(E),v(A),setTimeout(()=>v(null),2e3),c({title:"Link másolva!"})},{data:y,isLoading:h}=ze({queryKey:["event-emails",r],queryFn:async()=>{const{data:U,error:A}=await me.from("emails").select("id, subject, status, created_at, sent_at, template").eq("to_email",r).order("created_at",{ascending:!1}).limit(50);if(A)throw A;return U??[]}}),{data:g,isLoading:k}=ze({queryKey:["event-invite-members",e],queryFn:async()=>{const{data:U,error:A}=await me.from("event_group_members").select("id, nev, email, invite_token, created_at, group_id, event_groups!inner(nev, event_id)").eq("event_groups.event_id",e).order("created_at",{ascending:!1});if(A)throw A;return U??[]}}),w=(g==null?void 0:g.filter(U=>U.invite_token))??[],F=(g==null?void 0:g.filter(U=>U.email&&!U.invite_token))??[],z=(g==null?void 0:g.length)??0,S=async()=>{if(s==="erdeklodo"){const{data:U}=await me.from("events").select("naplo").eq("id",e).single(),A=Array.isArray(U==null?void 0:U.naplo)?[...U.naplo]:[];A.push({datum:new Date().toISOString(),szoveg:"Pipeline: ÃrdeklÅdÅ â Ajánlat küldve (automatikus â email küldve)",szerzo:"Rendszer"}),await me.from("events").update({pipeline_statusz:"ajanlat_kuldve",statusz_valtozas:new Date().toISOString(),naplo:A}).eq("id",e),o.invalidateQueries({queryKey:["event",e]}),o.invalidateQueries({queryKey:["events"]})}},I=Oe({mutationFn:async()=>{const U=F.map(async A=>{const E=crypto.randomUUID(),{error:C}=await me.from("event_group_members").update({invite_token:E}).eq("id",A.id);if(C)throw C});await Promise.all(U)},onSuccess:()=>{o.invalidateQueries({queryKey:["event-invite-members",e]}),c({title:`${F.length} meghÃvó generálva`})},onError:()=>c({title:"Hiba történt",variant:"destructive"})}),K=Oe({mutationFn:async()=>{const{error:U}=await me.from("emails").insert({to_email:r,to_name:i,subject:`EmlékeztetÅ: ${i}
267 â ParkMotel`,body_text:`Kedves ${i}! 268 269Szeretném emlékeztetni a közelgÅ rendezvényükre a ParkMotelben. 270 271Kérem, jelezze ha bármilyen kérdése van! 272 273Ãdvözlettel, 274ParkMotel csapata`,template:"custom",status:"draft"});if(U)throw U;await S()},onSuccess:()=>{o.invalidateQueries({queryKey:["event-emails",r]}),c({title:"EmlékeztetÅ piszkozat létrehozva"})},onError:()=>c({title:"Hiba történt",variant:"destructive"})}),ae=Oe({mutationFn:async()=>{const{data:U}=await me.from("event_program_items").select("cim, kezdes, helyszin, nap_szama").eq("event_id",e).order("nap_szama").order("kezdes");let A=`Kedves ${i}! 275 276Ãme a rendezvény aktuális programja: 277 278`;if(U!=null&&U.length){let C=0;for(const O of U){O.nap_szama&&O.nap_szama!==C&&(C=O.nap_szama,A+=`--- ${C}. nap --- 279`);const B=Qe(new Date(O.kezdes),"HH:mm");A+=`${B} â ${O.cim}${O.helyszin?` (${O.helyszin})`:""} 280`}}else A+=`Még nincs rögzÃtett programpont. 281`;A+=` 282Ãdvözlettel, 283ParkMotel csapata`;const{error:E}=await me.from("emails").insert({to_email:r,to_name:i,subject:`Program összefoglaló: ${i}
283 â ParkMotel`,body_text:A,template:"custom",status:"draft"});if(E)throw E;await S()},onSuccess:()=>{o.invalidateQueries({queryKey:["event-emails",r]}),c({title:"Program összefoglaló piszkozat létrehozva"})},onError:()=>c({title:"Hiba történt",variant:"destructive"})}),j=()=>{x(void 0),m({to_email:r,to_name:i,template:"custom"}),l(!0)},R=U=>{x(U),m(null),l(!0)},_=(U,A)=>n.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[n.jsx("span",{style:{color:"hsl(var(--leather))"},children:U}),n.jsx("h3",{style:{fontFamily:"'Cormorant Garamond', serif",fontWeight:300,fontSize:"1.25rem",color:"hsl(var(--mineral-d))"},children:A})]});return n.jsxs("div",{className:"space-y-8 max-w-4xl",children:[n.jsxs(hr,{className:"border",style:{borderColor:"hsl(var(--rule))"},children:[n.jsxs(fr,{className:"pb-3",children:[_(n.jsx(Wh,{size:18}),"Vendég invite linkek"),k?n.jsx(Pe,{className:"h-5 w-48"}):n.jsxs("p",{className:"text-sm",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink-soft))"},children:[n.jsx("span",{style:{color:"hsl(var(--mineral))",fontWeight:500},children:w.length})," / ",z," vendégnek lett elküldve a link"]})]}),n.jsx(pr,{children:k?n.jsxs("div",{className:"space-y-2",children:[n.jsx(Pe,{className:"h-8 w-full"}),n.jsx(Pe,{className:"h-8 w-full"})]}):z===0?n.jsxs("div",{className:"py-6 text-center",style:{color:"hsl(var(--ink-faint))",fontFamily:"Jost, sans-serif",fontSize:"0.85rem"},children:[n.jsx(wr,{size:28,strokeWidth:1,className:"mx-auto mb-2",style:{color:"hsl(var(--ash))"}}),'Még nincsenek vendégek hozzáadva. A âVendégek" fülön tudsz csoportokat és tagokat létrehozni.']}):n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:"overflow-auto",children:[n.jsxs("table",{className:"w-full text-sm",style:{fontFamily:"Jost, sans-serif"},children:[n.jsx("thead",{children:n.jsxs("tr",{className:"border-b",style:{borderColor:"hsl(var(--rule))"},children:[n.jsx("th",{className:"text-left py-2 font-medium",style:{color:"hsl(var(--ink-soft))"},children:"Név"}),n.jsx("th",{className:"text-left py-2 font-medium",style:{color:"hsl(var(--ink-soft))"},children:"Email"}),n.jsx("th",{className:"text-left py-2 font-medium",style:{color:"hsl(var(--ink-soft))"},children:"Csoport"}),n.jsx("th",{className:"text-left py-2 font-medium",style:{color:"hsl(var(--ink-soft))"},children:"Státusz"})]})}),n.jsx("tbody",{children:(J=g==null?void 0:g.slice(0,20))==null?void 0:J.map(U=>{var A;return n.jsxs("tr",{className:"border-b",style:{borderColor:"hsl(var(--rule))"},children:[n.jsx("td",{className:"py-2",style:{color:"hsl(var(--ink))"},children:U.nev}),n.jsx("td",{className:"py-2",style:{color:"hsl(var(--ink-soft))"},children:U.email||"â"}),n.jsx("td",{className:"py-2",style:{color:"hsl(var(--ink-soft))"},children:(A=U.event_groups)==null?void 0:A.nev}),n.jsx("td",{className:"py-2",children:U.invite_token?n.jsx(Le,{className:"text-xs border-0",style:{background:"hsl(var(--mineral))",color:"#fff"},children:"Elküldve"}):U.email?n.jsx(Le,{className:"text-xs border-0",style:{background:"hsl(var(--leather))",color:"#fff"},children:"Hiányzik"}):n.jsx(Le,{variant:"outline",className:"text-xs",style:{color:"hsl(var(--ink-faint))"},children:"Nincs email"})})]},U.id)})})]}),((g==null?void 0:g.length)??0)>20&&n.jsxs("p",{className:"text-xs mt-2",style:{color:"hsl(var(--ink-faint))",fontFamily:"Jost, sans-serif"},children:["+ ",((g==null?void 0:g.length)??0)-20," további vendég"]})]}),F.length>0&&n.jsxs(ye,{size:"sm",className:"mt-3 gap-1",style:{background:"hsl(var(--mineral))",fontFamily:"Jost, sans-serif",fontSize:"0.7rem",letterSpacing:"0.15em",textTransform:"uppercase"},onClick:()=>I.mutate(),disabled:I.isPending,children:[n.jsx($r,{size:14}),"Küldés a hiányzóknak (",F.length,")"]})]})})]}),n.jsxs(hr,{className:"border",style:{borderColor:"hsl(var(--rule))"},children:[n.jsxs(fr,{className:"pb-3 flex flex-row items-start justify-between",children:[n.jsx("div",{children:_(n.jsx(On,{size:18}),"Küldött emailek a szervezÅnek")}),n.jsxs(ye,{size:"sm",className:"gap-1",style:{background:"hsl(var(--mineral))",fontFamily:"Jost, sans-serif",fontSize:"0.7rem",letterSpacing:"0.15em",textTransform:"uppercase"},onClick:j,children:[n.jsx(On,{size:14})," Ãj email küldése"]})]}),n.jsx(pr,{children:h?n.jsxs("div",{className:"space-y-2",children:[n.jsx(Pe,{className:"h-8 w-full"}),n.jsx(Pe,{className:"h-8 w-full"})]}):y!=null&&y.length?n.jsx("div",{className:"overflow-auto",children:n.jsxs("table",{className:"w-full text-sm",style:{fontFamily:"Jost, sans-serif"},children:[n.jsx("thead",{children:n.jsxs("tr",{className:"border-b",style:{borderColor:"hsl(var(--rule))"},children:[n.jsx("th",{className:"text-left py-2 font-medium",style:{color:"hsl(var(--ink-soft))"},children:"Tárgy"}),n.jsx("th",{className:"text-left py-2 font-medium",style:{color:"hsl(var(--ink-soft))"},children:"Dátum"}),n.jsx("th",{className:"text-left py-2 font-medium",style:{color:"hsl(var(--ink-soft))"},children:"Státusz"})]})}),n.jsx("tbody",{children:y.map(U=>{const A=H2[U.status]??{label:U.status,style:{background:"hsl(var(--ash))"}};return n.jsxs("tr",{className:"border-b cursor-pointer hover:bg-muted/40 transition-colors",style:{borderColor:"hsl(var(--rule))"},onClick:()=>R(U.id),children:[n.jsx("td",{className:"py-2",style:{color:"hsl(var(--ink))"},children:U.subject||"(nincs tárgy)"}),n.jsx("td",{className:"py-2",style:{color:"hsl(var(--ink-soft))"},children:Qe(new Date(U.created_at),"yyyy. MMM d. HH:mm",{locale:Dt})}),n.jsx("td",{className:"py-2",children:n.jsx(Le,{className:"text-xs border-0",style:A.style,children:A.label})})]},U.id)})})]})}):n.jsxs("div",{className:"py-6 text-center",style:{color:"hsl(var(--ink-faint))",fontFamily:"Jost, sans-serif",fontSize:"0.85rem"},children:[n.jsx(On,{size:28,strokeWidth:1,className:"mx-auto mb-2",style:{color:"hsl(var(--ash))"}}),"Még nem küldtél emailt a szervezÅnek."]})})]}),n.jsxs(hr,{className:"border",style:{borderColor:"hsl(var(--rule))"},children:[n.jsxs(fr,{className:"pb-3",children:[_(n.jsx(Ol,{size:18}),"Gyors üzenetek"),n.jsxs("p",{className:"text-xs",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink-faint))"},children:["Piszkozatként jönnek létre â küldés elÅtt átnézheted az Email fülön.",s==="erdeklodo"&&n.jsx("span",{style:{color:"hsl(var(--leather))"},children:' Az elsÅ email küldés automatikusan âAjánlat küldve" státuszra vált.'})]})]}),n.jsxs(pr,{className:"flex flex-wrap gap-3",children:[n.jsxs(ye,{variant:"outline",size:"sm",className:"gap-1",style:{fontFamily:"Jost, sans-serif",fontSize:"0.7rem",letterSpacing:"0.12em",textTransform:"uppercase",borderColor:"hsl(var(--m
283ineral))",color:"hsl(var(--mineral))"},onClick:()=>K.mutate(),disabled:K.isPending,children:[n.jsx(eh,{size:14})," EmlékeztetÅ küldése"]}),n.jsxs(ye,{variant:"outline",size:"sm",className:"gap-1",style:{fontFamily:"Jost, sans-serif",fontSize:"0.7rem",letterSpacing:"0.12em",textTransform:"uppercase",borderColor:"hsl(var(--mineral))",color:"hsl(var(--mineral))"},onClick:()=>ae.mutate(),disabled:ae.isPending,children:[n.jsx(mr,{size:14})," Program összefoglaló küldése"]})]})]}),n.jsx(M2,{eventId:e}),u&&u.length>0&&n.jsxs(hr,{className:"border",style:{borderColor:"hsl(var(--rule))"},children:[n.jsx(fr,{className:"pb-3",children:_(n.jsx(ls,{size:18}),"Publikus landing oldalak")}),n.jsx(pr,{className:"space-y-2",children:u.map(U=>{const A=`${window.location.origin}/csomag/${U.slug}`;return n.jsxs("div",{className:"flex items-center gap-3 p-2 rounded hover:bg-muted/40",style:{fontFamily:"Jost, sans-serif"},children:[n.jsx("span",{className:"text-sm flex-1",style:{color:"hsl(var(--ink))"},children:U.nev}),!U.is_active&&n.jsx(Le,{variant:"outline",className:"text-[10px]",style:{color:"hsl(var(--ink-faint))"},children:"InaktÃv"}),n.jsxs("code",{className:"text-xs px-2 py-1 rounded",style:{background:"hsl(var(--muted))",color:"hsl(var(--ink-soft))"},children:["/csomag/",U.slug]}),n.jsxs(ye,{variant:"ghost",size:"sm",className:"h-7 gap-1 text-xs",onClick:()=>d(U.slug,U.id),style:{color:"hsl(var(--mineral))"},children:[p===U.id?n.jsx(ds,{size:12}):n.jsx(Nh,{size:12}),p===U.id?"Másolva":"Másolás"]}),n.jsx("a",{href:A,target:"_blank",rel:"noopener noreferrer",children:n.jsxs(ye,{variant:"ghost",size:"sm",className:"h-7 gap-1 text-xs",style:{color:"hsl(var(--leather))"},children:[n.jsx(ls,{size:12})," Megnyitás"]})})]},U.id)})})]}),n.jsx(P2,{}),n.jsx(Uh,{open:a,onOpenChange:U=>{l(U),U||(x(void 0),o.invalidateQueries({queryKey:["event-emails",r]}))},emailId:b,prefill:f})]})}const V2={erdeklodo:"hsl(var(--ash))",ajanlat_kuldve:"hsl(var(--leather))",targyalas:"hsl(var(--mineral-l))",visszaigazolva:"hsl(var(--mineral))",elokeszites:"#3b82f6",aktiv:"#22c55e",utokovetes:"#f59e0b",lezarva:"hsl(var(--ash))",elveszett:"hsl(var(--destructive))"},dr={erdeklodo:"ÃrdeklÅdÅ",ajanlat_kuldve:"Ajánlat küldve",targyalas:"Tárgyalás",visszaigazolva:"Visszaigazolva",elokeszites:"ElÅkészÃtés",aktiv:"AktÃv",utokovetes:"Utókövetés",lezarva:"Lezárva",elveszett:"Elveszett"},$2={eskuvo:"EsküvÅ",csapatepito:"CsapatépÃtÅ",fesztival:"Fesztivál",konferencia:"Konferencia",egyeb:"Egyéb"};function K2(e){return e==null?"â":e.toLocaleString("hu-HU")+" Ft"}function J2(e){if(e.datum_tol){const t=Qe(new Date(e.datum_tol),"yyyy. MMM d.",{locale:Dt});if(e.datum_ig){const r=Qe(new Date(e.datum_ig),"MMM d.",{locale:Dt});return`${t} â ${r}`}return t}return Qe(new Date(e.datum),"yyyy. MMM d.",{locale:Dt})}function wb(){const{id:e}=th(),t=nh(),[r]=rh(),{toast:i}=at(),{profile:s}=ih(),c=ht(),[o,a]=be.useState(null),[l,f]=be.useState(""),[m,b]=be.useState(!1),[x,p]=be.useState(!1),[v,u]=be.useState(null),{data:d,isLoading:y}=ze({queryKey:["event",e],queryFn:async()=>{const{data:R,error:_}=await me.from("events").select("*").eq("id",e).maybeSingle();if(_)throw _;return R},enabled:!!e}),{data:h}=ze({queryKey:["event-occurrences",e],queryFn:async()=>{const{data:R,error:_}=await me.from("event_occurrences").select("*").eq("event_id",e).order("datum_tol");if(_)throw _;return R??[]},enabled:!!e});be.useEffect(()=>{h!=null&&h.length&&!v&&u(h[0].id)},[h,v]);const g=(h==null?void 0:h.find(R=>R.id===v))??null,{data:k}=ze({queryKey:["event-package-idopontok",e],queryFn:async()=>{const{data:R,error:_}=await me.from("event_packages").select("idopontok").eq("event_id",e);if(_)throw _;return(R??[]).flatMap(J=>J.idopontok||[])},enabled:!!e}),{data:w}=ze({queryKey:["event-apartments-all",e],queryFn:async()=>{const{data:R,error:_}=await me.from("event_apartments").select("apartment_id, apartments(name)").eq("event_id",e);if(_)throw _;return R??[]},enabled:!!e}),{data:F}=ze({queryKey:["event-packages-summary",e],queryFn:async()=>{const{data:R,error:_}=await me.from("event_packages").select("nev, arak, is_active").eq("event_id",e);if(_)throw _;return R??[]},enabled:!!e});be.useEffect(()=>{d&&a({id:d.id,tipus:d.tipus,datum:d.datum,datum_tol:d.datum_tol||d.datum,datum_ig:d.datum_ig||d.datum,letszam:d.letszam,kontakt_nev:d.kontakt_nev,kontakt_email:d.kontakt_email,kontakt_telefon:d.kontakt_telefon||"",pipeline_statusz:d.pipeline_statusz,ajanlat_osszeg:d.ajanlat_osszeg,bevetel_elorejelzesbe:d.bevetel_elorejelzesbe??!0,kulonleges_igenyek:d.kulonleges_igenyek||"",elveszett_ok:d.elveszett_ok||"",naplo:Array.isArray(d.naplo)?d.naplo:[],belso_csapat:Array.isArray(d.belso_csapat)?d.belso_csapat:[]})},[d]);const z=(R,_)=>a(J=>J&&{...J,[R]:_}),S=()=>
283{if(!l.trim()||!o)return;const R={datum:new Date().toISOString(),szoveg:l.trim(),szerzo:(s==null?void 0:s.display_name)||"Admin"};z("naplo",[...o.naplo,R]),f("")},I=(F??[]).filter(R=>R.is_active).reduce((R,_)=>{var A;const U=((A=(_.arak||[])[0])==null?void 0:A.ar)??0;return R+U},0),K=Oe({mutationFn:async()=>{if(!o)return;let R=o.pipeline_statusz;const _=[...o.naplo],J=new Date().toISOString().split("T")[0],U=h??[],A=U.length>0?U.reduce((fe,ve)=>ve.datum_tol<fe?ve.datum_tol:fe,U[0].datum_tol):o.datum_tol||o.datum,E=U.length>0?U.reduce((fe,ve)=>ve.datum_ig>fe?ve.datum_ig:fe,U[0].datum_ig):o.datum_ig||o.datum_tol||o.datum,C=new Date(A);C.setDate(C.getDate()-14);const O=C.toISOString().split("T")[0],B=new Date(E);B.setDate(B.getDate()+14);const M=B.toISOString().split("T")[0],P=[{from:"visszaigazolva",to:"elokeszites",condition:J>=O,reason:"14 nappal az esemény elÅtt"},{from:"elokeszites",to:"aktiv",condition:J>=A,reason:"az esemény elkezdÅdött"},{from:"aktiv",to:"utokovetes",condition:J>E,reason:"az esemény véget ért"},{from:"utokovetes",to:"lezarva",condition:J>M,reason:"14 nap telt el az esemény után"}];for(const fe of P)if(R===fe.from&&fe.condition){const ve=dr[R]||R;R=fe.to;const De=dr[R]||R;_.push({datum:new Date().toISOString(),szoveg:`Pipeline: ${ve} â ${De} (automatikus â ${fe.reason})`,szerzo:"Rendszer"})}const te=d&&d.pipeline_statusz!==R;if(te&&R!=="lezarva"){const fe=dr[d.pipeline_statusz]||d.pipeline_statusz,ve=dr[R]||R;_.push({datum:new Date().toISOString(),szoveg:`Pipeline: ${fe} â ${ve}`,szerzo:(s==null?void 0:s.display_name)||"Admin"})}const se={tipus:o.tipus,datum:o.datum_tol||o.datum,datum_tol:o.datum_tol||o.datum,datum_ig:o.datum_ig||o.datum_tol||o.datum,letszam:o.letszam,kontakt_nev:o.kontakt_nev,kontakt_email:o.kontakt_email,kontakt_telefon:o.kontakt_telefon||null,pipeline_statusz:R,ajanlat_osszeg:o.ajanlat_osszeg,kulonleges_igenyek:o.kulonleges_igenyek||null,elveszett_ok:R==="elveszett"?o.elveszett_ok:null,naplo:_,bevetel_elorejelzesbe:o.bevetel_elorejelzesbe??!0,belso_csapat:o.belso_csapat??[]},{error:he}=await me.from("events").update({...se,...te?{statusz_valtozas:new Date().toISOString()}:{}}).eq("id",e);if(he)throw he},onSuccess:()=>{c.invalidateQueries({queryKey:["event",e]}),c.invalidateQueries({queryKey:["events"]}),i({title:"Rendezvény mentve"})},onError:()=>i({title:"Hiba történt",variant:"destructive"})}),ae=Oe({mutationFn:async()=>{const{error:R}=await me.from("events").update({deleted_at:new Date().toISOString()}).eq("id",e);if(R)throw R},onSuccess:()=>{c.invalidateQueries({queryKey:["events"]}),i({title:"Rendezvény törölve"}),t("/admin/rendezvenyek")},onError:()=>i({title:"Hiba történt",variant:"destructive"})}),j=()=>{if(!o||!o.kontakt_nev||!o.kontakt_email||!o.datum_tol||!o.datum_ig||o.datum_ig<o.datum_tol||o.pipeline_statusz==="elveszett"&&!o.elveszett_ok)return;if(d&&!["visszaigazolva","elokeszites","aktiv"].includes(d.pipeline_statusz)&&["visszaigazolva","elokeszites","aktiv"].includes(o.pipeline_statusz)&&((w==null?void 0:w.length)??0)>0){p(!0);return}K.mutate()};return y?n.jsxs("div",{className:"p-6 space-y-6",children:[n.jsx(Pe,{className:"h-10 w-48"}),n.jsx(Pe,{className:"h-16 w-full"}),n.jsxs("div",{className:"flex gap-4",children:[n.jsx(Pe,{className:"h-8 w-24"}),n.jsx(Pe,{className:"h-8 w-24"}),n.jsx(Pe,{className:"h-8 w-24"})]}),n.jsx(Pe,{className:"h-64 w-full"})]}):d?o?n.jsxs("div",{className:"flex flex-col h-full",children:[n.jsxs("div",{className:"sticky top-0 z-10 border-b px-6 py-4 flex items-center gap-4 flex-wrap",style:{background:"hsl(var(--background))",borderColor:"hsl(var(--rule))"},children:[n.jsxs(ye,{variant:"ghost",size:"sm",onClick:()=>t("/admin/rendezvenyek"),className:"gap-1 mr-2",children:[n.jsx(So,{size:16})," Vissza"]}),n.jsxs("h1",{className:"text-xl flex-shrink-0",style:{fontFamily:"'Cormorant Garamond', serif",fontWeight:300,color:"hsl(var(--mineral-d))"},children:[d.kontakt_nev,n.jsxs("span",{className:"ml-2 text-base",style:{color:"hsl(var(--ink-faint))"},children:["â ",$2[d.tipus]||d.tipus]})]}),n.jsx(Le,{className:"text-xs border-0",style:{background:V2[d.pipeline_statusz]||"hsl(var(--muted))",color:["erdeklodo"].includes(d.pipeline_statusz)?"hsl(var(--ink))":"#fff"},children:dr[d.pipeline_statusz]||d.pipeline_statusz}),n.jsxs("span",{className:"flex items-center gap-1 text-sm",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink-soft))"},children:[n.jsx(Sh,{size:14})," ",J2(d)]}),n.jsxs("span",{className:"flex items-center gap-1 text-sm",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--ink-soft))"},children:[n.jsx(wr,{size:14})," ",d.letszam," fÅ"]}),n.jsxs("span",{className:"flex items-center gap-1 text-sm",style:{fontFamily:"Jost, sans-serif",color:"hsl(var(--leather))"},children:[n.jsx(Bh,{size:14})," ",K2(d.ajanlat_osszeg)]}),n.jsxs("div",{className:"ml-auto flex gap-2",children:[n.jsx(ye,{variant:"destructive",size:"sm",onClick:()=>b(!0),children:"Törlés"}
283),n.jsx(ye,{size:"sm",onClick:j,style:{background:"hsl(var(--mineral))"},children:"Mentés"})]})]}),n.jsxs("div",{className:"flex-1 overflow-auto p-6",children:[n.jsx("div",{className:"mb-4",children:n.jsx(_2,{eventId:d.id,selectedId:v,onSelect:u})}),n.jsxs(Al,{defaultValue:r.get("tab")==="csomag"?"csomag":"alap",children:[n.jsxs(zl,{className:"mb-4",style:{fontFamily:"Jost, sans-serif"},children:[n.jsx(Gt,{value:"alap",className:"text-xs",children:"Alap adatok"}),n.jsx(Gt,{value:"csapat",className:"text-xs",children:"Csapat"}),n.jsx(Gt,{value:"feladatok",className:"text-xs",children:"Feladatok"}),n.jsx(Gt,{value:"program",className:"text-xs",children:"Program"}),n.jsx(Gt,{value:"vendegek",className:"text-xs",children:"Vendégek"}),n.jsx(Gt,{value:"kommunikacio",className:"text-xs",children:"Kommunikáció"}),n.jsx(Gt,{value:"csomag",className:"text-xs",children:"Csomag & Landing"})]}),n.jsx(Zt,{value:"alap",children:n.jsx("div",{className:"max-w-2xl",children:n.jsx(j2,{form:o,set:z,newNote:l,setNewNote:f,addNote:S,packageIdopontok:k??void 0,csomagokOsszesen:I,csomagokSzama:(F??[]).filter(R=>R.is_active).length,occurrenceId:v})})}),n.jsx(Zt,{value:"csapat",children:n.jsx(A2,{eventId:d.id,occurrenceId:v,belsocsapat:o.belso_csapat??[],onBelsoChange:R=>z("belso_csapat",R)})}),n.jsx(Zt,{value:"feladatok",children:n.jsx(N2,{eventId:d.id,occurrenceId:v,eventDatum:(g==null?void 0:g.datum_tol)||o.datum,eventDatumTol:(g==null?void 0:g.datum_tol)||o.datum_tol,eventDatumIg:(g==null?void 0:g.datum_ig)||o.datum_ig,eventTipus:o.tipus,eventLetszam:o.letszam,eventKulonleges:o.kulonleges_igenyek,belsocsapat:o.belso_csapat??[]})}),n.jsx(Zt,{value:"program",children:n.jsx(R2,{eventId:d.id,occurrenceId:v,eventDatum:(g==null?void 0:g.datum_tol)||o.datum,eventDatumTol:(g==null?void 0:g.datum_tol)||o.datum_tol,eventDatumIg:(g==null?void 0:g.datum_ig)||o.datum_ig})}),n.jsx(Zt,{value:"vendegek",children:n.jsx(I2,{eventId:e,occurrenceId:v,eventNev:d.kontakt_nev,datumTol:(g==null?void 0:g.datum_tol)||d.datum_tol||d.datum})}),n.jsx(Zt,{value:"kommunikacio",children:n.jsx(X2,{eventId:e,occurrenceId:v,kontaktEmail:d.kontakt_email,eventNev:d.kontakt_nev,currentPipelineStatusz:d.pipeline_statusz})}),n.jsx(Zt,{value:"csomag",children:n.jsx(D2,{eventId:d.id,defaultPackageId:r.get("pkg")||void 0,defaultView:r.get("view")==="muszerfal"?"muszerfal":void 0})})]})]}),n.jsx(Rn,{open:m,onOpenChange:b,children:n.jsxs(In,{children:[n.jsxs(Ln,{children:[n.jsx(Mn,{children:"Biztosan törlöd?"}),n.jsx(qn,{children:"A rendezvény és minden hozzá tartozó adat véglegesen törlÅdik."})]}),n.jsxs(Pn,{children:[n.jsx(Hn,{children:"Mégse"}),n.jsx(Xn,{className:"bg-destructive text-destructive-foreground hover:bg-destructive/90",onClick:()=>ae.mutate(),children:"Törlés"})]})]})}),n.jsx(Rn,{open:x,onOpenChange:p,children:n.jsxs(In,{children:[n.jsxs(Ln,{children:[n.jsx(Mn,{style:{fontFamily:"'Cormorant Garamond', serif",fontWeight:300},children:"Rendezvény élesÃtése"}),n.jsx(qn,{asChild:!0,children:n.jsxs("div",{className:"space-y-2",style:{fontFamily:"Jost, sans-serif"},children:[n.jsx("p",{children:"Ezzel az alábbi házak lefoglalásra kerülnek a rendezvény idÅpontjára, és az árajánlat-kérÅben sem lesznek elérhetÅek:"}),n.jsx("ul",{className:"list-disc pl-5 space-y-0.5",children:w==null?void 0:w.map(R=>{var _;return n.jsx("li",{className:"text-sm",style:{color:"hsl(var(--ink))"}
283,children:((_=R.apartments)==null?void 0:_.name)||R.apartment_id},R.apartment_id)})}),n.jsxs("p",{className:"text-xs",style:{color:"hsl(var(--ink-faint))"},children:["IdÅszak: ",o==null?void 0:o.datum_tol," â ",o==null?void 0:o.datum_ig]})]})})]}),n.jsxs(Pn,{children:[n.jsx(Hn,{children:"Mégse"}),n.jsx(Xn,{style:{background:"hsl(var(--mineral))"},onClick:()=>K.mutate(),children:"MegerÅsÃtés és mentés"})]})]})})]}):null:n.jsxs("div",{className:"p-6 flex flex-col items-center justify-center gap-4 min-h-[50vh]",children:[n.jsx("p",{className:"text-lg",style:{fontFamily:"'Cormorant Garamond', serif",color:"hsl(var(--ink-soft))"},children:"Rendezvény nem található"}),n.jsxs(ye,{variant:"outline",onClick:()=>t("/admin/rendezvenyek"),className:"gap-2",children:[n.jsx(So,{size:16})," Vissza"]})]})}export{wb as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.