{"version":3,"file":"./index.bundle.js","mappings":";;;;;;;;;;;;;;;AAAwC;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,qDAAM;AACrB;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA,CAAC;AAC0B;;;;;;;;;;;;;;;;;;;ACtB2C;AACL;AACN;AAC3D;AACA,YAAY,qDAAK;AACjB,YAAY,iEAAiB;AAC7B;AACA;AACA;AACA;AACA;AACA,0CAA0C,+EAAwB;AAClE;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,8EAAgB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AAC4B;;;;;;;;;;;;;;;;;;AC9ByC;AAC1B;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ,+EAAwB;AAChC;AACA;AACA;AACA;AACA;AACA,aAAa,yDAAS;AACtB;AACA;AACA,QAAQ,+EAAwB;AAChC;AACA;AACA;AACA;AACA;AACA,aAAa,yDAAS;AACtB;AACA;AACA,QAAQ,+EAAwB;AAChC;AACA;AACA,QAAQ,+EAAwB;AAChC;AACA;AACA,6CAA6C,iBAAiB;AAC9D;AACA;AACA,CAAC;AACyB;;;;;;;;;;;;;;;;ACtC1B;AACA;AACA;AACA;AACA;AACA,CAAC,4DAA4D;AACzB;;;;;;;;;;;;;;;;;;;;ACNuB;AACH;AACM;AACJ;AAC1D;AACA;AACA,oBAAoB,+BAA+B;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB,uEAAoB;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC,mEAAe;AAC/C,+CAA+C,iEAAiB;AAChE,YAAY,6DAAW;AACvB,YAAY,uDAAS;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,mEAAe,QAAQ,mEAAe;AACrE;AACA,YAAY,6DAAW;AACvB;AACA;AACA;AACA;AACA;AACA,kEAAkE,oDAAoD;AACtH;AACA;AACA;AACA,CAAC;AACmC;;;;;;;;;;;;;;;;AChDpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AAC+B;;;;;;;;;;;;;;;;;;ACVkC;AAC1B;AACxC;AACA;AACA,oBAAoB,+EAAiB;AACrC;AACA;AACA,6BAA6B,qDAAM;AACnC,8BAA8B,qDAAM;AACpC,yCAAyC,qDAAM;AAC/C;AACA;AACA,CAAC;AAC8B;;;;;;;;;;;;;;;;;ACbS;AACxC;AACA;AACA;AACA;AACA,QAAQ,qDAAM;AACd;AACA;AACA,CAAC;AAC6B;;;;;;;;;;;;;;;;;;;;ACT6B;AACE;AACG;AACV;AACtD;AACA;AACA;AACA,IAAI,mEAAe;AACnB;AACA;AACA;AACA;AACA;AACA,4BAA4B,qEAAmB;AAC/C,8BAA8B,6EAAqB;AACnD;AACA,kCAAkC,mEAAgB;AAClD;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,SAAS;AACT;AACA,KAAK;AACL,8CAA8C,yBAAyB;AACvE;AACA;AACA;AACA;AACA;AACuC;;;;;;;;;;;;;;;;;;;;;;;AChCgC;AACZ;AACN;AACF;AACV;AACA;AACzC;AACA;AACA;AACA,gCAAgC,iDAAM,cAAc,iDAAM;AAC1D,wCAAwC;AACxC;AACA,iCAAiC;AACjC,gCAAgC;AAChC,kCAAkC;AAClC,eAAe,mEAAkB;AACjC;AACA,gBAAgB,qDAAM;AACtB;AACA;AACA;AACA,qBAAqB,6DAAe;AACpC,CAAC;AACD;AACA,yCAAyC;AACzC;AACA;AACA;AACA,QAAQ,wDAAQ;AAChB;AACA;AACA;AACA;AACA,cAAc,qDAAK;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,qDAAM;AACtB;AACA;AACA;AACA,yBAAyB,6DAAe;AACxC,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,+EAAwB;AACrC;AACA,aAAa,+EAAwB;AACrC;AACA;AACA;AACA;AACA;AAC+C;;;;;;;;;;;;;;;;;AC9EH;AAC5C;AACA,QAAQ,wDAAQ;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACiC;;;;;;;;;;;;;;;;ACbjC;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACkC;;;;;;;;;;;;;;;;;;ACfyB;AACK;AAChE;AACA,IAAI,mEAAe;AACnB;AACA;AACA;AACA;AACA,oBAAoB,6EAAqB;AACzC;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,KAAK;AACL;AAC2C;;;;;;;;;;;;;;;;;AClBgB;AAC3D;AACA,WAAW,mEAAe,sBAAsB,qCAAqC;AACrF;AACiC;;;;;;;;;;;;;;;;;ACJ0B;AAC3D;AACA,WAAW,mEAAe,sBAAsB,sCAAsC;AACtF;AACkC;;;;;;;;;;;;;;;;;;;;;ACJiB;AACU;AACF;;;;;;;;;;;;;;;;;;;ACF3D,gCAAgC;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACyD;;;;;;;;;;;;;;;;AClClD,8BAA8B;;;;;;;;;;;;;;;;ACA9B;;;;;;;;;;;;;;;;;;;;;ACAqE;AACE;AACA;AACU;AACQ;AAChG;AACA;AACA,IAAI,4GAA+B;AACnC,WAAW,wFAAqB;AAChC,gBAAgB,oGAA2B;AAC3C,QAAQ,4GAA+B;AACvC;AACA,QAAQ,0FAAsB;AAC9B,QAAQ,0FAAsB;AAC9B;AACA;AACA;AACmB;;;;;;;;;;;;;;;;ACjBnB;AACA;AACA,2BAA2B,mDAAmD,cAAc;AAC5F;AACA;AACA;AACA;AACA,uBAAuB;AACvB,2CAA2C,kBAAkB;AAC7D,gCAAgC;AAChC;AACA;AACA;AACA;AAC0B;;;;;;;;;;;;;;;;;ACdwB;AAClD;AACA,IAAI,+DAAc;AAClB;AACA,KAAK;AACL;AAC+B;;;;;;;;;;;;;;;;ACN/B;AAC2B;;;;;;;;;;;;;;;;;;;;ACDS;AACF;AAC0B;AAC5D;AACA,+BAA+B;AAC/B;AACA,uBAAuB;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sCAAsC;AACtC;AACA;AACA;AACA,kCAAkC;AAClC;AACA;AACA;AACA;AACA;AACA,QAAQ,yEAAmB;AAC3B;AACA;AACA,sCAAsC,iDAAO;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B;AAC/B,+BAA+B,2CAAM;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6CAA6C,OAAO,2CAAM,gDAAgD;AAC1G;AACA;AACA;AACA;AACA;AACA;AACA,6CAA6C,OAAO,2CAAM,mDAAmD;AAC7G;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACkC;;;;;;;;;;;;;;;;;;;;ICnGbA,GAAG;EACvB;AACD;AACA;EACC,SAAAA,IAAA,EAA6B;IAAA,IAAjBC,QAAQ,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,IAAI;IAAAG,iFAAA,OAAAL,GAAA;IAC1B,IAAI,CAACM,gBAAgB,GAAG,EAAE;IAC1B,IAAI,CAACC,cAAc,GAAG,IAAI;IAC1B,IAAI,CAACC,cAAc,G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qO,QAAQ,GAAG;EACdyhB,OAAO,EAAE,KAAK;EACdC,OAAO,EAAE,KAAK;EACd5I,QAAQ,EAAE,IAAI;EACd6I,SAAS,EAAE,GAAG;EACdC,WAAW,EAAE,EAAE;EACfC,iBAAiB,EAAE,EAAE;EACrBC,WAAW,EAAE;AACjB,CAAC;;;;;;;;;;ACRD;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;ACNA,iBAAiB,mBAAO,CAAC,yFAA6C;AACtE,0BAA0B;AAC1B,iEAAiE;AACjE;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;AACD,yIAAyI;AACzI;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wHAAwH,qBAAqB,gFAAgF,SAAS,qBAAqB,QAAQ,wBAAwB;AAC3R;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6HAA6H,qBAAqB,+FAA+F,SAAS,sBAAsB,QAAQ,wBAAwB;AAChT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,gBAAgB;;;;;;;;;;ACnEjB,iBAAiB,mBAAO,CAAC,yFAA6C;AACtE,0BAA0B;AAC1B,iEAAiE;AACjE;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,2GAA2G,mEAAmE,uBAAuB,gFAAgF,SAAS,sBAAsB,QAAQ,wBAAwB;AACpV;AACA;AACA;AACA;AACA;AACA,CAAC,gBAAgB;;;;;;;;;;AC7BjB,iBAAiB,mBAAO,CAAC,yFAA6C;AACtE,0BAA0B;AAC1B,iEAAiE;AACjE;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,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EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2CAA2C,cAAc;;;;;;;;;;;;ACvD5C;;AAEb,kBAAkB;;AAElB,aAAa,mBAAO,CAAC,wEAAU;;AAE/B,kBAAkB;AAClB;AACA;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA,QAAQ;AACR;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,oBAAoB;AACpB;;AAEA;AACA;AACA,GAAG;AACH;;AAEA;AACA,2CAA2C,cAAc;;;;;;;;;;;;ACtC5C;;AAEb,kBAAkB;AAClB;;AAEA,uCAAuC,uCAAuC;;AAE9E,aAAa,mBAAO,CAAC,wEAAU;;AAE/B,iBAAiB,mBAAO,CAAC,gFAAc;;AAEvC;;AAEA,kBAAkB;AAClB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA,qCAAqC,OAAO;AAC5C;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA,uCAAuC,UAAU;AACjD;AACA;AACA;AACA,qCAAqC,OAAO;AAC5C;AACA;AACA,QAAQ;AACR;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA;AACA;;AAEA;AACA,GAAG;AACH;;AAEA;AACA,2CAA2C,cAAc;;;;;;;;;;;;ACvG5C;;AAEb,kBAAkB;AAClB;;AAEA,uCAAuC,uCAAuC;;AAE9E,iBAAiB,mBAAO,CAAC,gFAAc;;AAEvC;;AAEA,kBAAkB;AAClB;AACA;AACA,gCAAgC,MAAM;AACtC;AACA,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;;AAEA;AACA;AACA,2CAA2C,cAAc;;;;;;;;;;;;ACrB5C;;AAEb,kBAAkB;AAClB,gCAAgC;AAChC,uBAAuB;AACvB,6BAA6B;AAC7B;;AAEA,uCAAuC,uCAAuC;;AAE9E,6BAA6B,mBAAO,CAAC,sHAA4B;;AAEjE,cAAc,mBAAO,CAAC,0EAAW;;AAEjC;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA,2CAA2C,cAAc;;;;;;;;;;;;ACxE5C;;AAEb,kBAAkB;AAClB,kBAAkB;;AAElB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2CAA2C,cAAc;;;;;;;;;;;;AClB5C;;AAEb,kBAAkB;;AAElB,aAAa,mBAAO,CAAC,uEAAS;;AAE9B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,4FAA4F,aAAa;AACzG;AACA;;AAEA,+CAA+C;AAC/C;AACA;AACA;;AAEA,kBAAkB;AAClB;AACA,2CAA2C,cAAc;;;;;;;;;;;;AC9CzD;AACa;;AAEb,kBAAkB;;AAElB,kBAAkB;AAClB;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,sCAAsC;AACtC;AACA,GAAG;;AAEH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,2CAA2C,cAAc;;;;;;;;;;;;AC7B5C;;AAEb,kBAAkB;AAClB,qBAAqB;AACrB,gBAAgB;AAChB,mBAAmB;AACnB,sBAAsB;AACtB,qBAAqB;AACrB,YAAY;AACZ;;AAEA,uCAAuC,uCAAuC;;AAE9E;;AAEA,wCAAwC,6BAA6B,cAAc,OAAO,iBAAiB,mBAAmB,uBAAuB,gFAAgF,yBAAyB;;AAE9P,aAAa,mBAAO,CAAC,uEAAS;;AAE9B;;AAEA,iBAAiB,mBAAO,CAAC,+EAAa;;AAEtC;;AAEA,YAAY,mBAAO,CAAC,qEAAQ;;AAE5B,eAAe,mBAAO,CAAC,2EAAW;;AAElC,0BAA0B,mBAAO,CAAC,mGAAuB;;AAEzD,2BAA2B,mBAAO,CAAC,uGAAyB;;AAE5D;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,+BAA+B;AAC/B;AACA;AACA;AACA;AACA;;AAEA,yCAAyC;AACzC;AACA;AACA,KAAK;;AAEL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C,OAAO;AACjD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,sBAAsB,SAAS;AAC/B;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA,6BAA6B;AAC7B;;AAEA;AACA,KAAK;AACL;AACA,+BAA+B;;AAE/B;AACA;AACA;;AAEA;AACA,2EAA2E;;AAE3E;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,yCAAyC;AACzC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,8CAA8C;AAC9C;;AAEA;AACA;;AAEA;AACA;AACA;AACA,MAAM;AACN,iEAAiE;AACjE;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,2EAA2E;;AAE3E;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+EAA+E;;AAE/E;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C;AAC1C;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA,0BAA0B,gCAAgC;AAC1D,GAAG;AACH;AACA,2CAA2C,cAAc;;;;;;;;;;;;ACnXzD;AACa;;AAEb,kBAAkB;AAClB;AACA;AACA;;AAEA;AACA;AACA;;AAEA,kBAAkB;AAClB;AACA,2CAA2C,cAAc;;;;;;;;;;;;ACd5C;;AAEb,kBAAkB;AAClB,cAAc;AACd,eAAe;AACf,wBAAwB;AACxB,eAAe;AACf,mBAAmB;AACnB,mBAAmB;AACnB,yBAAyB;AACzB;AACA,aAAa;AACb,YAAY;AACZ,YAAY;AACZ,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,kBAAkB,sBAAsB;AACxC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,kBAAkB;AACpB;AACA;AACA;AACA,kBAAkB;;AAElB;;AAEA;AACA;AACA;AACA;;AAEA,eAAe;AACf;;AAEA;AACA,sCAAsC,SAAS;AAC/C;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA,IAAI;AACJ;AACA;AACA;;AAEA;AACA,uBAAuB;AACvB;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,2CAA2C,cAAc;;;;;;;;;;;AC3HzD;AACA;AACA,gJAAoE;;;;;;;;;;;;;;;;;;;;;;ACFV;;AAE1D;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,CAAC,wBAAwB;;AAEzB,eAAe,KAAqC;AACpD;AACA,EAAE,EAAE,CAEH;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC;AAChC,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA,UAAU,KAAqC;AAC/C;AACA;AACA,sUAAsU,CAAM;AAC5U;AACA,QAAQ;AACR;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,+BAA+B,8EAAQ,GAAG;AAC1C;AACA,KAAK;AACL;;AAEA;AACA;AACA,IAAI;;;AAGJ;AACA;AACA;AACA;;AAEA,oBAAoB,8EAAQ;AAC5B;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,0CAA0C;AAC1C;;;AAGA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,2CAA2C;;;AAG3C;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mBAAmB;AACnB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA,UAAU,KAAqC;AAC/C;AACA;AACA,sUAAsU,CAAM;AAC5U;AACA,QAAQ;AACR;AACA;AACA;AACA;;AAEA,yDAAyD;AACzD;;AAEA;AACA;AACA,iDAAiD;;;AAGjD;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,+BAA+B,8EAAQ,GAAG;AAC1C;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,oBAAoB,8EAAQ;AAC5B;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,IAAI,KAAqC,+IAA+I,CAAM;;AAE9L;AACA;AACA;AACA,2CAA2C;AAC3C;;;AAGA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,IAAI,KAAqC,kJAAkJ,CAAM;;AAEjM;AACA;AACA;AACA,2CAA2C;;;AAG3C;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mBAAmB;AACnB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,4BAA4B,8EAAQ;AACpC;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,IAAI,KAAqC,+GAA+G,gBAAgB,qDAAqD,CAAM;AACnO;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,oBAAoB,8EAAQ;AAC5B;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,IAAI,KAAqC,6IAA6I,CAAM;;AAE5L;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,IAAI,KAAqC,gJAAgJ,CAAM;;AAE/L;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA,KAAK;;AAEL;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,0BAA0B;;AAE1B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,KAAK;AACL;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEuG;AACvG;;;;;;;;;;;AC5xBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA,KAAK,IAA0C;AAC/C,EAAE,oCAAO,OAAO;AAAA;AAAA;AAAA;AAAA,kGAAC;AACjB;AACA;AACA,KAAK,IAA2B;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA,SAAS,sBAAsB;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,+BAA+B,EAAE;AACjC;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,IAAI;;AAEJ;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,aAAa;AACb;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gCAAgC;AAChC;AACA;AACA;;AAEA;AACA;AACA,mEAAmE;AACnE;AACA;AACA,wCAAwC;AACxC;AACA,qEAAqE;AACrE;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,4DAA4D;AAC5D;;AAEA,UAAU,oBAAoB;AAC9B;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,QAAQ;AACR;;AAEA;;AAEA;AACA;AACA;AACA,MAAM;AACN;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;;AAEA;;AAEA;AACA;;AAEA,2BAA2B;AAC3B,CAAC;;;;;;;;;;;AClKD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA,wBAAwB,qBAAM,gBAAgB,qBAAM,IAAI,qBAAM,sBAAsB,qBAAM;;AAE1F;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,UAAU;AACrB,WAAW,QAAQ;AACnB,WAAW,QAAQ,WAAW;AAC9B,WAAW,SAAS;AACpB;AACA,WAAW,QAAQ;AACnB;AACA,WAAW,SAAS;AACpB;AACA,aAAa,UAAU;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,+CAA+C,iBAAiB;AAChE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA,oBAAoB;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACxXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,oCAAoC;;AAEpC;AACA;;AAEA;AACA,wBAAwB,qBAAM,gBAAgB,qBAAM,IAAI,qBAAM,sBAAsB,qBAAM;;AAE1F;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,aAAa,GAAG;AAChB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,aAAa,GAAG;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,WAAW,GAAG;AACd,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,aAAa,GAAG;AAChB;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,WAAW,GAAG;AACd,aAAa,QAAQ;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,aAAa,GAAG;AAChB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,WAAW,GAAG;AACd,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,GAAG;AACd,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,aAAa,GAAG;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,aAAa,GAAG;AAChB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,UAAU;AACrB,aAAa,SAAS;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,UAAU;AACrB,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA,MAAM;AACN;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,UAAU;AACrB,WAAW,UAAU;AACrB,aAAa,UAAU;AACvB;AACA;AACA,kBAAkB;AAClB,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA,kBAAkB;AAClB,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACnqBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA,wBAAwB,qBAAM,gBAAgB,qBAAM,IAAI,qBAAM,sBAAsB,qBAAM;;AAE1F;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,UAAU;AACrB,WAAW,QAAQ;AACnB,WAAW,QAAQ,WAAW;AAC9B,WAAW,SAAS;AACpB;AACA,WAAW,QAAQ;AACnB;AACA,WAAW,SAAS;AACpB;AACA,aAAa,UAAU;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,+CAA+C,iBAAiB;AAChE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,UAAU;AACrB,WAAW,QAAQ;AACnB,WAAW,QAAQ,WAAW;AAC9B,WAAW,SAAS;AACpB;AACA,WAAW,SAAS;AACpB;AACA,aAAa,UAAU;AACvB;AACA;AACA;AACA;AACA;AACA;AACA,oDAAoD,mBAAmB;AACvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA,oBAAoB;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACtbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEgD;AACS;AACrB;AACK;AACI;AACD;AACE;AACC;AACP;AACiB;AAClB;AACA;AACF;AACoB;AACb;AACD;AACC;AACC;AACC;;AAE9C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,GAAG,IAAI;AACP;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA,IAAI,oDAAS;AACb;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,QAAQ;;;AAGR;AACA;AACA;AACA,4BAA4B;;AAE5B;;AAEA;AACA;AACA;;AAEA;AACA;AACA,cAAc;AACd;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,QAAQ;AACR;AACA,QAAQ;;;AAGR,mIAAmI;;AAEnI,6DAA6D;;AAE7D,2DAA2D;;AAE3D;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,mCAAmC;AACnC,sCAAsC;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA,sCAAsC;;AAEtC;AACA;AACA;;AAEA,uBAAuB,uDAAQ;AAC/B,uBAAuB,uDAAQ;AAC/B,0BAA0B,uDAAQ;AAClC,0BAA0B,uDAAQ;AAClC;AACA,KAAK;AACL,8BAA8B,sDAAO;AACrC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA,yFAAyF,aAAa,eAAe;AACrH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,4CAA4C;;AAE5C,QAAQ,oDAAS;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,8CAA8C;;AAE9C;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA,qEAAqE;;AAErE,8DAA8D;;AAE9D;AACA;AACA,oDAAoD,oEAAc;AAClE;AACA;AACA;AACA;;AAEA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA;AACA;AACA,KAAK,GAAG;;AAER;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yEAAyE;;AAEzE;AACA;AACA;AACA;AACA,sFAAsF;;AAEtF;AACA;AACA;AACA;AACA,gCAAgC;;AAEhC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,kDAAkD;;AAElD;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA,MAAM;;;AAGN;AACA;AACA,MAAM;AACN;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,+CAA+C;;AAE/C;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA,sEAAsE;;AAEtE;AACA;AACA,QAAQ;AACR;AACA;;AAEA;;AAEA,uEAAuE;;AAEvE;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA,MAAM;AACN;AACA;AACA;;AAEA;AACA;;AAEA,8CAA8C;;AAE9C;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,MAAM;;;AAGN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;;AAEA;AACA,sEAAsE;;AAEtE;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,IAAI;AACJ;;;AAGA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;;AAEA;AACA;AACA;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AAwB,mBAAO,CAAC,mGAAmC;;AAEnE,sBAAsB,mBAAmB;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,WAAW,gBAAgB;AACjC;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AChCa;AACb,WAAW,mBAAO,CAAC,qGAAoC;AACvD,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,oBAAoB,mBAAO,CAAC,uFAA6B;AACzD,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,wBAAwB,mBAAO,CAAC,mGAAmC;AACnE,yBAAyB,mBAAO,CAAC,mGAAmC;;AAEpE;;AAEA,sBAAsB,kEAAkE;AACxF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,gBAAgB;AAC1B;AACA;AACA;AACA,4CAA4C;AAC5C;AACA,4CAA4C;AAC5C,4CAA4C;AAC5C,4CAA4C;AAC5C,4CAA4C;AAC5C,UAAU;AACV,4CAA4C;AAC5C,4CAA4C;AAC5C;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACzEa;AACb,YAAY,mBAAO,CAAC,qEAAoB;AACxC,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,iBAAiB,mBAAO,CAAC,6FAAgC;;AAEzD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA,GAAG;AACH;;;;;;;;;;;;ACnBa;AACb,YAAY,mBAAO,CAAC,qEAAoB;;AAExC;AACA;AACA;AACA;AACA,gDAAgD,WAAW;AAC3D,GAAG;AACH;;;;;;;;;;;;ACTa;AACb,gBAAgB,m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AAO,CAAC,iFAA0B;AACnD,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,sBAAsB,mBAAO,CAAC,6FAAgC;;AAE9D;AACA;;AAEA;AACA,iDAAiD,mBAAmB;;AAEpE;AACA;AACA;AACA;AACA,IAAI,gBAAgB;AACpB;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AC7Ba;AACb,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,qBAAqB,mBAAO,CAAC,2FAA+B;AAC5D,kBAAkB,gIAAqD;AACvE,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,wBAAwB,mBAAO,CAAC,mGAAmC;AACnE,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,2BAA2B,mBAAO,CAAC,yFAA8B;AACjE,aAAa,mBAAO,CAAC,2FAA+B;AACpD,0BAA0B,mBAAO,CAAC,uFAA6B;;AAE/D;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,yEAAyE,gCAAgC;AACzG,KAAK;;AAEL;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,YAAY,kBAAkB;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,YAAY,kBAAkB;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AAC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ACA;AACA,+BAA+B,MAAM,2BAA2B;AAChE;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,GAAG,KAAK,MAAM;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8CAA8C,eAAe;AAC7D,mBAAmB,2CAA2C;AAC9D,CAAC,sCAAsC;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ,EAAE;;;;;;;;;;;;ACxDW;AACb;AACA,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,6BAA6B,mBAAO,CAAC,2GAAuC;AAC5E,kBAAkB,mBAAO,CAAC,qFAA4B;AACtD,iBAAiB,mBAAO,CAAC,iFAA0B;AACnD,WAAW,mBAAO,CAAC,mEAAmB;AACtC,4BAA4B,mBAAO,CAAC,yGAAsC;AAC1E,gBAAgB,mBAAO,CAAC,+EAAyB;;AAEjD;AACA;AACA;AACA;AACA;;AAEA,qCAAqC;;AAErC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,0BAA0B;AAC1B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,gBAAgB;AACpB;AACA;AACA;AACA;AACA,kDAAkD;AAClD;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;;;;;;;;;;;;ACnFa;AACb,kBAAkB,mBAAO,CAAC,iFAA0B;AACpD,8BAA8B,mBAAO,CAAC,yGAAsC;AAC5E,2BAA2B,mBAAO,CAAC,uGAAqC;AACxE,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,sBAAsB,mBAAO,CAAC,6FAAgC;AAC9D,iBAAiB,mBAAO,CAAC,iFAA0B;;AAEnD;AACA;AACA;AACA,SAAS;AACT;A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,uBAAuB,kHAA0C;AACjE,0BAA0B,mBAAO,CAAC,+GAAyC;AAC3E,sBAAsB,mBAAO,CAAC,uGAAqC;;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,0BAA0B;AAC9C;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA,kBAAkB,mBAAmB;AACrC;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;;;;;;;;;;;ACpHa;AACb,eAAe,mBAAO,CAAC,6EAAwB;;AAE/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACjBa;AACb,YAAY,mBAAO,CAAC,qEAAoB;AACxC,aAAa,mBAAO,CAAC,uEAAqB;;AAE1C;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;;;;;;;;;;;;AC9Ba;AACb,YAAY,mBAAO,CAAC,qEAAoB;AACxC,aAAa,mBAAO,CAAC,uEAAqB;;AAE1C;AACA;;AAEA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;ACVY;AACb,YAAY,mBAAO,CAAC,qEAAoB;AACxC,aAAa,mBAAO,CAAC,uEAAqB;;AAE1C;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;;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wBAAwB,mBAAmB;AAC3C;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;AC7IY;AACb,eAAe,mBAAO,CAAC,2EAAuB;AAC9C,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,kBAAkB,mBAAO,CAAC,qGAAoC;AAC9D,qBAAqB,mBAAO,CAAC,2FAA+B;AAC5D,6BAA6B,mBAAO,CAAC,6FAAgC;AACrE,iBAAiB,mBAAO,CAAC,+EAAyB;AAClD,qBAAqB,mBAAO,CAAC,yFAA8B;AAC3D,eAAe,mBAAO,CAAC,6EAAwB;AAC/C,2BAA2B,sHAA8C;AACzE,YAAY,mBAAO,CAAC,qEAAoB;AACxC,sBAAsB,mBAAO,CAAC,2GAAuC;;AAErE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA,GAAG;AACH;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;;;;;;;;;;ACzGa;AACb;AACA,mBAAO,CAAC,qGAAoC;;;;;;;;;;;;ACF/B;AACb,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,mBAAmB,mBAAO,CAAC,qFAA4B;AACvD,4BAA4B,mBAAO,CAAC,2GAAuC;AAC3E,cAAc,mBAAO,CAAC,uF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ACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;AChBe;AACf;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;ACLiD;AAClC;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH,kBAAkB,8DAAc;AAChC;;;;;;;;;;;;;;;AChBe;AACf;AACA;;;;;;;;;;;;;;;ACFe;AACf;AACA;;;;;;;;;;;;;;;;;ACFkC;AAC6B;AAChD;AACf,eAAe,sDAAO;AACtB;AACA,IAAI;AACJ;AACA;AACA,SAAS,qEAAqB;AAC9B;;;;;;;;;;;;;;;;;ACT+C;AACE;AACjD;AACA;AACA;AACA,IAAI;AACJ;AACA,iBAAiB,6DAAa;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR,QAAQ,8DAAc;AACtB;AACA;AACA;AACA;AACA;AACA;AACe;AACf;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;ACvCe;AACf;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;ACNiD;AAClC;AACf;AACA,aAAa,8DAAc;AAC3B;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;ACPuD;AACJ;AACsB;AAClB;AACxC;AACf,SAAS,iEAAiB,SAAS,+DAAe,SAAS,0EAA0B,SAAS,iEAAiB;AAC/G;;;;;;;;;;;;;;;;ACNkC;AACnB;AACf,kBAAkB,sDAAO;AACzB;AACA;AACA;AACA,oBAAoB,sDAAO;AAC3B;AACA;AACA;AACA;;;;;;;;;;;;;;;;;ACVkC;AACS;AAC5B;AACf,UAAU,2DAAW;AACrB,qBAAqB,sDAAO;AAC5B;;;;;;;;;;;;;;;ACLe;AACf;;AAEA;AACA;AACA,IAAI;AACJ;AACA,GAAG;AACH;;;;;;;;;;;;;;;;ACRqD;AACtC;AACf;AACA,oCAAoC,gEAAgB;AACpD;AACA;AACA;AACA,sFAAsF,gEAAgB;AACtG;;;;;;UCRA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;UAEA;UACA;;;;;WCzBA;WACA;WACA;WACA,eAAe,4BAA4B;WAC3C,eAAe;WACf,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA,uDAAuD,qCAAqC,kBAAkB;WAC9G;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,sDAAsD;WACtD,sCAAsC,iEAAiE;WACvG,8DAA8D,wBAAwB,uBAAuB;WAC7G;WACA,+BAA+B;WAC/B;WACA;WACA;;;;;WCzBA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,EAAE;WACF;;;;;WCRA;WACA;WACA;WACA,8BAA8B,8XAA8X,mBAAmB,4ZAA4Z;WAC30B;;;;;WCJA;WACA;WACA;WACA;WACA,GAAG;WACH;WACA;WACA,CAAC;;;;;WCPD,8CAA8C;;;;;WCA9C;WACA;WACA;WACA;WACA,uBAAuB,4BAA4B;WACnD;WACA;WACA;WACA,iBAAiB,oBAAoB;WACrC;WACA,mGAAmG,YAAY;WAC/G;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,4CAA4C,mBAAmB;WAC/D;WACA;WACA,mEAAmE,iCAAiC;WACpG;WACA;WACA;WACA;;;;;WCzCA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;WCNA;;;;;WCAA;;WAEA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;WACA,iCAAiC;;WAEjC;WACA;WACA;WACA,KAAK;WACL,eAAe;WAC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,CAAC,EAAE;MAC1D;MACA,6LAA+E,CAACwM,IAAI,CAAC,UAAAsE,MAAM,EAAI;QAC3F3R,GAAG,CAACH,aAAa,CAAC,gBAAgB,EAAE,IAAI8R,MAAM,WAAQ,CAAC,CAAC,CAAC;MAC7D,CAAC,CAAC;IACN;IAEA3R,GAAG,CAACH,aAAa,CAAC,iBAAiB,EAAE,IAAI0U,2DAAe,CAAC,CAAC,CAAC;IAE3D1G,OAAO,CAACC,GAAG,kBAAkB,CAAC;IAC9BvQ,QAAQ,CAAC8C,IAAI,CAAC5B,SAAS,CAACG,MAAM,CAAC,mBAAmB,CAAC;EACvD,CAAC,CAAC;AACN,CAAC,EAAE,CAAC,C","sources":["webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@juggle/resize-observer/lib/DOMRectReadOnly.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@juggle/resize-observer/lib/ResizeObservation.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@juggle/resize-observer/lib/ResizeObserver.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@juggle/resize-observer/lib/ResizeObserverBoxOptions.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@juggle/resize-observer/lib/ResizeObserverController.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@juggle/resize-observer/lib/ResizeObserverDetail.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@juggle/resize-observer/lib/ResizeObserverEntry.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@juggle/resize-observer/lib/ResizeObserverSize.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@juggle/resize-observer/lib/algorithms/broadcastActiveObservations.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@juggle/resize-observer/lib/algorithms/calculateBoxSize.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@juggle/resize-observer/lib/algorithms/calculateDepthForNode.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@juggle/resize-observer/lib/algorithms/deliverResizeLoopError.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@juggle/resize-observer/lib/algorithms/gatherActiveObservationsAtDepth.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@juggle/resize-observer/lib/algorithms/hasActiveObservations.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@juggle/resize-observer/lib/algorithms/hasSkippedObservations.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@juggle/resize-observer/lib/exports/resize-observer.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@juggle/resize-observer/lib/utils/element.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@juggle/resize-observer/lib/utils/freeze.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@juggle/resize-observer/lib/utils/global.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@juggle/resize-observer/lib/utils/process.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@juggle/resize-observer/lib/utils/queueMicroTask.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@juggle/resize-observer/lib/utils/queueResizeObserver.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@juggle/resize-observer/lib/utils/resizeObservers.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@juggle/resize-observer/lib/utils/scheduler.js","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/app.js","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/controllers/accordeon/accordeon.js","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/controllers/accordeon/controller.js","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/controllers/avg.js","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/controllers/coursesOverview.js","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/controllers/filters/filter.js","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/controllers/filters/filterGroup.js","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/controllers/header.js","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/controllers/homepage.js","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/controllers/journalsOverview.js","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/controllers/landing.js","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/controllers/like.js","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/controllers/login.js","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/controllers/media.js","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/controllers/paging/pagedContainer.js","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/controllers/parallax.js","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/controllers/partlyHiddenController.js","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/controllers/polyfill.js","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/controllers/projectsOverview.js","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/controllers/share.js","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/controllers/slider.js","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/controllers/stribersOverview.js","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/controllers/tabs/controller.js","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/controllers/tabs/tabs.js","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/controllers/toast/controller.js","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/controllers/toast/toast.js","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/controllers/tooltip.js","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/elements/course.js","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/elements/customHtmlElement.js","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/elements/homepagePager.js","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/elements/journal.js","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/elements/pager.js","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/elements/project.js","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/libraries/slimmage.js","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/libraries/slimmageSettings.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/can-use-dom/index.js","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/elements/templates/course.handlebars","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/elements/templates/homepagePager.handlebars","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/elements/templates/journal.handlebars","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/elements/templates/pager.handlebars","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/elements/templates/project.handlebars","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/handlebars/dist/cjs/handlebars.runtime.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/handlebars/dist/cjs/handlebars/base.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/handlebars/dist/cjs/handlebars/decorators.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/handlebars/dist/cjs/handlebars/exception.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/handlebars/dist/cjs/handlebars/helpers.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/handlebars/dist/cjs/handlebars/helpers/each.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/handlebars/dist/cjs/handlebars/helpers/if.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/handlebars/dist/cjs/handlebars/helpers/log.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/handlebars/dist/cjs/handlebars/helpers/with.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/handlebars/dist/cjs/handlebars/internal/create-new-lookup-object.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/handlebars/dist/cjs/handlebars/logger.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/handlebars/dist/cjs/handlebars/no-conflict.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/handlebars/dist/cjs/handlebars/runtime.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/handlebars/dist/cjs/handlebars/safe-string.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/handlebars/dist/cjs/handlebars/utils.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/handlebars/runtime.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/history/index.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/js-cookie/src/js.cookie.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/lodash.debounce/index.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/lodash.memoize/index.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/lodash.throttle/index.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/simplebar/dist/simplebar.esm.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/a-callable.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/a-possible-prototype.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/add-to-unscopables.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/advance-string-index.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/an-instance.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/an-object.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/array-buffer-non-extensible.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/array-for-each.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/array-includes.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/array-iteration.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/array-method-has-species-support.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/array-method-is-strict.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/array-reduce.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/array-slice.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/array-species-constructor.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/array-species-create.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/check-correctness-of-iteration.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/classof-raw.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/classof.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/collection-weak.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/collection.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/correct-prototype-getter.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/create-iter-result-object.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/create-property-descriptor.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/define-built-in-accessor.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/define-built-in.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/define-built-ins.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/define-global-property.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/descriptors.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/document-create-element.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/dom-iterables.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/dom-token-list-prototype.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/engine-is-node.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/engine-user-agent.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/engine-v8-version.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/enum-bug-keys.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/export.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/fails.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/freezing.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/function-apply.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/function-bind-context.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/function-bind-native.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/function-call.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/function-name.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/function-uncurry-this-accessor.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/function-uncurry-this-clause.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/function-uncurry-this.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/get-built-in.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/get-iterator-method.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/get-iterator.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/get-method.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/get-substitution.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/global.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/has-own-property.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/hidden-keys.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/html.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/ie8-dom-define.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/indexed-object.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/inherit-if-required.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/inspect-source.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/internal-metadata.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/internal-state.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/is-array-iterator-method.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/is-array.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/is-callable.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/is-constructor.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/is-forced.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/is-null-or-undefined.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/is-object.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/is-possible-prototype.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/is-pure.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/is-symbol.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/iterate.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/iterator-close.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/iterator-create-constructor.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/iterator-define.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/iterators-core.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/iterators.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/length-of-array-like.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/make-built-in.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/math-trunc.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/number-parse-int.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/object-assign.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/object-create.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/object-define-properties.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/object-define-property.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/object-get-own-property-names-external.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/object-get-prototype-of.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/object-is-extensible.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/object-is-prototype-of.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/object-keys-internal.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/object-keys.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/object-set-prototype-of.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/object-to-string.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/ordinary-to-primitive.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/own-keys.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/regexp-exec-abstract.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/regexp-exec.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/regexp-flags.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/regexp-sticky-helpers.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/regexp-unsupported-dot-all.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/regexp-unsupported-ncg.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/require-object-coercible.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/set-to-string-tag.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/shared-key.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/shared-store.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/shared.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/string-multibyte.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/string-trim.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/symbol-constructor-detection.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/to-absolute-index.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/to-indexed-object.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/to-integer-or-infinity.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/to-length.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/to-object.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/to-primitive.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/to-property-key.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/to-string-tag-support.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/to-string.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/try-to-string.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/uid.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/use-symbol-as-uid.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/v8-prototype-define-bug.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/weak-map-basic-detection.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/well-known-symbol.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/internals/whitespaces.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/modules/es.array.filter.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/modules/es.array.iterator.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/modules/es.array.reduce.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/modules/es.function.name.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/modules/es.object.assign.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/modules/es.object.to-string.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/modules/es.parse-int.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/modules/es.regexp.exec.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/modules/es.string.iterator.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/modules/es.string.match.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/modules/es.string.replace.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/modules/es.weak-map.constructor.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/modules/es.weak-map.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/modules/web.dom-collections.for-each.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/core-js/modules/web.dom-collections.iterator.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@babel/runtime/helpers/esm/classCallCheck.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@babel/runtime/helpers/esm/createClass.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@babel/runtime/helpers/esm/extends.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@babel/runtime/helpers/esm/get.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@babel/runtime/helpers/esm/inherits.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@babel/runtime/helpers/esm/set.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@babel/runtime/helpers/esm/superPropBase.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@babel/runtime/helpers/esm/toPrimitive.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@babel/runtime/helpers/esm/typeof.js","webpack://@humandigital-agency/jointhestribe-frontend/./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","webpack://@humandigital-agency/jointhestribe-frontend/webpack/bootstrap","webpack://@humandigital-agency/jointhestribe-frontend/webpack/runtime/compat get default export","webpack://@humandigital-agency/jointhestribe-frontend/webpack/runtime/create fake namespace object","webpack://@humandigital-agency/jointhestribe-frontend/webpack/runtime/define property getters","webpack://@humandigital-agency/jointhestribe-frontend/webpack/runtime/ensure chunk","webpack://@humandigital-agency/jointhestribe-frontend/webpack/runtime/get javascript chunk filename","webpack://@humandigital-agency/jointhestribe-frontend/webpack/runtime/global","webpack://@humandigital-agency/jointhestribe-frontend/webpack/runtime/hasOwnProperty shorthand","webpack://@humandigital-agency/jointhestribe-frontend/webpack/runtime/load script","webpack://@humandigital-agency/jointhestribe-frontend/webpack/runtime/make namespace object","webpack://@humandigital-agency/jointhestribe-frontend/webpack/runtime/publicPath","webpack://@humandigital-agency/jointhestribe-frontend/webpack/runtime/jsonp chunk loading","webpack://@humandigital-agency/jointhestribe-frontend/./scripts/index.js"],"sourcesContent":["import { freeze } from './utils/freeze';\nvar DOMRectReadOnly = (function () {\n function DOMRectReadOnly(x, y, width, height) {\n this.x = x;\n this.y = y;\n this.width = width;\n this.height = height;\n this.top = this.y;\n this.left = this.x;\n this.bottom = this.top + this.height;\n this.right = this.left + this.width;\n return freeze(this);\n }\n DOMRectReadOnly.prototype.toJSON = function () {\n var _a = this, x = _a.x, y = _a.y, top = _a.top, right = _a.right, bottom = _a.bottom, left = _a.left, width = _a.width, height = _a.height;\n return { x: x, y: y, top: top, right: right, bottom: bottom, left: left, width: width, height: height };\n };\n DOMRectReadOnly.fromRect = function (rectangle) {\n return new DOMRectReadOnly(rectangle.x, rectangle.y, rectangle.width, rectangle.height);\n };\n return DOMRectReadOnly;\n}());\nexport { DOMRectReadOnly };\n","import { ResizeObserverBoxOptions } from './ResizeObserverBoxOptions';\nimport { calculateBoxSize } from './algorithms/calculateBoxSize';\nimport { isSVG, isReplacedElement } from './utils/element';\nvar skipNotifyOnElement = function (target) {\n return !isSVG(target)\n && !isReplacedElement(target)\n && getComputedStyle(target).display === 'inline';\n};\nvar ResizeObservation = (function () {\n function ResizeObservation(target, observedBox) {\n this.target = target;\n this.observedBox = observedBox || ResizeObserverBoxOptions.CONTENT_BOX;\n this.lastReportedSize = {\n inlineSize: 0,\n blockSize: 0\n };\n }\n ResizeObservation.prototype.isActive = function () {\n var size = calculateBoxSize(this.target, this.observedBox, true);\n if (skipNotifyOnElement(this.target)) {\n this.lastReportedSize = size;\n }\n if (this.lastReportedSize.inlineSize !== size.inlineSize\n || this.lastReportedSize.blockSize !== size.blockSize) {\n return true;\n }\n return false;\n };\n return ResizeObservation;\n}());\nexport { ResizeObservation };\n","import { ResizeObserverController } from './ResizeObserverController';\nimport { isElement } from './utils/element';\nvar ResizeObserver = (function () {\n function ResizeObserver(callback) {\n if (arguments.length === 0) {\n throw new TypeError(\"Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.\");\n }\n if (typeof callback !== 'function') {\n throw new TypeError(\"Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.\");\n }\n ResizeObserverController.connect(this, callback);\n }\n ResizeObserver.prototype.observe = function (target, options) {\n if (arguments.length === 0) {\n throw new TypeError(\"Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.\");\n }\n if (!isElement(target)) {\n throw new TypeError(\"Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element\");\n }\n ResizeObserverController.observe(this, target, options);\n };\n ResizeObserver.prototype.unobserve = function (target) {\n if (arguments.length === 0) {\n throw new TypeError(\"Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.\");\n }\n if (!isElement(target)) {\n throw new TypeError(\"Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element\");\n }\n ResizeObserverController.unobserve(this, target);\n };\n ResizeObserver.prototype.disconnect = function () {\n ResizeObserverController.disconnect(this);\n };\n ResizeObserver.toString = function () {\n return 'function ResizeObserver () { [polyfill code] }';\n };\n return ResizeObserver;\n}());\nexport { ResizeObserver };\n","var ResizeObserverBoxOptions;\n(function (ResizeObserverBoxOptions) {\n ResizeObserverBoxOptions[\"BORDER_BOX\"] = \"border-box\";\n ResizeObserverBoxOptions[\"CONTENT_BOX\"] = \"content-box\";\n ResizeObserverBoxOptions[\"DEVICE_PIXEL_CONTENT_BOX\"] = \"device-pixel-content-box\";\n})(ResizeObserverBoxOptions || (ResizeObserverBoxOptions = {}));\nexport { ResizeObserverBoxOptions };\n","import { scheduler, updateCount } from './utils/scheduler';\nimport { ResizeObservation } from './ResizeObservation';\nimport { ResizeObserverDetail } from './ResizeObserverDetail';\nimport { resizeObservers } from './utils/resizeObservers';\nvar observerMap = new WeakMap();\nvar getObservationIndex = function (observationTargets, target) {\n for (var i = 0; i < observationTargets.length; i += 1) {\n if (observationTargets[i].target === target) {\n return i;\n }\n }\n return -1;\n};\nvar ResizeObserverController = (function () {\n function ResizeObserverController() {\n }\n ResizeObserverController.connect = function (resizeObserver, callback) {\n var detail = new ResizeObserverDetail(resizeObserver, callback);\n observerMap.set(resizeObserver, detail);\n };\n ResizeObserverController.observe = function (resizeObserver, target, options) {\n var detail = observerMap.get(resizeObserver);\n var firstObservation = detail.observationTargets.length === 0;\n if (getObservationIndex(detail.observationTargets, target) < 0) {\n firstObservation && resizeObservers.push(detail);\n detail.observationTargets.push(new ResizeObservation(target, options && options.box));\n updateCount(1);\n scheduler.schedule();\n }\n };\n ResizeObserverController.unobserve = function (resizeObserver, target) {\n var detail = observerMap.get(resizeObserver);\n var index = getObservationIndex(detail.observationTargets, target);\n var lastObservation = detail.observationTargets.length === 1;\n if (index >= 0) {\n lastObservation && resizeObservers.splice(resizeObservers.indexOf(detail), 1);\n detail.observationTargets.splice(index, 1);\n updateCount(-1);\n }\n };\n ResizeObserverController.disconnect = function (resizeObserver) {\n var _this = this;\n var detail = observerMap.get(resizeObserver);\n detail.observationTargets.slice().forEach(function (ot) { return _this.unobserve(resizeObserver, ot.target); });\n detail.activeTargets.splice(0, detail.activeTargets.length);\n };\n return ResizeObserverController;\n}());\nexport { ResizeObserverController };\n","var ResizeObserverDetail = (function () {\n function ResizeObserverDetail(resizeObserver, callback) {\n this.activeTargets = [];\n this.skippedTargets = [];\n this.observationTargets = [];\n this.observer = resizeObserver;\n this.callback = callback;\n }\n return ResizeObserverDetail;\n}());\nexport { ResizeObserverDetail };\n","import { calculateBoxSizes } from './algorithms/calculateBoxSize';\nimport { freeze } from './utils/freeze';\nvar ResizeObserverEntry = (function () {\n function ResizeObserverEntry(target) {\n var boxes = calculateBoxSizes(target);\n this.target = target;\n this.contentRect = boxes.contentRect;\n this.borderBoxSize = freeze([boxes.borderBoxSize]);\n this.contentBoxSize = freeze([boxes.contentBoxSize]);\n this.devicePixelContentBoxSize = freeze([boxes.devicePixelContentBoxSize]);\n }\n return ResizeObserverEntry;\n}());\nexport { ResizeObserverEntry };\n","import { freeze } from './utils/freeze';\nvar ResizeObserverSize = (function () {\n function ResizeObserverSize(inlineSize, blockSize) {\n this.inlineSize = inlineSize;\n this.blockSize = blockSize;\n freeze(this);\n }\n return ResizeObserverSize;\n}());\nexport { ResizeObserverSize };\n","import { resizeObservers } from '../utils/resizeObservers';\nimport { ResizeObserverEntry } from '../ResizeObserverEntry';\nimport { calculateDepthForNode } from './calculateDepthForNode';\nimport { calculateBoxSize } from './calculateBoxSize';\nvar broadcastActiveObservations = function () {\n var shallowestDepth = Infinity;\n var callbacks = [];\n resizeObservers.forEach(function processObserver(ro) {\n if (ro.activeTargets.length === 0) {\n return;\n }\n var entries = [];\n ro.activeTargets.forEach(function processTarget(ot) {\n var entry = new ResizeObserverEntry(ot.target);\n var targetDepth = calculateDepthForNode(ot.target);\n entries.push(entry);\n ot.lastReportedSize = calculateBoxSize(ot.target, ot.observedBox);\n if (targetDepth < shallowestDepth) {\n shallowestDepth = targetDepth;\n }\n });\n callbacks.push(function resizeObserverCallback() {\n ro.callback.call(ro.observer, entries, ro.observer);\n });\n ro.activeTargets.splice(0, ro.activeTargets.length);\n });\n for (var _i = 0, callbacks_1 = callbacks; _i < callbacks_1.length; _i++) {\n var callback = callbacks_1[_i];\n callback();\n }\n return shallowestDepth;\n};\nexport { broadcastActiveObservations };\n","import { ResizeObserverBoxOptions } from '../ResizeObserverBoxOptions';\nimport { ResizeObserverSize } from '../ResizeObserverSize';\nimport { DOMRectReadOnly } from '../DOMRectReadOnly';\nimport { isSVG, isHidden } from '../utils/element';\nimport { freeze } from '../utils/freeze';\nimport { global } from '../utils/global';\nvar cache = new WeakMap();\nvar scrollRegexp = /auto|scroll/;\nvar verticalRegexp = /^tb|vertical/;\nvar IE = (/msie|trident/i).test(global.navigator && global.navigator.userAgent);\nvar parseDimension = function (pixel) { return parseFloat(pixel || '0'); };\nvar size = function (inlineSize, blockSize, switchSizes) {\n if (inlineSize === void 0) { inlineSize = 0; }\n if (blockSize === void 0) { blockSize = 0; }\n if (switchSizes === void 0) { switchSizes = false; }\n return new ResizeObserverSize((switchSizes ? blockSize : inlineSize) || 0, (switchSizes ? inlineSize : blockSize) || 0);\n};\nvar zeroBoxes = freeze({\n devicePixelContentBoxSize: size(),\n borderBoxSize: size(),\n contentBoxSize: size(),\n contentRect: new DOMRectReadOnly(0, 0, 0, 0)\n});\nvar calculateBoxSizes = function (target, forceRecalculation) {\n if (forceRecalculation === void 0) { forceRecalculation = false; }\n if (cache.has(target) && !forceRecalculation) {\n return cache.get(target);\n }\n if (isHidden(target)) {\n cache.set(target, zeroBoxes);\n return zeroBoxes;\n }\n var cs = getComputedStyle(target);\n var svg = isSVG(target) && target.ownerSVGElement && target.getBBox();\n var removePadding = !IE && cs.boxSizing === 'border-box';\n var switchSizes = verticalRegexp.test(cs.writingMode || '');\n var canScrollVertically = !svg && scrollRegexp.test(cs.overflowY || '');\n var canScrollHorizontally = !svg && scrollRegexp.test(cs.overflowX || '');\n var paddingTop = svg ? 0 : parseDimension(cs.paddingTop);\n var paddingRight = svg ? 0 : parseDimension(cs.paddingRight);\n var paddingBottom = svg ? 0 : parseDimension(cs.paddingBottom);\n var paddingLeft = svg ? 0 : parseDimension(cs.paddingLeft);\n var borderTop = svg ? 0 : parseDimension(cs.borderTopWidth);\n var borderRight = svg ? 0 : parseDimension(cs.borderRightWidth);\n var borderBottom = svg ? 0 : parseDimension(cs.borderBottomWidth);\n var borderLeft = svg ? 0 : parseDimension(cs.borderLeftWidth);\n var horizontalPadding = paddingLeft + paddingRight;\n var verticalPadding = paddingTop + paddingBottom;\n var horizontalBorderArea = borderLeft + borderRight;\n var verticalBorderArea = borderTop + borderBottom;\n var horizontalScrollbarThickness = !canScrollHorizontally ? 0 : target.offsetHeight - verticalBorderArea - target.clientHeight;\n var verticalScrollbarThickness = !canScrollVertically ? 0 : target.offsetWidth - horizontalBorderArea - target.clientWidth;\n var widthReduction = removePadding ? horizontalPadding + horizontalBorderArea : 0;\n var heightReduction = removePadding ? verticalPadding + verticalBorderArea : 0;\n var contentWidth = svg ? svg.width : parseDimension(cs.width) - widthReduction - verticalScrollbarThickness;\n var contentHeight = svg ? svg.height : parseDimension(cs.height) - heightReduction - horizontalScrollbarThickness;\n var borderBoxWidth = contentWidth + horizontalPadding + verticalScrollbarThickness + horizontalBorderArea;\n var borderBoxHeight = contentHeight + verticalPadding + horizontalScrollbarThickness + verticalBorderArea;\n var boxes = freeze({\n devicePixelContentBoxSize: size(Math.round(contentWidth * devicePixelRatio), Math.round(contentHeight * devicePixelRatio), switchSizes),\n borderBoxSize: size(borderBoxWidth, borderBoxHeight, switchSizes),\n contentBoxSize: size(contentWidth, contentHeight, switchSizes),\n contentRect: new DOMRectReadOnly(paddingLeft, paddingTop, contentWidth, contentHeight)\n });\n cache.set(target, boxes);\n return boxes;\n};\nvar calculateBoxSize = function (target, observedBox, forceRecalculation) {\n var _a = calculateBoxSizes(target, forceRecalculation), borderBoxSize = _a.borderBoxSize, contentBoxSize = _a.contentBoxSize, devicePixelContentBoxSize = _a.devicePixelContentBoxSize;\n switch (observedBox) {\n case ResizeObserverBoxOptions.DEVICE_PIXEL_CONTENT_BOX:\n return devicePixelContentBoxSize;\n case ResizeObserverBoxOptions.BORDER_BOX:\n return borderBoxSize;\n default:\n return contentBoxSize;\n }\n};\nexport { calculateBoxSize, calculateBoxSizes };\n","import { isHidden } from '../utils/element';\nvar calculateDepthForNode = function (node) {\n if (isHidden(node)) {\n return Infinity;\n }\n var depth = 0;\n var parent = node.parentNode;\n while (parent) {\n depth += 1;\n parent = parent.parentNode;\n }\n return depth;\n};\nexport { calculateDepthForNode };\n","var msg = 'ResizeObserver loop completed with undelivered notifications.';\nvar deliverResizeLoopError = function () {\n var event;\n if (typeof ErrorEvent === 'function') {\n event = new ErrorEvent('error', {\n message: msg\n });\n }\n else {\n event = document.createEvent('Event');\n event.initEvent('error', false, false);\n event.message = msg;\n }\n window.dispatchEvent(event);\n};\nexport { deliverResizeLoopError };\n","import { resizeObservers } from '../utils/resizeObservers';\nimport { calculateDepthForNode } from './calculateDepthForNode';\nvar gatherActiveObservationsAtDepth = function (depth) {\n resizeObservers.forEach(function processObserver(ro) {\n ro.activeTargets.splice(0, ro.activeTargets.length);\n ro.skippedTargets.splice(0, ro.skippedTargets.length);\n ro.observationTargets.forEach(function processTarget(ot) {\n if (ot.isActive()) {\n if (calculateDepthForNode(ot.target) > depth) {\n ro.activeTargets.push(ot);\n }\n else {\n ro.skippedTargets.push(ot);\n }\n }\n });\n });\n};\nexport { gatherActiveObservationsAtDepth };\n","import { resizeObservers } from '../utils/resizeObservers';\nvar hasActiveObservations = function () {\n return resizeObservers.some(function (ro) { return ro.activeTargets.length > 0; });\n};\nexport { hasActiveObservations };\n","import { resizeObservers } from '../utils/resizeObservers';\nvar hasSkippedObservations = function () {\n return resizeObservers.some(function (ro) { return ro.skippedTargets.length > 0; });\n};\nexport { hasSkippedObservations };\n","export { ResizeObserver } from '../ResizeObserver';\nexport { ResizeObserverEntry } from '../ResizeObserverEntry';\nexport { ResizeObserverSize } from '../ResizeObserverSize';\n","var isSVG = function (target) { return target instanceof SVGElement && 'getBBox' in target; };\nvar isHidden = function (target) {\n if (isSVG(target)) {\n var _a = target.getBBox(), width = _a.width, height = _a.height;\n return !width && !height;\n }\n var _b = target, offsetWidth = _b.offsetWidth, offsetHeight = _b.offsetHeight;\n return !(offsetWidth || offsetHeight || target.getClientRects().length);\n};\nvar isElement = function (obj) {\n var _a;\n if (obj instanceof Element) {\n return true;\n }\n var scope = (_a = obj === null || obj === void 0 ? void 0 : obj.ownerDocument) === null || _a === void 0 ? void 0 : _a.defaultView;\n return !!(scope && obj instanceof scope.Element);\n};\nvar isReplacedElement = function (target) {\n switch (target.tagName) {\n case 'INPUT':\n if (target.type !== 'image') {\n break;\n }\n case 'VIDEO':\n case 'AUDIO':\n case 'EMBED':\n case 'OBJECT':\n case 'CANVAS':\n case 'IFRAME':\n case 'IMG':\n return true;\n }\n return false;\n};\nexport { isSVG, isHidden, isElement, isReplacedElement };\n","export var freeze = function (obj) { return Object.freeze(obj); };\n","export var global = typeof window !== 'undefined' ? window : {};\n","import { hasActiveObservations } from '../algorithms/hasActiveObservations';\nimport { hasSkippedObservations } from '../algorithms/hasSkippedObservations';\nimport { deliverResizeLoopError } from '../algorithms/deliverResizeLoopError';\nimport { broadcastActiveObservations } from '../algorithms/broadcastActiveObservations';\nimport { gatherActiveObservationsAtDepth } from '../algorithms/gatherActiveObservationsAtDepth';\nvar process = function () {\n var depth = 0;\n gatherActiveObservationsAtDepth(depth);\n while (hasActiveObservations()) {\n depth = broadcastActiveObservations();\n gatherActiveObservationsAtDepth(depth);\n }\n if (hasSkippedObservations()) {\n deliverResizeLoopError();\n }\n return depth > 0;\n};\nexport { process };\n","var trigger;\nvar callbacks = [];\nvar notify = function () { return callbacks.splice(0).forEach(function (cb) { return cb(); }); };\nvar queueMicroTask = function (callback) {\n if (!trigger) {\n var toggle_1 = 0;\n var el_1 = document.createTextNode('');\n var config = { characterData: true };\n new MutationObserver(function () { return notify(); }).observe(el_1, config);\n trigger = function () { el_1.textContent = \"\".concat(toggle_1 ? toggle_1-- : toggle_1++); };\n }\n callbacks.push(callback);\n trigger();\n};\nexport { queueMicroTask };\n","import { queueMicroTask } from './queueMicroTask';\nvar queueResizeObserver = function (cb) {\n queueMicroTask(function ResizeObserver() {\n requestAnimationFrame(cb);\n });\n};\nexport { queueResizeObserver };\n","var resizeObservers = [];\nexport { resizeObservers };\n","import { process } from './process';\nimport { global } from './global';\nimport { queueResizeObserver } from './queueResizeObserver';\nvar watching = 0;\nvar isWatching = function () { return !!watching; };\nvar CATCH_PERIOD = 250;\nvar observerConfig = { attributes: true, characterData: true, childList: true, subtree: true };\nvar events = [\n 'resize',\n 'load',\n 'transitionend',\n 'animationend',\n 'animationstart',\n 'animationiteration',\n 'keyup',\n 'keydown',\n 'mouseup',\n 'mousedown',\n 'mouseover',\n 'mouseout',\n 'blur',\n 'focus'\n];\nvar time = function (timeout) {\n if (timeout === void 0) { timeout = 0; }\n return Date.now() + timeout;\n};\nvar scheduled = false;\nvar Scheduler = (function () {\n function Scheduler() {\n var _this = this;\n this.stopped = true;\n this.listener = function () { return _this.schedule(); };\n }\n Scheduler.prototype.run = function (timeout) {\n var _this = this;\n if (timeout === void 0) { timeout = CATCH_PERIOD; }\n if (scheduled) {\n return;\n }\n scheduled = true;\n var until = time(timeout);\n queueResizeObserver(function () {\n var elementsHaveResized = false;\n try {\n elementsHaveResized = process();\n }\n finally {\n scheduled = false;\n timeout = until - time();\n if (!isWatching()) {\n return;\n }\n if (elementsHaveResized) {\n _this.run(1000);\n }\n else if (timeout > 0) {\n _this.run(timeout);\n }\n else {\n _this.start();\n }\n }\n });\n };\n Scheduler.prototype.schedule = function () {\n this.stop();\n this.run();\n };\n Scheduler.prototype.observe = function () {\n var _this = this;\n var cb = function () { return _this.observer && _this.observer.observe(document.body, observerConfig); };\n document.body ? cb() : global.addEventListener('DOMContentLoaded', cb);\n };\n Scheduler.prototype.start = function () {\n var _this = this;\n if (this.stopped) {\n this.stopped = false;\n this.observer = new MutationObserver(this.listener);\n this.observe();\n events.forEach(function (name) { return global.addEventListener(name, _this.listener, true); });\n }\n };\n Scheduler.prototype.stop = function () {\n var _this = this;\n if (!this.stopped) {\n this.observer && this.observer.disconnect();\n events.forEach(function (name) { return global.removeEventListener(name, _this.listener, true); });\n this.stopped = true;\n }\n };\n return Scheduler;\n}());\nvar scheduler = new Scheduler();\nvar updateCount = function (n) {\n !watching && n > 0 && scheduler.start();\n watching += n;\n !watching && scheduler.stop();\n};\nexport { scheduler, updateCount };\n","export default class App {\r\n\t/**\r\n\t * @param {boolean} [autoinit=true] Initialize on creating an instance\r\n\t */\r\n\tconstructor(autoinit = true) {\r\n\t\tthis._resizeFunctions = [];\r\n\t\tthis._resizeTimeout = null;\r\n\t\tthis.resizeThrottle = false;\r\n\r\n\t\tthis._scrollFunctions = [];\r\n\t\tthis._scrollTimeout = null;\r\n\t\tthis.scrollThrottle = false;\r\n\r\n\t\tif (autoinit) {\r\n\t\t\tthis.init();\r\n\t\t}\r\n\t}\r\n\t\r\n\tinit() {\r\n\t\tthis.setEventListeners();\r\n\r\n\t\tthis.resizeAnimationPreventer();\r\n\t\tthis.detectBrowser();\r\n\r\n\t\t// Due to this having to be as exact as possible, ignore throttling\r\n\t\tconst noteHeight = () => {\r\n\t\t\tconst docEl = document.documentElement;\r\n\t\t\tdocEl.style.setProperty('--fullHeight', `${window.innerHeight}px`);\r\n\t\t};\r\n\t\twindow.addEventListener('resize', noteHeight);\r\n\t\tnoteHeight();\r\n\t}\r\n\r\n\tsetEventListeners() {\r\n\t\t// Adding passive as option to events helps with performance\r\n\t\twindow.addEventListener('resize', this.resize.bind(this), {passive: true});\r\n\t\tdocument.addEventListener('scroll', this.scroll.bind(this), { passive: true });\r\n\r\n\t\t// Custom for inputs\r\n\t\tif (document.querySelector('form .inputRow')) {\r\n document.querySelectorAll('form .inputRow input').forEach(input => {\r\n const label = input.parentNode.querySelector('label');\r\n\r\n if (input.value.length) {\r\n label.classList.add('entered');\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tinput.addEventListener('input', e => {\r\n\t\t\t\t\tif (input.value.length) {\r\n\t\t\t\t\t\tlabel.classList.add('entered');\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tlabel.classList.remove('entered');\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\r\n input.addEventListener('focus', e => {\r\n label.classList.add('active');\r\n });\r\n\r\n input.addEventListener('blur', e => {\r\n label.classList.remove('active');\r\n });\r\n });\r\n }\r\n\t}\r\n\r\n\t/**\r\n\t * @description Fires all registered events for a resize of the window\r\n\t * */\r\n\tresize() {\r\n\t\tif (this._resizeTimeout !== null) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tconst length = this._resizeFunctions.length;\r\n\t\tfor (let i = 0; i < length; i++) {\r\n\t\t\tthis._resizeFunctions[i]();\r\n\t\t}\r\n\r\n\t\tif (this.resizeThrottle) {\r\n\t\t\tthis._resizeTimeout = setTimeout(() => {\r\n\t\t\t\tthis._resizeTimeout = null;\r\n\t\t\t}, this.resizeThrottle);\r\n\t\t}\r\n\t}\r\n\r\n\t/**\r\n\t * @param {function} func Function to be called on a resize event\r\n\t */\r\n\tregisterResizeEvent(func) {\r\n\t\tthis._resizeFunctions.push(func);\r\n\t}\r\n\r\n\t/**\r\n\t * @param {function} func Function to be removed from the resize functions\r\n\t */\r\n\tunregisterResizeEvent(func) {\r\n\t\tthis._resizeFunctions.forEach((resizeFunc, index) => {\r\n\t\t\tif (resizeFunc === func) {\r\n\t\t\t\tthis._resizeFunctions.split(index, 1);\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n\r\n\t/**\r\n\t * @description Fires all registered events for a scroll event in the document\r\n\t * */\r\n\tscroll() {\r\n\t\tif (this._scrollTimeout !== null) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tconst length = this._scrollFunctions.length;\r\n\t\tfor (let i = 0; i < length; i++) {\r\n\t\t\tthis._scrollFunctions[i]();\r\n\t\t}\r\n\r\n\t\tif (this.scrollThrottle) {\r\n\t\t\tthis._scrollTimeout = setTimeout(() => {\r\n\t\t\t\tthis._scrollTimeout = null;\r\n\t\t\t}, this.scrollThrottle);\r\n\t\t}\r\n\t}\r\n\r\n\t/**\r\n\t * @param {function} func Function to be called on a scroll event\r\n\t */\r\n\tregisterScrollEvent(func) {\r\n\t\tthis._scrollFunctions.push(func);\r\n\t}\r\n\r\n\t/**\r\n\t * @param {function} func Function to be removed from the scroll functions\r\n\t */\r\n\tunregisterScrollEvent(func) {\r\n\t\tthis._scrollFunctions.forEach((scrollFunc, index) => {\r\n\t\t\tif (scrollFunc === func) {\r\n\t\t\t\tthis._scrollFunctions.split(index, 1);\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n\r\n\t/**\r\n * Registers a controller to the app and makes it cross-accessible\r\n\t * @param {string} name Name the object will get in the app instance\r\n\t * @param {object} object Object to be called\r\n\t */\r\n\taddController(name, object) {\r\n\t\tthis[name] = object;\r\n\t\tthis[name].app = this;\r\n\t}\r\n\r\n\tresizeAnimationPreventer() {\r\n\t\tthis.resizeTimer = null;\r\n\t\tthis.windowWidth = window.innerWidth;\r\n\t\tthis.registerResizeEvent(() => {\r\n\t\t\tif (this.windowWidth !== window.innerWidth) {\r\n\t\t\t\tthis.windowWidth = window.innerWidth;\r\n\t\t\t\tdocument.body.classList.add('preventAnimations');\r\n\t\t\t\tclearTimeout(this.resizeTimer);\r\n\r\n\t\t\t\tthis.resizeTimer = setTimeout(() => {\r\n\t\t\t\t\tdocument.body.classList.remove('preventAnimations');\r\n\t\t\t\t}, 400);\r\n\t\t\t}\r\n\t\t});\t\r\n\t}\r\n\r\n\t/**\r\n\t * @description Appends a browser-specific class to the html tag\r\n\t */\r\n\tdetectBrowser() {\r\n\t\t// Opera 8.0+\r\n\t\tlet isOpera = (!!window.opr && !!opr.addons) || !!window.opera || navigator.userAgent.indexOf(' OPR/') >= 0;\r\n\r\n\t\t// Firefox 1.0+\r\n\t\tlet isFirefox = typeof InstallTrigger !== 'undefined';\r\n\r\n\t\t// Safari 3.0+ \"[object HTMLElementConstructor]\" \r\n\t\tlet isSafari = /constructor/i.test(window.HTMLElement) || (function (p) {\r\n\t\t\treturn p.toString() === \"[object SafariRemoteNotification]\";\r\n\t\t})(!window['safari'] || (typeof safari !== 'undefined' && safari.pushNotification));\r\n\r\n\t\t// Internet Explorer 6-11\r\n\t\tlet isIE = /*@cc_on!@*/ false || !!document.documentMode;\r\n\r\n\t\t// Edge 20+\r\n\t\tlet isEdge = !isIE && !!window.StyleMedia;\r\n\r\n\t\t// Chrome 1 - 71\r\n\t\tlet isChrome = /Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor);\r\n\r\n\t\t// Blink engine detection\r\n\t\tlet isBlink = (isChrome || isOpera) && !!window.CSS;\r\n\r\n\t\tif (isOpera) {\r\n\t\t\tdocument.documentElement.classList.add('opera');\r\n\t\t}\r\n\r\n\t\tif (isFirefox) {\r\n\t\t\tdocument.documentElement.classList.add('firefox');\r\n\t\t}\r\n\r\n\t\tif (isSafari) {\r\n\t\t\tdocument.documentElement.classList.add('safari');\r\n\t\t}\r\n\r\n\t\tif (isIE) {\r\n\t\t\tdocument.documentElement.classList.add('ie');\r\n\t\t}\r\n\r\n\t\tif (isEdge) {\r\n\t\t\tdocument.documentElement.classList.add('edge');\r\n\t\t}\r\n\r\n\t\tif (isChrome) {\r\n\t\t\tdocument.documentElement.classList.add('chrome');\r\n\t\t}\r\n\r\n\t\tif (isBlink) {\r\n\t\t\tdocument.documentElement.classList.add('blink');\r\n\t\t}\r\n\t}\r\n}","export default class Accordeon {\r\n constructor(container) {\r\n this.container = container;\r\n this.items = [];\r\n this.activeClass = 'active';\r\n this.resetClass = 'reset';\r\n\r\n this.selectors = {\r\n header: '.header',\r\n content: '.content',\r\n };\r\n }\r\n\r\n init() {\r\n this.container.querySelectorAll('li').forEach(item => this.items.push(item));\r\n\r\n this.items.forEach(item => {\r\n const content = item.querySelector(this.selectors.content);\r\n if (item.classList.contains(this.activeClass)) {\r\n // content.style.height = `${content.scrollHeight}px`;\r\n } else {\r\n content.style.height = 0;\r\n }\r\n });\r\n\r\n // Timeout to check again, in case CSS loads slower\r\n setTimeout(() => {\r\n this.items.forEach(item => {\r\n const content = item.querySelector(this.selectors.content);\r\n if (item.classList.contains(this.activeClass)) {\r\n content.style.height = `${content.scrollHeight}px`;\r\n }\r\n });\r\n }, 100);\r\n\r\n this.setEventListeners();\r\n }\r\n\r\n setEventListeners() {\r\n this.items.forEach(item => {\r\n /** @type HTMLElement */\r\n const header = item.querySelector(this.selectors.header);\r\n const content = item.querySelector(this.selectors.content);\r\n header.addEventListener('click', this.toggleItem.bind(this, item));\r\n\r\n let closeButton;\r\n if (closeButton = content.querySelector('a.close')) {\r\n closeButton.addEventListener('click', this.toggleItem.bind(this, item));\r\n }\r\n\r\n header.addEventListener('keydown', e => {\r\n switch (e.key.toLowerCase()) {\r\n case ' ':\r\n case 'enter':\r\n this.toggleItem(item);\r\n break;\r\n case 'escape':\r\n case 'esc':\r\n this.inactive(item);\r\n break;\r\n }\r\n }, true);\r\n });\r\n\r\n window.app.registerResizeEvent(this.resize.bind(this));\r\n }\r\n\r\n /**\r\n * \r\n * @param {HTMLElement} item \r\n */\r\n toggleItem(item) {\r\n \r\n\r\n if (item.classList.contains(this.activeClass)) {\r\n this.inactive(item);\r\n } else {\r\n this.active(item);\r\n }\r\n }\r\n\r\n active(item) {\r\n const header = item.querySelector(this.selectors.header);\r\n const content = item.querySelector(this.selectors.content);\r\n\r\n content.style.height = `${content.scrollHeight}px`;\r\n item.classList.add(this.activeClass);\r\n item.classList.remove(this.resetClass);\r\n\r\n header.setAttribute('aria-expanded', 'true');\r\n }\r\n\r\n inactive(item) {\r\n const header = item.querySelector(this.selectors.header);\r\n const content = item.querySelector(this.selectors.content);\r\n\r\n content.style.height = 0;\r\n item.classList.remove(this.activeClass);\r\n\r\n header.setAttribute('aria-expanded', 'false');\r\n }\r\n\r\n resize() {\r\n this.items.filter(item => !item.classList.contains(this.resetClass) && item.classList.contains(this.activeClass)).forEach(item => {\r\n const content = item.querySelector(this.selectors.content);\r\n content.style.height = 'auto';\r\n item.classList.add(this.resetClass);\r\n });\r\n }\r\n}","import Accordeon from './accordeon.js';\r\n\r\nexport default class AccordeonController {\r\n constructor() {\r\n this.selector = 'ul.accordeon, ol.accordeon';\r\n this.accordeons = [];\r\n\r\n this.init();\r\n }\r\n\r\n init() {\r\n if (document.querySelectorAll(this.selector).length) {\r\n document.querySelectorAll(this.selector).forEach(accordeonElement => {\r\n let accordeon = new Accordeon(accordeonElement);\r\n this.accordeons.push(accordeon);\r\n\r\n accordeon.init();\r\n });\r\n }\r\n }\r\n}","import Cookies from 'js-cookie';\r\n\r\nexport default class AVGController {\r\n\tconstructor() {\r\n\t\tthis.avgPermissionsCookie = Cookies.getJSON('AVGPermissions');\r\n\t\tthis.cookieBar = document.querySelector('#cookieBar');\r\n\t\twindow.dataLayer = window.dataLayer || [];\r\n\r\n\t\twindow.dataLayer.push({\r\n\t\t\t\"event\" : \"ChangeCookieChoices\",\r\n\t\t\t\"Analytics\" : this.AcceptedAnalyticsCookies,\r\n\t\t\t\"Tracking\" : this.AcceptedTrackingCookies\r\n\t\t});\r\n\r\n\t\tif(document.querySelector('form#cookieConfigure') !== null)\r\n\t\t{\r\n\t\t\tdocument.querySelector('input#Analytics').checked = this.AcceptedAnalyticsCookies;\r\n\t\t\tdocument.querySelector('input#Tracking').checked = this.AcceptedTrackingCookies;\r\n\t\t}\r\n\r\n\t\tthis.LoadAVGScripts();\r\n\t\tthis.CheckOpen();\r\n\t\tthis.SetupButtonClicks();\r\n\t}\r\n\r\n\tget AcceptedFunctionalCookies() {\r\n\t\tif (this.avgPermissionsCookie === undefined) return false;\r\n\r\n\t\treturn this.avgPermissionsCookie.Functional;\r\n\t}\r\n\r\n\tget AcceptedAnalyticsCookies() {\r\n\t\tif (this.avgPermissionsCookie === undefined) return true;\r\n\r\n\t\treturn this.avgPermissionsCookie.Analytics;\r\n\t}\r\n\r\n\tget AcceptedTrackingCookies() {\r\n\t\tif (this.avgPermissionsCookie === undefined) return false;\r\n\r\n\t\treturn this.avgPermissionsCookie.Tracking;\r\n\t}\r\n\r\n\tSetOrUpdatePermissionsCookie(functional, analytics, tracking) {\r\n\t\tthis.avgPermissionsCookie = {\r\n\t\t\tFunctional: functional,\r\n\t\t\tAnalytics: analytics,\r\n\t\t\tTracking: tracking\r\n\t\t};\r\n\r\n\t\twindow.dataLayer = window.dataLayer || [];\r\n\r\n\t\twindow.dataLayer.push({\r\n\t\t\t\"Analytics\" : this.AcceptedAnalyticsCookies,\r\n\t\t\t\"Tracking\" : this.AcceptedTrackingCookies\r\n\t\t});\r\n\r\n\t\tCookies.set('AVGPermissions', this.avgPermissionsCookie, {\r\n\t\t\texpires: 99999\r\n\t\t});\r\n\t}\r\n\r\n\tSetupButtonClicks() {\r\n\t\tif (document.querySelector('a.button.agreeCookies') !== null) {\r\n\t\t\tdocument.querySelector('a.button.agreeCookies').addEventListener('click', this.AgreeCookies.bind(this));\r\n\t\t}\r\n\t\tif (document.querySelector('form#cookieConfigure') !== null) {\r\n\t\t\tdocument.querySelector('form#cookieConfigure').addEventListener('submit', (event) => {\r\n\t\t\t\tevent.preventDefault();\r\n\t\t\t\tthis.SavePreferences();\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\r\n\tLoadAVGScripts() {\r\n\t\tdocument.querySelectorAll('noscript[data-gtm-tag]').forEach(noscript => {\r\n\t\t\tthis.LoadGoogleTagManager(noscript.dataset.gtmTag);\r\n\t\t});\r\n\t}\r\n\r\n\tLoadGoogleTagManager(gtmcode) {\r\n\t\t(function (w, d, s, l, i) {\r\n\t\t\tw[l] = w[l] || [];\r\n\t\t\tw[l].push({\r\n\t\t\t\t'gtm.start': new Date().getTime(),\r\n\t\t\t\tevent: 'gtm.js'\r\n\t\t\t});\r\n\t\t\tvar f = d.getElementsByTagName(s)[0],\r\n\t\t\t\tj = d.createElement(s),\r\n\t\t\t\tdl = l != 'dataLayer' ? '&l=' + l : '';\r\n\t\t\tj.async = true;\r\n\t\t\tj.src =\r\n\t\t\t\t'https://www.googletagmanager.com/gtm.js?id=' + i + dl;\r\n\t\t\tf.parentNode.insertBefore(j, f);\r\n\t\t})\r\n\t\t(window, document, 'script', 'dataLayer', gtmcode);\r\n\t}\r\n\r\n\tAgreeCookies() {\r\n\t\tthis.SetOrUpdatePermissionsCookie(true, true, true);\r\n\t\tlocation.reload();\r\n\t}\r\n\r\n\tCheckOpen() {\r\n\t\tif (this.avgPermissionsCookie === undefined) {\r\n\t\t\tif (document.querySelector('#cookieBar a.button.goConfigure') !== null) {\r\n\t\t\t\tif (document.querySelector('#cookieBar a.button.goConfigure').href !== document.location.toString()) {\r\n\t\t\t\t\tthis.cookieBar.classList.add('open');\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tSavePreferences() {\r\n\t\tthis.SetOrUpdatePermissionsCookie(document.getElementById(\"Functional\").checked, document.getElementById(\"Analytics\").checked, document.getElementById(\"Tracking\").checked);\r\n\t\tlet saveConfirmation = document.querySelector('form#cookieConfigure .onSaveComplete');\r\n\t\tif (saveConfirmation !== null) {\r\n\t\t\tsaveConfirmation.classList.add('success');\r\n\t\t\tsetTimeout(function () {\r\n\t\t\t\tsaveConfirmation.classList.remove('success');\r\n\t\t\t}, 1500);\r\n\t\t}\r\n\t}\r\n}","import Filter from './filters/filter';\r\nimport FilterGroup from './filters/filterGroup';\r\nimport Course from '../elements/course';\r\nimport Pager from '../elements/pager';\r\nimport {createBrowserHistory} from 'history';\r\n\r\nexport default class CoursesOverviewController {\r\n constructor() {\r\n this.filterGroup;\r\n this.dom;\r\n this.currentPage = 1;\r\n this.totalPages = 1;\r\n this.itemsPerPage = 15;\r\n this.sort = 'recent';\r\n this.api = '/umbraco/api/coursesoverview/filter';\r\n this.apiCall = null;\r\n this.apiCallAbortController = new AbortController();\r\n this.history = createBrowserHistory();\r\n this.historyListener = null;\r\n\r\n this.labels = {\r\n pagingNext: 'Volgende',\r\n pagingOf: 'van',\r\n pagingPreviousTitle: 'Ga naar de vorige pagina',\r\n pagingNextTitle: 'Ga naar de volgende pagina',\r\n courseATitle: 'Ga naar de pagina ',\r\n viewCourse: 'bekijk cursus',\r\n titleDate: 'latest projects',\r\n titleAlphabetical: 'alphabetical projects',\r\n showXFilters: '+ {0} meer',\r\n noResults: 'geen resultaten gevonden. al geprobeerd je filters aan te passen?',\r\n };\r\n \r\n if (document.body.classList.contains('coursesoverviewpage')) {\r\n this.init();\r\n }\r\n }\r\n\r\n init() {\r\n this.dom = {\r\n filtersContainer: document.querySelector('.filterContainer'),\r\n targetsContainer: document.querySelector('.targetsContainer'),\r\n pagerContainer: document.querySelector('.pagerContainer'),\r\n };\r\n\r\n const filters = [];\r\n this.dom.filtersContainer.querySelectorAll('.filterInput').forEach(filterInput => {\r\n let filter = new Filter(filterInput);\r\n filter.expandable = false;\r\n filter.additive = true;\r\n filter.init();\r\n filters.push(filter);\r\n });\r\n\r\n this.filterGroup = new FilterGroup(filters, this.dom.targetsContainer.children, {\r\n api: true\r\n });\r\n this.filterGroup.init();\r\n\r\n // Set defaults\r\n let el = document.getElementById('filterData');\r\n this.currentPage = parseInt(el.dataset.currentPage);\r\n this.totalPages = parseInt(el.dataset.totalPages);\r\n this.itemsPerPage = parseInt(el.dataset.itemsPerPage);\r\n \r\n if(el.dataset.parent){\r\n this.parent = el.dataset.parent;\r\n }\r\n\r\n // Labels\r\n if (el.dataset.pagingLabelNext) {\r\n this.labels.pagingNext = el.dataset.pagingLabelNext;\r\n }\r\n\r\n if (el.dataset.pagingLabelOf) {\r\n this.labels.pagingOf = el.dataset.pagingLabelOf;\r\n }\r\n\r\n if (el.dataset.pagingLabelPreviousTitle) {\r\n this.labels.pagingPreviousTitle = el.dataset.pagingLabelPreviousTitle;\r\n }\r\n\r\n if (el.dataset.pagingLabelNextTitle) {\r\n this.labels.pagingNextTitle = el.dataset.pagingLabelNextTitle;\r\n }\r\n\r\n if (el.dataset.courseATitle) {\r\n this.labels.courseATitle = el.dataset.courseATitle;\r\n }\r\n\r\n if(el.dataset.viewCourse){\r\n this.labels.viewCourse = el.dataset.viewCourse;\r\n }\r\n\r\n if (el.dataset.titleDate) {\r\n this.labels.titleDate = el.dataset.titleDate;\r\n }\r\n\r\n if (el.dataset.titleAlphabetical) {\r\n this.labels.titleAlphabetical = el.dataset.titleAlphabetical;\r\n }\r\n\r\n if (el.dataset.showXFilters) {\r\n this.labels.showXFilters = el.dataset.showXFilters;\r\n }\r\n\r\n if (el.dataset.noResults) {\r\n this.labels.noResults = el.dataset.noResults;\r\n }\r\n\r\n if(el.dataset.lang){\r\n this.lang = el.dataset.lang;\r\n }\r\n\r\n this.pager = new Pager({\r\n currentPage: this.currentPage,\r\n totalPages: this.totalPages,\r\n\r\n labelNext: this.labels.pagingNext,\r\n labelOf: this.labels.pagingOf,\r\n labelPreviousTitle: this.labels.pagingPreviousTitle,\r\n labelNextTitle: this.labels.pagingNextTitle,\r\n });\r\n\r\n if (this.currentPage > 1) {\r\n this.pager.previousUrl = `${location.pathname}?page=${this.currentPage - 1}`;\r\n }\r\n\r\n if (this.currentPage < this.totalPages) {\r\n this.pager.nextUrl = `${location.pathname}?page=${this.currentPage + 1}`;\r\n }\r\n\r\n // Replace pager from backend with JS-controlled one\r\n this.dom.pagerContainer.innerHTML = '';\r\n this.dom.pagerContainer.appendChild(this.pager.generate());\r\n this.pager.currentPage = this.currentPage; // Forces a recheck to enable/disable buttons in the pager\r\n\r\n this.hideXFilters();\r\n\r\n this.setEventListeners();\r\n }\r\n\r\n setEventListeners() {\r\n this.filterGroup.filters.forEach(filter => {\r\n filter.element.addEventListener('update', () => {\r\n this.currentPage = 1; // Reset paging because filters completely change the shown items in the results\r\n this.update();\r\n });\r\n });\r\n\r\n // Sort\r\n document.querySelectorAll('.sortOption input').forEach(sortInput => {\r\n sortInput.addEventListener('change', () => {\r\n this.sort = document.querySelector('.sortOption input:checked').value;\r\n this.currentPage = 1;\r\n this.update();\r\n\r\n switch (this.sort) {\r\n case 'alphabetical':\r\n document.querySelector('h1').innerHTML = this.labels.titleAlphabetical;\r\n break;\r\n\r\n case 'date':\r\n default:\r\n document.querySelector('h1').innerHTML = this.labels.titleDate;\r\n break;\r\n }\r\n });\r\n });\r\n\r\n this.pager.generate().querySelectorAll('a.next').forEach(a => {\r\n a.addEventListener('click', e => {\r\n e.preventDefault();\r\n\r\n this.currentPage++;\r\n this.update();\r\n });\r\n });\r\n\r\n this.pager.generate().querySelectorAll('a.previous').forEach(a => {\r\n a.addEventListener('click', e => {\r\n e.preventDefault();\r\n\r\n this.currentPage--;\r\n this.update();\r\n });\r\n });\r\n\r\n // Listeners for filter visibility\r\n // Mobile only: open filter popup\r\n document.querySelector('a.openFilters').addEventListener('click', e => {\r\n e.preventDefault();\r\n this.dom.filtersContainer.classList.remove('mobileHidden');\r\n });\r\n\r\n // Mobile only: close filter popup\r\n this.dom.filtersContainer.querySelector('.filterContainerClose').addEventListener('click', () => {\r\n this.dom.filtersContainer.classList.add('mobileHidden');\r\n });\r\n /* this.dom.filterContainer.querySelector('a.c2a').addEventListener('click', () => {\r\n this.filterContainer.classList.add('hidden');\r\n }); */\r\n\r\n // Mobile only: close filter popup on escape\r\n document.addEventListener('keyup', e => {\r\n if (e.keyCode === 27/* && (this.app.isXS() || this.app.isSM()) */) {\r\n this.dom.filtersContainer.classList.add('mobileHidden');\r\n }\r\n });\r\n\r\n this.filterGroup.filters.forEach(filter => {\r\n filter.dom.display.addEventListener('click', () => {\r\n filter.element.classList.toggle('expanded');\r\n });\r\n });\r\n\r\n // History\r\n this.historyListener = this.history.listen((undefined, action) => {\r\n if (action == 'POP') {\r\n if (this.getURLParameters().page) {\r\n this.currentPage = parseInt(this.getURLParameters().page);\r\n this.update(false);\r\n }\r\n }\r\n });\r\n }\r\n\r\n createList(data) {\r\n if (data.length) {\r\n data.forEach(item => {\r\n let course = new Course({\r\n title: item.Title,\r\n author: item.AuthorName,\r\n url: item.Url,\r\n date: item.CreateDate,\r\n image: item.ImageUrl,\r\n originalPrice: item.OriginalPrice,\r\n discountedPrice: item.DiscountedPrice,\r\n isDiscounted: item.DiscountedPrice != null,\r\n labelATitle: this.labels.courseATitle,\r\n viewCourse: this.labels.viewCourse\r\n });\r\n\r\n this.dom.targetsContainer.appendChild(course.generate());\r\n });\r\n\r\n window.slimmage.cr();\r\n } else {\r\n const message = document.createElement('span');\r\n message.setAttribute('style', `opacity: .9;padding: 20px 15px;`);\r\n message.innerText = this.labels.noResults || 'geen resultaten';\r\n this.dom.targetsContainer.appendChild(message);\r\n }\r\n }\r\n\r\n updatePager() {\r\n this.pager.totalPages = this.totalPages;\r\n this.pager.currentPage = this.currentPage;\r\n\r\n if (this.filterGroup.filterData.striberid) {\r\n if (this.currentPage > 1) {\r\n this.pager.previousUrl = `${location.pathname}?striber=${this.filterGroup.filterData.striberid}&page=${this.currentPage - 1}`;\r\n }\r\n \r\n if (this.currentPage < this.totalPages) {\r\n this.pager.nextUrl = `${location.pathname}?striber=${this.filterGroup.filterData.striberid}&page=${this.currentPage + 1}`;\r\n }\r\n } else {\r\n if (this.currentPage > 1) {\r\n this.pager.previousUrl = `${location.pathname}?page=${this.currentPage - 1}`;\r\n }\r\n \r\n if (this.currentPage < this.totalPages) {\r\n this.pager.nextUrl = `${location.pathname}?page=${this.currentPage + 1}`;\r\n }\r\n }\r\n }\r\n\r\n updateUrl() {\r\n let pathname = ``;\r\n if (this.filterGroup.filterData.striberid) {\r\n if (this.currentPage == 1) {\r\n pathname = `?striberid=${this.filterGroup.filterData.striberid}`;\r\n } else {\r\n pathname = `?striberid=${this.filterGroup.filterData.striberid}&page=${this.currentPage}`;\r\n }\r\n } else {\r\n if (!this.currentPage == 1) {\r\n pathname = `?page=${this.currentPage}`;\r\n }\r\n }\r\n\r\n this.history.push({pathname});\r\n \r\n }\r\n\r\n clearList() {\r\n this.dom.targetsContainer.innerHTML = '';\r\n }\r\n\r\n update(updateHistory = true) {\r\n let data = this.filterGroup.filterData;\r\n data.page = this.currentPage;\r\n data.itemsPerPage = this.itemsPerPage;\r\n data.sortOrder = this.sort;\r\n data.lang = this.lang;\r\n\r\n let queryString = '?' + Object.keys(data).map(key => {\r\n return encodeURIComponent(key) + '=' + encodeURIComponent(data[key])\r\n }).join('&');\r\n\r\n if(this.parent)\r\n {\r\n queryString += `&fromparent=${this.parent}`;\r\n }\r\n\r\n // If another call is in progress, cancel it.\r\n if (this.apiCall !== null) {\r\n this.apiCallAbortController.abort();\r\n this.apiCall = null;\r\n }\r\n\r\n this.apiCall = fetch(`${this.api}${queryString}`, {\r\n signal: this.apiCallAbortController.signal,\r\n });\r\n this.apiCall.then(response => {\r\n return response.json();\r\n }).then(result => {\r\n this.currentPage = result.CurrentPage;\r\n this.totalPages = result.TotalPages;\r\n\r\n this.clearList();\r\n this.createList(result.Data);\r\n this.updatePager();\r\n\r\n if (updateHistory) {\r\n this.updateUrl();\r\n }\r\n\r\n this.apiCall = null;\r\n }).catch(err => {\r\n console.log('Call cancelled');\r\n });\r\n }\r\n\r\n getURLParameters() {\r\n let vars = {};\r\n let parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi, function(m,key,value) {\r\n vars[key] = value;\r\n });\r\n return vars;\r\n }\r\n\r\n hideXFilters() {\r\n this.filterGroup.filters.forEach(filter => {\r\n if (filter.element.dataset.show !== undefined) {\r\n let show = parseInt(filter.element.dataset.show);\r\n\r\n let hidden = [];\r\n filter.element.querySelectorAll('ul li').forEach((listitem, index) => {\r\n if ((index + 1) > show) {\r\n // Only hide if it isn't checked\r\n if (!listitem.querySelector('input').checked) {\r\n hidden.push(listitem);\r\n }\r\n }\r\n });\r\n\r\n if (hidden.length > 1) {\r\n // Add a showAll link after the list\r\n let tempDiv = document.createElement('div');\r\n tempDiv.innerHTML = `${this.labels.showXFilters.replace('{0}', hidden.length)}`;\r\n const a = tempDiv.firstChild;\r\n a.addEventListener('click', e => {\r\n hidden.forEach(listitem => listitem.classList.remove('hidden'));\r\n a.remove();\r\n });\r\n\r\n hidden.forEach(listitem => listitem.classList.add('hidden'));\r\n\r\n filter.element.querySelector('ul').parentNode.insertBefore(a, filter.element.querySelector('ul').nextSibling);\r\n }\r\n }\r\n });\r\n }\r\n}","/**\r\n * @typedef domList\r\n * @type {Object}\r\n * @property {HTMLElement} info\r\n * @property {HTMLElement} display\r\n * @property {HTMLElement} selection\r\n * @property {HTMLElementList} inputs\r\n */\r\n\r\nexport default class Filter {\r\n /**\r\n * @param {HTMLElement} element\r\n */\r\n constructor(element = null) {\r\n this.element = element;\r\n\r\n /** @type {String} */\r\n this.name = null;\r\n\r\n /** @type {domList} */\r\n this.dom = {\r\n info: null,\r\n display: null,\r\n selection: null,\r\n };\r\n\r\n /** @type {Boolean} */\r\n this.expandable = true;\r\n\r\n /** @type {Boolean} */\r\n this.additive = false; // Additive: More selected, more results. Redactive: More selected, less results\r\n\r\n this.selectedValues = [];\r\n }\r\n\r\n init() {\r\n if (this.element) {\r\n // Build easy access properties\r\n if (this.element.querySelectorAll('.info').length) {\r\n this.dom.info = this.element.querySelector('.info');\r\n this.dom.display = this.dom.info.querySelector('.name');\r\n this.dom.selection = this.dom.info.querySelector('.selection');\r\n }\r\n\r\n this.dom.inputs = this.element.querySelectorAll('ul li input');\r\n\r\n if (this.dom.inputs.length) {\r\n // Determine filter name\r\n this.name = this.dom.inputs[0].name;\r\n\r\n this.update(false);\r\n this.setEventListeners();\r\n } else {\r\n throw Error('No inputs in filter');\r\n }\r\n } else {\r\n throw Error('No element selected');\r\n }\r\n }\r\n\r\n setEventListeners() {\r\n this.dom.inputs.forEach(input => {\r\n input.addEventListener('change', this.update.bind(this));\r\n });\r\n\r\n if (this.expandable) {\r\n if (this.dom.info) {\r\n this.dom.info.addEventListener('click', e => {\r\n e.stopPropagation();\r\n this.toggle();\r\n });\r\n }\r\n\r\n this.element.addEventListener('keydown', e => {\r\n switch (e.key.toLowerCase()) {\r\n case ' ':\r\n case 'enter':\r\n this.toggle();\r\n break;\r\n case 'escape':\r\n case 'esc':\r\n this.hide();\r\n break;\r\n }\r\n }, true);\r\n }\r\n }\r\n\r\n /**\r\n * @param {Boolean} dispatchEvent \r\n */\r\n update(dispatchEvent = true) {\r\n const selectedValues = [];\r\n\r\n // Loop through the filter's inputs to get all selected values\r\n this.dom.inputs.forEach(input => {\r\n if (input.checked) {\r\n selectedValues.push(input.value);\r\n }\r\n });\r\n this.selectedValues = selectedValues;\r\n if (dispatchEvent) {\r\n this.element.dispatchEvent(new CustomEvent('update'));\r\n }\r\n\r\n if (this.dom.info) {\r\n this.dom.selection.innerHTML = this.formattedString(true);\r\n }\r\n }\r\n\r\n get selected() {\r\n return this.selectedValues;\r\n }\r\n\r\n /**\r\n * \r\n * @param {HTMLElement} element \r\n */\r\n decide(element) {\r\n let shouldShow;\r\n if (this.additive) {\r\n shouldShow = false;\r\n } else {\r\n shouldShow = true;\r\n }\r\n\r\n if (element.hasAttribute(`data-filter-${this.name}`)) {\r\n const elementProperties = element.getAttribute(`data-filter-${this.name}`).split(',');\r\n\r\n if (this.additive) {\r\n this.selectedValues.forEach(selectedValue => {\r\n if (elementProperties.includes(selectedValue)) {\r\n shouldShow = true;\r\n }\r\n });\r\n } else {\r\n this.selectedValues.forEach(selectedValue => {\r\n if (!elementProperties.includes(selectedValue)) {\r\n shouldShow = false;\r\n }\r\n });\r\n }\r\n\r\n return shouldShow;\r\n } else {\r\n // Element doesn't have any settings for this filter, should hide either way\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @param {Boolean} labels Return labels instead of values\r\n * @returns {String}\r\n */\r\n formattedString(labels = false) {\r\n if (labels) {\r\n const labels = [];\r\n\r\n // Build a list of checked items, get their labels\r\n this.dom.inputs.forEach(input => {\r\n if (input.checked) {\r\n if (this.element.querySelector(`label[for=\"${input.id}\"]`) !== undefined) {\r\n labels.push(this.element.querySelector(`label[for=\"${input.id}\"]`).innerHTML);\r\n } else {\r\n labels.push(input.value);\r\n }\r\n }\r\n });\r\n\r\n return labels.join(', ');\r\n } else {\r\n return this.selected.join(', ');\r\n }\r\n }\r\n\r\n // Functions when filter's expandable\r\n\r\n toggle() {\r\n this.element.classList.toggle('expanded');\r\n }\r\n\r\n hide() {\r\n this.element.classList.remove('expanded');\r\n }\r\n\r\n show() {\r\n this.element.classList.add('expanded');\r\n }\r\n}","import Filter from './filter';\r\n\r\n// import Pager from './pager';\r\n\r\nexport default class FilterGroup {\r\n /**\r\n * \r\n * @param {Filter[]} filters \r\n * @param {HTMLElementList|HTMLElement[]} filterTargets \r\n * @param {String} settings.filteredClass\r\n */\r\n constructor(filters = [], filterTargets = [], settings = {}) {\r\n this.filters = filters;\r\n this.filterTargets = filterTargets;\r\n\r\n this.filterData = {};\r\n\r\n // Settings\r\n this.settings = {\r\n filteredClass: 'filtered',\r\n api: false\r\n };\r\n\r\n this.loadSettings(settings);\r\n\r\n // /** @type {Pager} */\r\n // this.pager = null;\r\n }\r\n\r\n init() {\r\n this.setEventListeners();\r\n this.updateFilterData();\r\n }\r\n\r\n setEventListeners() {\r\n this.filters.forEach(filter => {\r\n filter.element.addEventListener('update', e => {\r\n this.updateFilterData();\r\n\r\n if (!this.settings.api) {\r\n this.decideOnAllFilterTargets();\r\n }\r\n });\r\n });\r\n }\r\n\r\n updateFilterData() {\r\n this.filterData = {};\r\n this.filters.forEach(filter => {\r\n if (filter.selectedValues.length) {\r\n this.filterData[filter.name] = filter.selectedValues;\r\n }\r\n });\r\n }\r\n\r\n /**\r\n * @param {HTMLElement} filterTarget \r\n */\r\n decideOnFilterTarget(filterTarget) {\r\n const filterResults = [];\r\n\r\n // Run target by all filters that have a value set\r\n this.filters.forEach(filter => {\r\n if (filter.selectedValues.length) {\r\n filterResults.push(filter.decide(filterTarget));\r\n }\r\n });\r\n\r\n // If any filter returned false, hide it. Otherwise, show it\r\n if (filterResults.includes(false)) {\r\n filterTarget.classList.add(this.settings.filteredClass);\r\n } else {\r\n filterTarget.classList.remove(this.settings.filteredClass);\r\n }\r\n }\r\n\r\n decideOnAllFilterTargets() {\r\n this.filterTargets.forEach(target => {\r\n this.decideOnFilterTarget(target);\r\n });\r\n }\r\n\r\n loadSettings(settings) {\r\n if (Object.keys(settings).length) {\r\n Object.keys(settings).forEach(setting => {\r\n if (this.settings[setting] !== undefined) {\r\n this.settings[setting] = settings[setting];\r\n }\r\n });\r\n }\r\n }\r\n}","export default class HeaderController {\r\n\tconstructor(autoinit = true) {\r\n\t\tthis.previousScroll = 0;\r\n\t\tthis.threshold = 100;\r\n\t\tthis.headerElement = null;\r\n\t\tthis.menuButton = null;\r\n\t\tthis.lightHeader = false;\r\n\r\n\t\tif (autoinit) {\r\n\t\t\tthis.init();\r\n\t\t}\r\n\t}\r\n\r\n\tinit() {\r\n\t\tthis.headerElement = document.querySelector('header');\r\n\t\tthis.menuButton = this.headerElement.querySelector('.menuButton');\r\n\t\tthis.previousScroll = window.pageYOffset;\r\n\r\n\t\t// Register events\r\n\t\tthis.app.registerResizeEvent(this.resize.bind(this));\r\n\t\tthis.app.registerScrollEvent(this.scroll.bind(this));\r\n\r\n\t\t// Click events\r\n\t\tthis.menuButton.addEventListener('click', this.toggleMenu.bind(this));\r\n\r\n\t\tthis.headerElement.querySelectorAll('.hasSubmenu').forEach(clickable => {\r\n\t\t\tclickable.addEventListener('click', e => {\r\n\t\t\t\tclickable.classList.toggle('submenuActive');\r\n\t\t\t});\r\n\r\n\t\t\tdocument.addEventListener('click', e => {\r\n\t\t\t\tif (!clickable.parentElement.contains(e.target) && window.innerWidth >= 768) {\r\n\t\t\t\t\tclickable.classList.remove('submenuActive');\r\n\t\t\t\t}\r\n });\r\n\t\t});\r\n\t\t\r\n\t\t// Prepare for animating the menu if the user hovers over the menubutton\r\n\t\t/* this.headerElement.querySelector('div.menuButton').addEventListener('mouseenter', () => {\r\n\t\t\tdocument.getElementById('overlay').classList.add('prepareAnimation');\r\n\t\t});\r\n\t\tthis.headerElement.querySelector('div.menuButton').addEventListener('mouseleave', () => {\r\n\t\t\tdocument.getElementById('overlay').classList.remove('prepareAnimation');\r\n\t\t}); */\r\n\t}\r\n\r\n\ttoggleMenu() {\r\n\t\tthis.headerElement.classList.toggle('mobileMenuActive');\r\n\t}\r\n\r\n\tresize() {\r\n\t\tthis.previousScroll = window.pageYOffset;\r\n\t\tthis.threshold = this.headerElement.clientHeight;\r\n\r\n\t\tthis.scroll();\r\n\t}\r\n\r\n\tscroll() {\r\n\t\tif (window.pageYOffset > this.threshold) {\r\n\t\t\tif (this.previousScroll < window.pageYOffset) {\r\n\t\t\t\t// Scroll down\r\n\t\t\t\tif (!this.mobileMenuActive) {\r\n\t\t\t\t\tthis.hide();\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\t// Scroll up\r\n\t\t\t\tthis.show();\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tthis.show();\r\n\t\t}\r\n\r\n\t\tthis.previousScroll = window.pageYOffset;\r\n\t}\r\n\r\n\thide() {\r\n\t\tthis.headerElement.classList.add('hidden');\r\n\r\n\t\tthis.headerElement.querySelectorAll('.submenuActive').forEach(el => el.classList.remove('submenuActive'));\r\n\t}\r\n\r\n\tshow() {\r\n\t\tthis.headerElement.classList.remove('hidden');\r\n\t}\r\n}","import Filter from './filters/filter';\r\nimport FilterGroup from './filters/filterGroup';\r\nimport HomepagePager from '../elements/homepagePager';\r\nimport PagedContainer from './paging/pagedContainer';\r\n\r\nexport default class HomepageController {\r\n constructor() {\r\n this.productFilter;\r\n this.productFilterGroup;\r\n this.currentPage = 1;\r\n this.totalPages = 1;\r\n this.itemsPerPage = 4;\r\n\r\n\r\n if (document.body.classList.contains('homepage')) {\r\n this.init();\r\n }\r\n }\r\n\r\n init() {\r\n if (document.querySelector('.highlightedProducts .filterInput') != null) {\r\n this.productFilter = new Filter(document.querySelector('.highlightedProducts .filterInput'));\r\n this.productFilter.init();\r\n\r\n this.productFilterGroup = new FilterGroup([this.productFilter], document.querySelectorAll('.highlightedProductsList > li'), {});\r\n this.productFilterGroup.init();\r\n\r\n this.pagedContainer = new PagedContainer(document.querySelector('.highlightedProductsList'), {\r\n itemsPerPage: this.itemsPerPage,\r\n pagerContainer: document.querySelector('.highlightedProductsList + .pagerContainer'),\r\n scrollOnNewPage: false,\r\n classToSkip: 'filtered',\r\n });\r\n this.pagedContainer.pager = new HomepagePager();\r\n this.pagedContainer.init();\r\n \r\n this.setEventListeners();\r\n }\r\n }\r\n\r\n setEventListeners() {\r\n import( /* webpackChunkName: \"modules/delegate\" */ 'delegate').then(module => {\r\n this.delegate = module.default;\r\n\r\n this.delegate('.highlightedProductsList + .pagerContainer .pages li', 'click', e => {\r\n if (e.delegateTarget && e.delegateTarget.dataset.page) {\r\n this.pagedContainer.showPage(e.delegateTarget.dataset.page);\r\n }\r\n });\r\n });\r\n\r\n document.querySelector('.highlightedProducts .filterInput').addEventListener('update', e => {\r\n this.pagedContainer.showPage(1);\r\n });\r\n }\r\n}","import Filter from './filters/filter';\r\nimport FilterGroup from './filters/filterGroup';\r\nimport Journal from '../elements/journal';\r\nimport Pager from '../elements/pager';\r\nimport {createBrowserHistory} from 'history';\r\n\r\nexport default class JournalsOverviewController {\r\n constructor() {\r\n this.filterGroup;\r\n this.dom;\r\n this.currentPage = 1;\r\n this.totalPages = 1;\r\n this.itemsPerPage = 15;\r\n this.sort = 'recent';\r\n this.api = '/umbraco/api/journalsoverview/filter';\r\n this.apiCall = null;\r\n this.apiCallAbortController = new AbortController();\r\n this.history = createBrowserHistory();\r\n this.historyListener = null;\r\n\r\n this.labels = {\r\n pagingNext: 'Volgende',\r\n pagingOf: 'van',\r\n pagingPreviousTitle: 'Ga naar de vorige pagina',\r\n pagingNextTitle: 'Ga naar de volgende pagina',\r\n journalATitle: 'Ga naar de pagina ',\r\n titleDate: 'latest stories',\r\n titlePopular: 'popular stories',\r\n showXFilters: '+ {0} meer',\r\n noResults: 'geen resultaten gevonden. al geprobeerd je filters aan te passen?',\r\n };\r\n \r\n if (document.body.classList.contains('journalsoverviewpage')) {\r\n this.init();\r\n }\r\n }\r\n\r\n init() {\r\n this.dom = {\r\n filtersContainer: document.querySelector('.filterContainer'),\r\n targetsContainer: document.querySelector('.targetsContainer'),\r\n pagerContainer: document.querySelector('.pagerContainer'),\r\n };\r\n\r\n const filters = [];\r\n this.dom.filtersContainer.querySelectorAll('.filterInput').forEach(filterInput => {\r\n let filter = new Filter(filterInput);\r\n filter.expandable = false;\r\n filter.additive = true;\r\n filter.init();\r\n filters.push(filter);\r\n });\r\n\r\n this.filterGroup = new FilterGroup(filters, this.dom.targetsContainer.children, {\r\n api: true\r\n });\r\n this.filterGroup.init();\r\n\r\n // Set defaults\r\n let el = document.getElementById('filterData');\r\n this.currentPage = parseInt(el.dataset.currentPage);\r\n this.totalPages = parseInt(el.dataset.totalPages);\r\n this.itemsPerPage = parseInt(el.dataset.itemsPerPage);\r\n\r\n // Labels\r\n if (el.dataset.pagingLabelNext) {\r\n this.labels.pagingNext = el.dataset.pagingLabelNext;\r\n }\r\n\r\n if (el.dataset.pagingLabelOf) {\r\n this.labels.pagingOf = el.dataset.pagingLabelOf;\r\n }\r\n\r\n if (el.dataset.pagingLabelPreviousTitle) {\r\n this.labels.pagingPreviousTitle = el.dataset.pagingLabelPreviousTitle;\r\n }\r\n\r\n if (el.dataset.pagingLabelNextTitle) {\r\n this.labels.pagingNextTitle = el.dataset.pagingLabelNextTitle;\r\n }\r\n\r\n if (el.dataset.journalATitle) {\r\n this.labels.journalATitle = el.dataset.journalATitle;\r\n }\r\n\r\n if (el.dataset.titleDate) {\r\n this.labels.titleDate = el.dataset.titleDate;\r\n }\r\n\r\n if (el.dataset.titlePopular) {\r\n this.labels.titlePopular = el.dataset.titlePopular;\r\n }\r\n\r\n if (el.dataset.showXFilters) {\r\n this.labels.showXFilters = el.dataset.showXFilters;\r\n }\r\n\r\n if (el.dataset.noResults) {\r\n this.labels.noResults = el.dataset.noResults;\r\n }\r\n\r\n if(el.dataset.lang){\r\n this.lang = el.dataset.lang;\r\n }\r\n\r\n this.pager = new Pager({\r\n currentPage: this.currentPage,\r\n totalPages: this.totalPages,\r\n\r\n labelNext: this.labels.pagingNext,\r\n labelOf: this.labels.pagingOf,\r\n labelPreviousTitle: this.labels.pagingPreviousTitle,\r\n labelNextTitle: this.labels.pagingNextTitle,\r\n });\r\n\r\n if (this.currentPage > 1) {\r\n this.pager.previousUrl = `${location.pathname}?page=${this.currentPage - 1}`;\r\n }\r\n\r\n if (this.currentPage < this.totalPages) {\r\n this.pager.nextUrl = `${location.pathname}?page=${this.currentPage + 1}`;\r\n }\r\n\r\n // Replace pager from backend with JS-controlled one\r\n this.dom.pagerContainer.innerHTML = '';\r\n this.dom.pagerContainer.appendChild(this.pager.generate());\r\n this.pager.currentPage = this.currentPage; // Forces a recheck to enable/disable buttons in the pager\r\n\r\n this.hideXFilters();\r\n\r\n this.setEventListeners();\r\n }\r\n\r\n setEventListeners() {\r\n this.filterGroup.filters.forEach(filter => {\r\n filter.element.addEventListener('update', () => {\r\n this.currentPage = 1; // Reset paging because filters completely change the shown items in the results\r\n this.update();\r\n });\r\n });\r\n\r\n // Sort\r\n document.querySelectorAll('.sortOption input').forEach(sortInput => {\r\n sortInput.addEventListener('change', () => {\r\n this.sort = document.querySelector('.sortOption input:checked').value;\r\n this.currentPage = 1;\r\n this.update();\r\n\r\n switch (this.sort) {\r\n case 'popularity':\r\n document.querySelector('h1').innerHTML = this.labels.titlePopular;\r\n break;\r\n\r\n case 'date':\r\n default:\r\n document.querySelector('h1').innerHTML = this.labels.titleDate;\r\n break;\r\n }\r\n });\r\n });\r\n\r\n this.pager.generate().querySelectorAll('a.next').forEach(a => {\r\n a.addEventListener('click', e => {\r\n e.preventDefault();\r\n\r\n this.currentPage++;\r\n this.update();\r\n });\r\n });\r\n\r\n this.pager.generate().querySelectorAll('a.previous').forEach(a => {\r\n a.addEventListener('click', e => {\r\n e.preventDefault();\r\n\r\n this.currentPage--;\r\n this.update();\r\n });\r\n });\r\n\r\n // Listeners for filter visibility\r\n // Mobile only: open filter popup\r\n document.querySelector('a.openFilters').addEventListener('click', e => {\r\n e.preventDefault();\r\n this.dom.filtersContainer.classList.remove('mobileHidden');\r\n });\r\n\r\n // Mobile only: close filter popup\r\n this.dom.filtersContainer.querySelector('.filterContainerClose').addEventListener('click', () => {\r\n this.dom.filtersContainer.classList.add('mobileHidden');\r\n });\r\n /* this.dom.filterContainer.querySelector('a.c2a').addEventListener('click', () => {\r\n this.filterContainer.classList.add('hidden');\r\n }); */\r\n\r\n // Mobile only: close filter popup on escape\r\n document.addEventListener('keyup', e => {\r\n if (e.keyCode === 27/* && (this.app.isXS() || this.app.isSM()) */) {\r\n this.dom.filtersContainer.classList.add('mobileHidden');\r\n }\r\n });\r\n\r\n this.filterGroup.filters.forEach(filter => {\r\n filter.dom.display.addEventListener('click', () => {\r\n filter.element.classList.toggle('expanded');\r\n });\r\n });\r\n\r\n // History\r\n this.historyListener = this.history.listen((undefined, action) => {\r\n if (action == 'POP') {\r\n if (this.getURLParameters().page) {\r\n this.currentPage = parseInt(this.getURLParameters().page);\r\n this.update(false);\r\n }\r\n }\r\n });\r\n }\r\n\r\n createList(data) {\r\n if (data.length) {\r\n data.forEach(item => {\r\n let journal = new Journal({\r\n title: item.Title,\r\n author: item.AuthorName,\r\n likes: item.Likes,\r\n url: item.Url,\r\n tags: item.tags,\r\n date: item.CreateDate,\r\n image: item.ImageUrl,\r\n isVideo: item.IsVideo,\r\n labelATitle: this.labels.journalATitle\r\n });\r\n\r\n this.dom.targetsContainer.appendChild(journal.generate());\r\n });\r\n\r\n window.slimmage.cr();\r\n } else {\r\n const message = document.createElement('span');\r\n message.setAttribute('style', `opacity: .9;padding: 20px 15px;`);\r\n message.innerText = this.labels.noResults || 'geen resultaten';\r\n this.dom.targetsContainer.appendChild(message);\r\n }\r\n }\r\n\r\n updatePager() {\r\n this.pager.totalPages = this.totalPages;\r\n this.pager.currentPage = this.currentPage;\r\n\r\n if (this.filterGroup.filterData.striberid) {\r\n if (this.currentPage > 1) {\r\n this.pager.previousUrl = `${location.pathname}?striber=${this.filterGroup.filterData.striberid}&page=${this.currentPage - 1}`;\r\n }\r\n \r\n if (this.currentPage < this.totalPages) {\r\n this.pager.nextUrl = `${location.pathname}?striber=${this.filterGroup.filterData.striberid}&page=${this.currentPage + 1}`;\r\n }\r\n } else {\r\n if (this.currentPage > 1) {\r\n this.pager.previousUrl = `${location.pathname}?page=${this.currentPage - 1}`;\r\n }\r\n \r\n if (this.currentPage < this.totalPages) {\r\n this.pager.nextUrl = `${location.pathname}?page=${this.currentPage + 1}`;\r\n }\r\n }\r\n }\r\n\r\n updateUrl() {\r\n let pathname = ``;\r\n if (this.filterGroup.filterData.striberid) {\r\n if (this.currentPage == 1) {\r\n pathname = `?striberid=${this.filterGroup.filterData.striberid}`;\r\n } else {\r\n pathname = `?striberid=${this.filterGroup.filterData.striberid}&page=${this.currentPage}`;\r\n }\r\n } else {\r\n if (!this.currentPage == 1) {\r\n pathname = `?page=${this.currentPage}`;\r\n }\r\n }\r\n\r\n this.history.push({pathname});\r\n \r\n }\r\n\r\n clearList() {\r\n this.dom.targetsContainer.innerHTML = '';\r\n }\r\n\r\n update(updateHistory = true) {\r\n let data = this.filterGroup.filterData;\r\n data.page = this.currentPage;\r\n data.itemsPerPage = this.itemsPerPage;\r\n data.sortOrder = this.sort;\r\n data.lang = this.lang;\r\n\r\n let queryString = '?' + Object.keys(data).map(key => {\r\n return encodeURIComponent(key) + '=' + encodeURIComponent(data[key])\r\n }).join('&');\r\n\r\n // If another call is in progress, cancel it.\r\n if (this.apiCall !== null) {\r\n this.apiCallAbortController.abort();\r\n this.apiCall = null;\r\n }\r\n\r\n this.apiCall = fetch(`${this.api}${queryString}`, {\r\n signal: this.apiCallAbortController.signal,\r\n });\r\n this.apiCall.then(response => {\r\n return response.json();\r\n }).then(result => {\r\n this.currentPage = result.CurrentPage;\r\n this.totalPages = result.TotalPages;\r\n\r\n this.clearList();\r\n this.createList(result.Data);\r\n this.updatePager();\r\n\r\n if (updateHistory) {\r\n this.updateUrl();\r\n }\r\n }).catch(err => {\r\n console.log('Call cancelled');\r\n }).finally(() => {\r\n this.apiCall = null;\r\n });\r\n }\r\n\r\n getURLParameters() {\r\n let vars = {};\r\n let parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi, function(m,key,value) {\r\n vars[key] = value;\r\n });\r\n return vars;\r\n }\r\n\r\n hideXFilters() {\r\n this.filterGroup.filters.forEach(filter => {\r\n if (filter.element.dataset.show !== undefined) {\r\n let show = parseInt(filter.element.dataset.show);\r\n\r\n let hidden = [];\r\n filter.element.querySelectorAll('ul li').forEach((listitem, index) => {\r\n if ((index + 1) > show) {\r\n // Only hide if it isn't checked\r\n if (!listitem.querySelector('input').checked) {\r\n hidden.push(listitem);\r\n }\r\n }\r\n });\r\n\r\n if (hidden.length > 1) {\r\n // Add a showAll link after the list\r\n let tempDiv = document.createElement('div');\r\n tempDiv.innerHTML = `${this.labels.showXFilters.replace('{0}', hidden.length)}`;\r\n const a = tempDiv.firstChild;\r\n a.addEventListener('click', e => {\r\n hidden.forEach(listitem => listitem.classList.remove('hidden'));\r\n a.remove();\r\n });\r\n\r\n hidden.forEach(listitem => listitem.classList.add('hidden'));\r\n\r\n filter.element.querySelector('ul').parentNode.insertBefore(a, filter.element.querySelector('ul').nextSibling);\r\n }\r\n }\r\n });\r\n }\r\n}","import 'simplebar';\r\n\r\nexport default class LandingController {\r\n constructor() {\r\n this.init();\r\n }\r\n\r\n init() {\r\n this.setEventListeners();\r\n }\r\n\r\n setEventListeners() {\r\n document.querySelector('.actions a.button').addEventListener('click', () => {\r\n document.querySelector('.popup.newsletterPopup').classList.add('active');\r\n this.blurOn();\r\n if (window.innerWidth >= 768) {\r\n document.querySelector('form.newsletterForm input[name=\"email\"]').focus();\r\n }\r\n });\r\n\r\n document.querySelector('.popup.newsletterPopup a.close').addEventListener('click', () => {\r\n document.querySelector('.popup.newsletterPopup').classList.remove('active');\r\n this.blurOff();\r\n\r\n setTimeout(() => {\r\n this.resetNewsletterPopup();\r\n }, 1000);\r\n });\r\n\r\n document.querySelector('a.moreInfo').addEventListener('click', () => {\r\n document.querySelector('.popup.moreInfoPopup').classList.add('active');\r\n this.blurOn();\r\n });\r\n\r\n document.querySelector('.popup.moreInfoPopup a.close').addEventListener('click', () => {\r\n document.querySelector('.popup.moreInfoPopup').classList.remove('active');\r\n this.blurOff();\r\n\r\n setTimeout(() => {\r\n document.querySelector('.popup.moreInfoPopup .tabHeaders .tabHeader').querySelector('a, button').click();\r\n }, 1000);\r\n });\r\n\r\n document.querySelector('.popup.moreInfoPopup.tabs').addEventListener('select', e => {\r\n document.querySelector('.popup.moreInfoPopup .content').scrollTop = 0;\r\n window.slimmage.cr();\r\n });\r\n\r\n document.querySelector('form.newsletterForm').addEventListener('submit', e => {\r\n e.preventDefault();\r\n \r\n const form = e.target;\r\n const emailInput = form.querySelector('input[name=\"email\"]');\r\n if (emailInput.value.trim() == '') {\r\n this.newsletterShowError();\r\n } else if (!(/\\S+@\\S+\\.\\S+/.test(emailInput.value.toLowerCase()))) {\r\n this.newsletterShowError();\r\n } else {\r\n this.newsletterHideError();\r\n setTimeout(() => {\r\n const el = document.querySelector('.popup.newsletterPopup .content');\r\n let formData = new FormData();\r\n formData.append('email', form.querySelector('input[name=\"email\"]').value);\r\n formData.append('language', (form.querySelector('input[name=\"language\"]').value != '' ? form.querySelector('input[name=\"language\"]').value : 'nl'));\r\n\r\n el.classList.remove('start');\r\n el.classList.add('loading');\r\n\r\n fetch(form.getAttribute('action') + '?' + $(form).serialize(), {\r\n body: formData,\r\n method: 'post'\r\n }).then(response => {\r\n return response.text();\r\n }).then(result => {\r\n console.log(result);\r\n\r\n el.classList.remove('loading');\r\n if (result.toString() == '\"OK\"' || result.toString() == 'OK') {\r\n el.classList.add('success');\r\n window.slimmage.cr();\r\n } else {\r\n el.classList.add('error');\r\n }\r\n });\r\n }, 200);\r\n \r\n }\r\n \r\n /* const data = $(form).serialize();\r\n const mailChimpUrl = form.getAttribute('action');\r\n\r\n console.log(data);\r\n console.log(mailChimpUrl);\r\n\r\n fetch(mailChimpUrl + '&c=?&' + data, {\r\n headers: {\r\n 'Content-Type': 'application/x-www-form-urlencoded',\r\n },\r\n method: 'get',\r\n mode: 'no-cors',\r\n }).then(response => {\r\n window.responseTest = response;\r\n return response.json();\r\n }).then(result => {\r\n console.log(result);\r\n }); */\r\n\r\n return false;\r\n\r\n /* const $form = $(e.target);\r\n\r\n $.ajax({\r\n type: $form.attr('method'),\r\n url: $form.attr('action'),\r\n data: $form.serialize(),\r\n cache : false,\r\n dataType : 'json',\r\n contentType: \"application/json; charset=utf-8\",\r\n error : function(err) { alert(\"Could not connect to the registration server. Please try again later.\"); },\r\n success : function(data) {\r\n if (data.result != \"success\") {\r\n // Something went wrong, do something to notify the user. maybe alert(data.msg);\r\n } else {\r\n // It worked, carry on...\r\n }\r\n }\r\n }); */\r\n });\r\n\r\n /* document.querySelector('.popup.newsletterPopup a.button').addEventListener('click', () => {\r\n const el = document.querySelector('.popup.newsletterPopup .content.start');\r\n\r\n // TODO: Replace with actual MailChimp link\r\n setTimeout(() => {\r\n el.classList.remove('start');\r\n el.classList.add('success');\r\n\r\n window.slimmage.cr();\r\n }, 500);\r\n }); */\r\n\r\n document.addEventListener('keydown', e => {\r\n if (e.key && e.key.toLowerCase() == 'escape') {\r\n document.querySelectorAll('.popup').forEach(popup => popup.classList.remove('active'));\r\n this.blurOff();\r\n \r\n setTimeout(() => {\r\n this.resetNewsletterPopup();\r\n }, 1000);\r\n }\r\n });\r\n }\r\n\r\n blurOn() {\r\n document.querySelectorAll('header, footer, section#content, section#background').forEach(el => {\r\n el.classList.add('blurred');\r\n el.classList.add('noanimate');\r\n });\r\n }\r\n\r\n blurOff() {\r\n document.querySelectorAll('header, footer, section#content, section#background').forEach(el => {\r\n el.classList.remove('blurred');\r\n setTimeout(() => {\r\n el.classList.remove('noanimate');\r\n }, 595);\r\n });\r\n }\r\n\r\n newsletterShowError() {\r\n const form = document.querySelector('form.newsletterForm');\r\n form.querySelector('input[name=\"email\"]').classList.add('error');\r\n if (window.innerWidth >= 768) {\r\n form.querySelector('input[name=\"email\"]').focus();\r\n }\r\n }\r\n\r\n newsletterHideError() {\r\n const form = document.querySelector('form.newsletterForm');\r\n form.querySelector('input[name=\"email\"]').classList.remove('error');\r\n }\r\n\r\n resetNewsletterPopup() {\r\n const el = document.querySelector('.popup.newsletterPopup .content');\r\n document.querySelector('form.newsletterForm input[name=\"email\"]').value = '';\r\n document.querySelector('form.newsletterForm input[name=\"email\"]').classList.remove('error');\r\n el.classList.remove('loading');\r\n el.classList.remove('error');\r\n el.classList.remove('success');\r\n el.classList.add('start');\r\n }\r\n}","import Cookies from 'js-cookie';\r\n\r\nexport default class LikeController {\r\n constructor(autoinit = true) {\r\n this.cookie;\r\n this.selector = '.likes[data-like]';\r\n \r\n if (autoinit) {\r\n this.init();\r\n }\r\n }\r\n\r\n init() {\r\n if (document.querySelector(this.selector)) {\r\n this.cookie = Cookies.getJSON('likes');\r\n if (this.cookie === undefined) {\r\n this.cookie = [];\r\n Cookies.set('likes', this.cookie, {\r\n expires: 99999,\r\n });\r\n }\r\n\r\n this.checkLikes();\r\n }\r\n }\r\n\r\n setEventListeners(likeContainer) {\r\n const pageId = parseInt(likeContainer.dataset.like);\r\n\r\n likeContainer.querySelector('.icon').addEventListener('click', () => {\r\n \r\n document.querySelectorAll(this.selector).forEach(container => {\r\n container.classList.add('liked');\r\n container.querySelector('.icon span').innerHTML = `${parseInt(container.querySelector('.icon span').innerHTML) + 1}`;\r\n });\r\n\r\n \r\n fetch(`/umbraco/api/content/like?pageId=${pageId}`, {\r\n method: 'post',\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n },\r\n body: JSON.stringify({pageId: pageId})\r\n }).then(response => {\r\n if (response.ok) {\r\n response.text().then(result => {\r\n if (result == 'true') {\r\n this.cookie.push(pageId);\r\n Cookies.set('likes', this.cookie, {\r\n expires: 99999,\r\n });\r\n }\r\n });\r\n }\r\n });\r\n });\r\n }\r\n\r\n checkLikes() {\r\n document.querySelectorAll(this.selector).forEach(likeContainer => {\r\n const pageId = parseInt(likeContainer.dataset.like);\r\n\r\n if (this.cookie.includes(pageId)) {\r\n likeContainer.classList.add('alreadyLiked');\r\n likeContainer.classList.add('liked');\r\n } else {\r\n this.setEventListeners(likeContainer);\r\n }\r\n });\r\n }\r\n}","export default class LoginController {\r\n constructor(autoinit = true) {\r\n this.firebaseApp = null;\r\n if (autoinit) {\r\n this.init();\r\n }\r\n }\r\n\r\n init() {\r\n if (document.querySelector(\"div.firebaseEnabled\") !== null) {\r\n import( /* webpackChunkName: \"modules/firebase\" */ 'firebase/app').then(module => {\r\n\r\n window.firebase = module.default;\r\n import( /* webpackChunkName: \"modules/firebaseAuth\" */ 'firebase/firebase-auth').then(() => {\r\n\r\n var firebaseConfig = {\r\n apiKey: \"AIzaSyD7Dj7q44Pqx5J_br7Nuk179-bc06Ekf3s\",\r\n authDomain: \"stribe-267114.firebaseapp.com\",\r\n databaseURL: \"https://stribe-267114.firebaseio.com\",\r\n projectId: \"stribe-267114\",\r\n storageBucket: \"stribe-267114.appspot.com\",\r\n messagingSenderId: \"998866450354\",\r\n appId: \"1:998866450354:web:e7073ac24db7b496d916ab\",\r\n measurementId: \"G-JS4M7QE25G\"\r\n };\r\n\r\n this.firebaseApp = window.firebase.initializeApp(firebaseConfig);\r\n this.addEventListeners();\r\n });\r\n\r\n\r\n });\r\n }\r\n }\r\n\r\n addEventListeners() {\r\n if (document.querySelector('.btn-google') != null) {\r\n document.querySelector('.btn-google').addEventListener('click', () => {\r\n var provider = new window.firebase.auth.GoogleAuthProvider();\r\n\r\n firebase.auth().signInWithPopup(provider).then(function (result) {\r\n firebase.auth().currentUser.getIdToken( /* forceRefresh */ true).then(function (idToken) {\r\n // Send token to your backend via HTTPS\r\n // ...\r\n var apiCall = fetch(`/umbraco/surface/umbracoidentityaccount/googlesignin`, {\r\n method: 'POST',\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n // 'Content-Type': 'application/x-www-form-urlencoded',\r\n },\r\n body: JSON.stringify({\r\n token: idToken\r\n })\r\n });\r\n apiCall.then(response => {\r\n if (response.status == 401) {\r\n document.querySelector('.firebaseEnabled .field-validation-error').classList.add('visible');\r\n setTimeout(() => {\r\n document.querySelector('.firebaseEnabled .field-validation-error').classList.remove('visible');\r\n }, 3500);\r\n } else if (response.status == 200) {\r\n window.location.reload();\r\n }\r\n });\r\n\r\n }).catch(function (error) {\r\n document.querySelector('.firebaseEnabled .field-validation-error').classList.add('visible');\r\n setTimeout(() => {\r\n document.querySelector('.firebaseEnabled .field-validation-error').classList.remove('visible');\r\n }, 3500);\r\n\r\n });\r\n }).catch(function (error) {\r\n document.querySelector('.firebaseEnabled .field-validation-error').classList.add('visible');\r\n setTimeout(() => {\r\n document.querySelector('.firebaseEnabled .field-validation-error').classList.remove('visible');\r\n }, 3500);\r\n\r\n });\r\n\r\n\r\n });\r\n }\r\n if (document.querySelector('.btn-google-link') != null) {\r\n document.querySelector('.btn-google-link').addEventListener('click', () => {\r\n var provider = new window.firebase.auth.GoogleAuthProvider();\r\n\r\n firebase.auth().signInWithPopup(provider).then(function (result) {\r\n firebase.auth().currentUser.getIdToken( /* forceRefresh */ true).then(function (idToken) {\r\n // Send token to your backend via HTTPS\r\n // ...\r\n var apiCall = fetch(`/umbraco/surface/umbracoidentityaccount/linkgooglesignin`, {\r\n method: 'POST',\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n },\r\n body: JSON.stringify({\r\n token: idToken\r\n })\r\n });\r\n apiCall.then(response => {\r\n if (response.status == 401) {\r\n document.querySelector('.firebaseEnabled .field-validation-error').classList.add('visible');\r\n setTimeout(() => {\r\n document.querySelector('.firebaseEnabled .field-validation-error').classList.remove('visible');\r\n }, 3500);\r\n } else if (response.status == 200) {\r\n window.location.reload();\r\n }\r\n });\r\n\r\n }).catch(function (error) {\r\n document.querySelector('.firebaseEnabled .field-validation-error').classList.add('visible');\r\n setTimeout(() => {\r\n document.querySelector('.firebaseEnabled .field-validation-error').classList.remove('visible');\r\n }, 3500);\r\n });\r\n }).catch(function (error) {\r\n document.querySelector('.firebaseEnabled .field-validation-error').classList.add('visible');\r\n setTimeout(() => {\r\n document.querySelector('.firebaseEnabled .field-validation-error').classList.remove('visible');\r\n }, 3500);\r\n });\r\n\r\n\r\n });\r\n }\r\n }\r\n}","import Cookies from 'js-cookie';\r\n\r\nexport default class MediaController {\r\n\tconstructor(autoinit = true) {\r\n\t\tif (autoinit) {\r\n\t\t\tthis.init();\r\n\t\t}\r\n\t}\r\n\r\n\tinit() {\r\n\t\tvar youtube = false;\r\n\t\tvar vimeo = false;\r\n\t\tdocument.querySelectorAll('noscript').forEach(media => {\r\n\t\t\tswitch (media.dataset.mediatype) {\r\n\t\t\t\tcase 'youtube':\r\n\t\t\t\t\tthis.youtube(media);\r\n\t\t\t\t\tyoutube = true;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 'vimeo':\r\n\t\t\t\t\tthis.vimeo(media);\r\n\t\t\t\t\tvimeo = true;\r\n\t\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tif (this.app.AVGController.AcceptedTrackingCookies) {\r\n\t\t\tif (youtube) {\r\n\t\t\t\tvar tag = document.createElement('script');\r\n\t\t\t\ttag.src = \"//www.youtube.com/player_api\";\r\n\t\t\t\tvar firstScriptTag = document.getElementsByTagName('script')[0];\r\n\t\t\t\tfirstScriptTag.parentNode.insertBefore(tag, firstScriptTag);\r\n\r\n\t\t\t\twindow.onYouTubeIframeAPIReady = this.YouTubeAPILoaded.bind(this);\r\n\t\t\t}\r\n\r\n\t\t\tif (vimeo) {\r\n\t\t\t\timport( /* webpackChunkName: \"modules/vimeo\" */ '@vimeo/player').then(module => {\r\n\t\t\t\t\tconst Player = module.default;\r\n\t\t\t\t\tdocument.querySelectorAll('iframe.vimeo').forEach(iframe => {\r\n\t\t\t\t\t\tvar player = new Player(iframe);\r\n\r\n\t\t\t\t\t\tiframe.parentNode.querySelector('div.videoPoster a').addEventListener('click', (click) => {\r\n\t\t\t\t\t\t\tlet videoPoster = click.currentTarget.closest('div.videoPoster');\r\n\t\t\t\t\t\t\tvideoPoster.remove();\r\n\t\t\t\t\t\t\tplayer.play().then(function() {\r\n\t\t\t\t\t\t\t}).catch(function(error) {\r\n\t\t\t\t\t\t\t\tconsole.error(error);\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t}, true);\r\n\t\t\t\t\t});\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tYouTubeAPILoaded() {\r\n\t\tdocument.querySelectorAll('iframe.youtube').forEach(iframe => {\r\n\t\t\tvar player = new YT.Player(iframe.id, {\r\n\t\t\t\tevents: {\r\n\t\t\t\t\t'onReady': event => {\r\n\t\t\t\t\t\tthis.YouTubeIFrameLoaded(event, iframe);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t})\r\n\t}\r\n\r\n\tYouTubeIFrameLoaded(event, target) {\r\n\t\ttarget.parentNode.querySelector('div.videoPoster a').addEventListener('click', (click) => {\r\n\t\t\tclick.currentTarget.closest('div.videoPoster').remove();\r\n\t\t\tevent.target.playVideo();\r\n\t\t}, true);\r\n\t}\r\n\r\n\r\n\tembedIframe(url, type, id, imgtag) {\r\n\t\t// External sites use tracking, so the tracking cookie needs to be enabled\r\n\t\tif (this.app.AVGController.AcceptedTrackingCookies) {\r\n\t\t\treturn `\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t${imgtag}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t
`;\r\n\t\t} else {\r\n\t\t\treturn `\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t

Deze video heeft cookies nodig

\r\n\t\t\t\t\t

U heeft aangegeven liever geen cookies van YouTube of Vimeo te krijgen. Deze cookies zijn nodig om deze video te tonen.

\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t\t`;\r\n\t\t}\r\n\t}\r\n\r\n\tyoutube(media) {\r\n\t\tconst url = `https://www.youtube-nocookie.com/embed/${media.dataset.youtube}?wmode=opaque&rel=0&enablejsapi=1&origin=${window.location.protocol}//${window.location.hostname}`;\r\n\r\n\t\tlet sourceRegex = /src=\"(.*?)\"/;\r\n\t\tlet imgsrc = media.innerHTML.match(sourceRegex);\r\n\t\tlet imgElement = new Image();\r\n\t\timgElement.src = imgsrc[1];\r\n\r\n\t\tconst embed = this.embedIframe(url, \"youtube\", media.dataset.youtube, imgElement.outerHTML);\r\n\r\n\t\tlet tempDiv = document.createElement('div');\r\n\t\ttempDiv.innerHTML = embed;\r\n\r\n\t\tmedia.before(tempDiv.firstElementChild);\r\n\t\tmedia.remove();\r\n\t}\r\n\r\n\tvimeo(media) {\r\n\t\tconst url = `https://player.vimeo.com/video/${media.dataset.vimeo}?title=0&byline=0&portrait=0&api=1`;\r\n\r\n\t\tlet sourceRegex = /src=\"(.*?)\"/;\r\n\t\tlet imgsrc = media.innerHTML.match(sourceRegex);\r\n\t\tlet imgElement = new Image();\r\n\t\timgElement.src = imgsrc[1];\r\n\r\n\r\n\t\tconst embed = this.embedIframe(url, \"vimeo\", media.dataset.vimeo, imgElement.outerHTML);\r\n\r\n\t\tlet tempDiv = document.createElement('div');\r\n\t\ttempDiv.innerHTML = embed;\r\n\r\n\t\tmedia.before(tempDiv.firstElementChild);\r\n\t\tmedia.remove();\r\n\t}\r\n\r\n}","import Pager from './../../elements/pager';\r\n\r\nexport default class PagedContainer {\r\n /**\r\n * \r\n * @param {HTMLElement} container \r\n * @param {Object} settings\r\n * @param {String} settings.pagedClass\r\n * @param {Number} settings.itemsPerPage\r\n * @param {?String} settings.childrenSelector\r\n * @param {Boolean} settings.pager\r\n * @param {HTMLElement} settings.pagerContainer\r\n * @param {Boolean} settings.scrollOnNewPage\r\n * @param {Number} settings.scrollOffset\r\n * @param {?String} settings.classToSkip Classes that don't get counted towards filters\r\n */\r\n constructor(container, settings = {}) {\r\n this.container = container;\r\n this.items = [];\r\n this._currentPage = 1;\r\n this._totalPages = 1;\r\n this.pager = null;\r\n\r\n // Settings\r\n this.settings = {\r\n pagedClass: 'paged',\r\n itemsPerPage: 4,\r\n childrenSelector: null,\r\n pager: true,\r\n pagerContainer: null,\r\n scrollOnNewPage: true,\r\n scrollOffset: 150,\r\n classToSkip: null\r\n }\r\n\r\n this.loadSettings(settings);\r\n }\r\n\r\n set currentPage(currentPage = 1) {\r\n this._currentPage = currentPage;\r\n\r\n if (this.settings.pager && this.pager) {\r\n this.pager.currentPage = currentPage;\r\n }\r\n }\r\n\r\n get currentPage() {\r\n return parseInt(this._currentPage);\r\n }\r\n\r\n set totalPages(totalPages = 1) {\r\n this._totalPages = totalPages;\r\n\r\n if (this.settings.pager && this.pager) {\r\n this.pager.totalPages = totalPages;\r\n }\r\n }\r\n\r\n get totalPages() {\r\n return parseInt(this._totalPages);\r\n }\r\n \r\n init() {\r\n\r\n if (this.settings.childrenSelector == null) {\r\n [...this.container.children].forEach(item => this.items.push(item));\r\n } else {\r\n this.container.querySelectorAll(this.settings.childrenSelector).forEach(item => this.items.push(item));\r\n }\r\n\r\n if (this.settings.pager) {\r\n this.initPager();\r\n }\r\n\r\n this.showPage(this.currentPage, true);\r\n this.setEventListeners();\r\n }\r\n\r\n initPager() {\r\n if (this.pager == null) {\r\n this.pager = new Pager({\r\n currentPage: 1,\r\n totalPages: 1\r\n });\r\n }\r\n\r\n if (this.settings.pagerContainer !== null) {\r\n this.settings.pagerContainer.appendChild(this.pager.generate());\r\n } else {\r\n console.info(`Pager created but not inserted yet`);\r\n console.log(this.pager);\r\n }\r\n }\r\n\r\n setEventListeners() {\r\n if (this.settings.pager && this.pager) {\r\n this.pager.generate().querySelectorAll('.previous').forEach(previous => previous.addEventListener('click', e => {\r\n e.preventDefault();\r\n this.showPrevious();\r\n }));\r\n this.pager.generate().querySelectorAll('.next').forEach(next => next.addEventListener('click', e => {\r\n e.preventDefault();\r\n this.showNext();\r\n }));\r\n }\r\n }\r\n\r\n /**\r\n * \r\n * @param {Number} pageNumber \r\n */\r\n showPage(pageNumber, instant = false) {\r\n const start = () => {\r\n this.calculateTotalPages();\r\n if (pageNumber < 1) {\r\n pageNumber = 1;\r\n } else if (pageNumber > this.totalPages) {\r\n pageNumber = this.totalPages;\r\n }\r\n\r\n let items = this.items;\r\n if (this.settings.classToSkip) {\r\n items = items.filter(item => !item.classList.contains(this.settings.classToSkip));\r\n }\r\n\r\n let firstIndex = (pageNumber - 1) * this.settings.itemsPerPage;\r\n let lastIndex = Math.min((pageNumber * this.settings.itemsPerPage) - 1, items.length - 1);\r\n let itemsToShow = items.filter((item, index) => index >= firstIndex && index <= lastIndex);\r\n this.hideAll();\r\n this.showItems(itemsToShow);\r\n\r\n this.currentPage = pageNumber;\r\n\r\n if (this.settings.pager && this.pager) {\r\n if (this.currentPage == 1) {\r\n this.pager.generate().querySelectorAll('.previous').forEach(previous => previous.setAttribute('disabled', 'disabled'));\r\n } else {\r\n this.pager.generate().querySelectorAll('.previous').forEach(previous => previous.removeAttribute('disabled'));\r\n }\r\n\r\n if (this.currentPage >= this.totalPages) {\r\n this.pager.generate().querySelectorAll('.next').forEach(next => next.setAttribute('disabled', 'disabled'));\r\n } else {\r\n this.pager.generate().querySelectorAll('.next').forEach(next => next.removeAttribute('disabled'));\r\n }\r\n }\r\n\r\n if (window.slimmage) {\r\n window.slimmage.cr();\r\n }\r\n\r\n this.dispatchUpdateEvent();\r\n };\r\n\r\n if (this.settings.scrollOnNewPage && !instant) {\r\n this.scrollToTop().then(() => start());\r\n } else {\r\n start();\r\n }\r\n }\r\n\r\n scrollToTop() {\r\n if (typeof scrollIntoView == 'undefined') {\r\n return Promise.resolve();\r\n } else {\r\n return new Promise(resolve => {\r\n window.scrollTo({\r\n top: this.container.getBoundingClientRect().top + window.scrollY + this.settings.scrollOffset,\r\n behavior: 'smooth',\r\n });\r\n setTimeout(resolve, 500);\r\n });\r\n }\r\n }\r\n\r\n showNext() {\r\n if (this.currentPage < this.totalPages) {\r\n this.currentPage++;\r\n this.showPage(this.currentPage);\r\n }\r\n }\r\n\r\n showPrevious() {\r\n if (this.currentPage > 1) {\r\n this.currentPage--;\r\n this.showPage(this.currentPage);\r\n }\r\n }\r\n\r\n hideAll() {\r\n this.items.forEach(item => {\r\n item.classList.add(this.settings.pagedClass);\r\n });\r\n }\r\n\r\n showItems(items) {\r\n items.forEach(item => {\r\n item.classList.remove(this.settings.pagedClass);\r\n });\r\n }\r\n\r\n calculateTotalPages() {\r\n let items = this.items;\r\n if (this.settings.classToSkip) {\r\n items = items.filter(item => !item.classList.contains(this.settings.classToSkip));\r\n }\r\n\r\n this.totalPages = Math.ceil(items.length / this.settings.itemsPerPage);\r\n }\r\n\r\n dispatchUpdateEvent() {\r\n const e = new CustomEvent('update', {\r\n detail: {\r\n currentPage: this.currentPage,\r\n totalPages: this.totalPages\r\n }\r\n });\r\n\r\n this.container.dispatchEvent(e);\r\n }\r\n\r\n loadSettings(settings) {\r\n function capitalizeFirstLetter(string) {\r\n return string.charAt(0).toUpperCase() + string.slice(1).toLowerCase();\r\n }\r\n\r\n // Check if any of the settings match a dataset first\r\n Object.keys(this.settings).forEach(setting => {\r\n if (this.container.dataset[`paged${capitalizeFirstLetter(setting)}`]) {\r\n if (typeof this.settings[setting] == 'number') {\r\n this.settings[setting] = parseInt(this.container.dataset[`paged${capitalizeFirstLetter(setting)}`]);\r\n } else {\r\n this.settings[setting] = this.container.dataset[`paged${capitalizeFirstLetter(setting)}`];\r\n }\r\n }\r\n });\r\n\r\n if (Object.keys(settings).length) {\r\n Object.keys(settings).forEach(setting => {\r\n if (this.settings[setting] !== undefined) {\r\n this.settings[setting] = settings[setting];\r\n }\r\n });\r\n }\r\n }\r\n}","export default class ParallaxController {\r\n constructor(autoinit = true) {\r\n if (autoinit) {\r\n this.init();\r\n\r\n this.mouseScenes = [];\r\n this.scrollScenes = [];\r\n }\r\n }\r\n\r\n init() {\r\n if (document.querySelectorAll('.parallaxSceneMouse').length) {\r\n this.runMouseParallax();\r\n }\r\n\r\n if (document.querySelectorAll('.parallaxSceneScroll').length) {\r\n this.runScrollParallax();\r\n }\r\n }\r\n\r\n runMouseParallax() {\r\n import(/* webpackChunkName: \"modules/parallaxMouse\" */ 'parallax-js').then(module => {\r\n const Parallax = module.default;\r\n\r\n document.querySelectorAll('.parallaxSceneMouse').forEach(scene => {\r\n\r\n if (!(document.documentElement.classList.contains('firefox') && scene.classList.contains('noFF')) && !document.documentElement.classList.contains('ie')) {\r\n this.mouseScenes.push(new Parallax(scene));\r\n }\r\n });\r\n });\r\n }\r\n\r\n runScrollParallax() {\r\n import(/* webpackChunkName: \"modules/parallaxScroll\" */ 'rellax').then(module => {\r\n const Parallax = module.default;\r\n\r\n document.querySelectorAll('.parallaxSceneScroll').forEach(scene => {\r\n this.scrollScenes.push(new Parallax(scene, {\r\n center: true\r\n }));\r\n });\r\n });\r\n }\r\n}","export default class PartlyHiddenController {\r\n constructor() {\r\n this.selectorClass = 'partlyHidden';\r\n this.showMoreText = 'show more';\r\n this.maxHeight = 400;\r\n\r\n this.init();\r\n }\r\n\r\n init() {\r\n document.querySelectorAll(`.${this.selectorClass}`).forEach(container => {\r\n let showMoreText = container.dataset.showText || this.showMoreText;\r\n let maxHeight = container.dataset.maxHeight ? parseInt(container.dataset.maxHeight) : false || this.maxHeight;\r\n\r\n if (container.clientHeight > maxHeight) {\r\n let showMoreLink = document.createElement('a');\r\n showMoreLink.classList.add('showMoreLink');\r\n showMoreLink.innerText = showMoreText;\r\n showMoreLink.addEventListener('click', e => {\r\n showMoreLink.remove();\r\n container.removeAttribute(\"style\");\r\n container.classList.remove(this.selectorClass);\r\n });\r\n\r\n container.parentNode.insertBefore(showMoreLink, container.nextSibling);\r\n container.style.maxHeight = `${maxHeight}px`;\r\n } else {\r\n container.classList.remove(this.selectorClass);\r\n }\r\n });\r\n }\r\n}","export default class PolyfillController {\r\n constructor() {\r\n this.polyfills = [];\r\n this.loaded = [];\r\n }\r\n\r\n init() {\r\n this.loadPolyfills();\r\n\r\n return Promise.all(this.polyfills);\r\n }\r\n\r\n loadPolyfills() {\r\n this.forEach();\r\n this.intersectionObserver();\r\n this.fetch();\r\n this.abortController();\r\n this.closest();\r\n this.before();\r\n this.remove();\r\n this.customEvent();\r\n this.smoothScroll();\r\n }\r\n\r\n forEach() {\r\n if (window.NodeList && !NodeList.prototype.forEach) {\r\n NodeList.prototype.forEach = Array.prototype.forEach;\r\n this.loaded.push('forEach');\r\n }\r\n }\r\n\r\n intersectionObserver() {\r\n if (!('IntersectionObserver' in window)) {\r\n this.polyfills.push(import( /* webpackChunkName: \"polyfills/intersectionobserver\" */ 'intersection-observer'));\r\n this.loaded.push('intersectionObserver');\r\n }\r\n }\r\n\r\n fetch() {\r\n if (!window.fetch) {\r\n this.polyfills.push(import( /* webpackChunkName: \"polyfills/fetch\" */ 'whatwg-fetch'));\r\n this.loaded.push('fetch');\r\n }\r\n }\r\n\r\n abortController() {\r\n if (typeof AbortController == 'undefined') {\r\n this.polyfills.push(import( /* webpackChunkName: \"polyfills/abortController\" */ 'abortcontroller-polyfill/dist/polyfill-patch-fetch'));\r\n this.loaded.push('abortController');\r\n }\r\n }\r\n\r\n closest() {\r\n if (!Element.prototype.matches) {\r\n Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;\r\n this.loaded.push('matches');\r\n }\r\n\r\n if (!Element.prototype.closest) {\r\n Element.prototype.closest = function (s) {\r\n var el = this;\r\n do {\r\n if (el.matches(s)) return el;\r\n el = el.parentElement || el.parentNode;\r\n } while (el !== null && el.nodeType === 1);\r\n return null;\r\n };\r\n this.loaded.push('closest');\r\n }\r\n }\r\n\r\n before() {\r\n (arr => {\r\n arr.forEach(function (item) {\r\n if (item.hasOwnProperty('before')) {\r\n return;\r\n }\r\n Object.defineProperty(item, 'before', {\r\n configurable: true,\r\n enumerable: true,\r\n writable: true,\r\n value: function before() {\r\n var argArr = Array.prototype.slice.call(arguments),\r\n docFrag = document.createDocumentFragment();\r\n\r\n argArr.forEach(function (argItem) {\r\n var isNode = argItem instanceof Node;\r\n docFrag.appendChild(isNode ? argItem : document.createTextNode(String(argItem)));\r\n });\r\n\r\n this.parentNode.insertBefore(docFrag, this);\r\n }\r\n });\r\n });\r\n this.loaded.push('before');\r\n })([Element.prototype, CharacterData.prototype, DocumentType.prototype]);\r\n }\r\n\r\n remove() {\r\n (arr => {\r\n arr.forEach(function (item) {\r\n if (item.hasOwnProperty('remove')) {\r\n return;\r\n }\r\n Object.defineProperty(item, 'remove', {\r\n configurable: true,\r\n enumerable: true,\r\n writable: true,\r\n value: function remove() {\r\n if (this.parentNode === null) {\r\n return;\r\n }\r\n this.parentNode.removeChild(this);\r\n }\r\n });\r\n });\r\n this.loaded.push('remove');\r\n })([Element.prototype, CharacterData.prototype, DocumentType.prototype]);\r\n }\r\n\r\n customEvent() {\r\n if (typeof (Event) === 'object') {\r\n function CustomEvent(event, params) {\r\n params = params || {\r\n bubbles: false,\r\n cancelable: false,\r\n detail: undefined\r\n };\r\n let evt = document.createEvent('CustomEvent');\r\n evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail);\r\n return evt;\r\n }\r\n\r\n CustomEvent.prototype = window.Event.prototype;\r\n\r\n window.CustomEvent = CustomEvent;\r\n window.Event = CustomEvent;\r\n this.loaded.push('Custom Event');\r\n }\r\n }\r\n\r\n smoothScroll() {\r\n this.polyfills.push(new Promise(resolve => {\r\n import(/* webpackChunkName: \"polyfills/smoothScroll\" */ 'smooth-scroll-into-view-if-needed').then(module => {\r\n window.scrollIntoView = module.default;\r\n resolve();\r\n this.loaded.push('smoothScroll');\r\n });\r\n }));\r\n }\r\n}","import Filter from './filters/filter';\r\nimport FilterGroup from './filters/filterGroup';\r\nimport Project from '../elements/project';\r\nimport Pager from '../elements/pager';\r\nimport {createBrowserHistory} from 'history';\r\n\r\nexport default class ProjectsOverviewController {\r\n constructor() {\r\n this.filterGroup;\r\n this.dom;\r\n this.currentPage = 1;\r\n this.totalPages = 1;\r\n this.itemsPerPage = 15;\r\n this.sort = 'recent';\r\n this.api = '/umbraco/api/projectsoverview/filter';\r\n this.apiCall = null;\r\n this.apiCallAbortController = new AbortController();\r\n this.history = createBrowserHistory();\r\n this.historyListener = null;\r\n this.items = [];\r\n\r\n this.labels = {\r\n pagingNext: 'Volgende',\r\n pagingOf: 'van',\r\n pagingPreviousTitle: 'Ga naar de vorige pagina',\r\n pagingNextTitle: 'Ga naar de volgende pagina',\r\n journalATitle: 'Ga naar de pagina ',\r\n titleDate: 'latest projects',\r\n titleAlphabetical: 'alphabetical projects',\r\n showXFilters: '+ {0} meer',\r\n noResults: 'geen resultaten gevonden. al geprobeerd je filters aan te passen?',\r\n };\r\n \r\n if (document.body.classList.contains('projectsoverviewpage')) {\r\n this.init();\r\n }\r\n }\r\n\r\n init() {\r\n this.dom = {\r\n filtersContainer: document.querySelector('.filterContainer'),\r\n targetsContainer: document.querySelector('.targetsContainer'),\r\n pagerContainer: document.querySelector('.pagerContainer'),\r\n };\r\n\r\n const filters = [];\r\n this.dom.filtersContainer.querySelectorAll('.filterInput').forEach(filterInput => {\r\n let filter = new Filter(filterInput);\r\n filter.expandable = false;\r\n filter.additive = true;\r\n filter.init();\r\n filters.push(filter);\r\n });\r\n\r\n this.filterGroup = new FilterGroup(filters, this.dom.targetsContainer.children, {\r\n api: true\r\n });\r\n this.filterGroup.init();\r\n\r\n // Set defaults\r\n let el = document.getElementById('filterData');\r\n this.currentPage = parseInt(el.dataset.currentPage);\r\n this.totalPages = parseInt(el.dataset.totalPages);\r\n this.itemsPerPage = parseInt(el.dataset.itemsPerPage);\r\n \r\n if(el.dataset.parent){\r\n this.parent = el.dataset.parent;\r\n }\r\n\r\n // Labels\r\n if (el.dataset.pagingLabelNext) {\r\n this.labels.pagingNext = el.dataset.pagingLabelNext;\r\n }\r\n\r\n if (el.dataset.pagingLabelOf) {\r\n this.labels.pagingOf = el.dataset.pagingLabelOf;\r\n }\r\n\r\n if (el.dataset.pagingLabelPreviousTitle) {\r\n this.labels.pagingPreviousTitle = el.dataset.pagingLabelPreviousTitle;\r\n }\r\n\r\n if (el.dataset.pagingLabelNextTitle) {\r\n this.labels.pagingNextTitle = el.dataset.pagingLabelNextTitle;\r\n }\r\n\r\n if (el.dataset.journalATitle) {\r\n this.labels.journalATitle = el.dataset.journalATitle;\r\n }\r\n\r\n if(el.dataset.viewProject){\r\n this.labels.viewProject = el.dataset.viewProject;\r\n }\r\n\r\n if (el.dataset.titleDate) {\r\n this.labels.titleDate = el.dataset.titleDate;\r\n }\r\n\r\n if (el.dataset.titleAlphabetical) {\r\n this.labels.titleAlphabetical = el.dataset.titleAlphabetical;\r\n }\r\n\r\n if (el.dataset.showXFilters) {\r\n this.labels.showXFilters = el.dataset.showXFilters;\r\n }\r\n\r\n if (el.dataset.noResults) {\r\n this.labels.noResults = el.dataset.noResults;\r\n }\r\n\r\n if(el.dataset.lang){\r\n this.lang = el.dataset.lang;\r\n }\r\n\r\n this.pager = new Pager({\r\n currentPage: this.currentPage,\r\n totalPages: this.totalPages,\r\n\r\n labelNext: this.labels.pagingNext,\r\n labelOf: this.labels.pagingOf,\r\n labelPreviousTitle: this.labels.pagingPreviousTitle,\r\n labelNextTitle: this.labels.pagingNextTitle,\r\n });\r\n\r\n if (this.currentPage > 1) {\r\n this.pager.previousUrl = `${location.pathname}?page=${this.currentPage - 1}`;\r\n }\r\n\r\n if (this.currentPage < this.totalPages) {\r\n this.pager.nextUrl = `${location.pathname}?page=${this.currentPage + 1}`;\r\n }\r\n\r\n // Replace pager from backend with JS-controlled one\r\n this.dom.pagerContainer.innerHTML = '';\r\n this.dom.pagerContainer.appendChild(this.pager.generate());\r\n this.pager.currentPage = this.currentPage; // Forces a recheck to enable/disable buttons in the pager\r\n\r\n this.hideXFilters();\r\n\r\n this.setEventListeners();\r\n }\r\n\r\n setEventListeners() {\r\n this.filterGroup.filters.forEach(filter => {\r\n filter.element.addEventListener('update', () => {\r\n this.currentPage = 1; // Reset paging because filters completely change the shown items in the results\r\n this.update();\r\n });\r\n });\r\n\r\n // Sort\r\n document.querySelectorAll('.sortOption input').forEach(sortInput => {\r\n sortInput.addEventListener('change', () => {\r\n this.sort = document.querySelector('.sortOption input:checked').value;\r\n this.currentPage = 1;\r\n this.update();\r\n\r\n switch (this.sort) {\r\n case 'alphabetical':\r\n document.querySelector('h1').innerHTML = this.labels.titleAlphabetical;\r\n break;\r\n\r\n case 'date':\r\n default:\r\n document.querySelector('h1').innerHTML = this.labels.titleDate;\r\n break;\r\n }\r\n });\r\n });\r\n\r\n this.pager.generate().querySelectorAll('a.next').forEach(a => {\r\n a.addEventListener('click', e => {\r\n e.preventDefault();\r\n\r\n this.currentPage++;\r\n this.update();\r\n });\r\n });\r\n\r\n this.pager.generate().querySelectorAll('a.previous').forEach(a => {\r\n a.addEventListener('click', e => {\r\n e.preventDefault();\r\n\r\n this.currentPage--;\r\n this.update();\r\n });\r\n });\r\n\r\n // Listeners for filter visibility\r\n // Mobile only: open filter popup\r\n document.querySelector('a.openFilters').addEventListener('click', e => {\r\n e.preventDefault();\r\n this.dom.filtersContainer.classList.remove('mobileHidden');\r\n });\r\n\r\n // Mobile only: close filter popup\r\n this.dom.filtersContainer.querySelector('.filterContainerClose').addEventListener('click', () => {\r\n this.dom.filtersContainer.classList.add('mobileHidden');\r\n });\r\n /* this.dom.filterContainer.querySelector('a.c2a').addEventListener('click', () => {\r\n this.filterContainer.classList.add('hidden');\r\n }); */\r\n\r\n // Mobile only: close filter popup on escape\r\n document.addEventListener('keyup', e => {\r\n if (e.keyCode === 27/* && (this.app.isXS() || this.app.isSM()) */) {\r\n this.dom.filtersContainer.classList.add('mobileHidden');\r\n }\r\n });\r\n\r\n this.filterGroup.filters.forEach(filter => {\r\n filter.dom.display.addEventListener('click', () => {\r\n filter.element.classList.toggle('expanded');\r\n });\r\n });\r\n\r\n // History\r\n this.historyListener = this.history.listen((undefined, action) => {\r\n if (action == 'POP') {\r\n if (this.getURLParameters().page) {\r\n this.currentPage = parseInt(this.getURLParameters().page);\r\n this.update(false);\r\n }\r\n }\r\n });\r\n }\r\n\r\n createList(data) {\r\n if (data.length) {\r\n this.items = [];\r\n\r\n data.forEach(item => {\r\n let project = new Project({\r\n title: item.Title,\r\n author: (item.AuthorName ? item.AuthorName : ''),\r\n url: item.Url,\r\n date: item.CreateDate,\r\n image: item.ImageUrl,\r\n labelATitle: this.labels.journalATitle,\r\n viewProject: this.labels.viewProject\r\n });\r\n\r\n this.items.push(project);\r\n\r\n this.dom.targetsContainer.appendChild(project.generate());\r\n });\r\n\r\n window.slimmage.cr();\r\n } else {\r\n const message = document.createElement('span');\r\n message.setAttribute('style', `opacity: .9;padding: 20px 15px;`);\r\n message.innerText = this.labels.noResults || 'geen resultaten';\r\n this.dom.targetsContainer.appendChild(message);\r\n }\r\n }\r\n\r\n updatePager() {\r\n this.pager.totalPages = this.totalPages;\r\n this.pager.currentPage = this.currentPage;\r\n\r\n if (this.filterGroup.filterData.striberid) {\r\n if (this.currentPage > 1) {\r\n this.pager.previousUrl = `${location.pathname}?striber=${this.filterGroup.filterData.striberid}&page=${this.currentPage - 1}`;\r\n }\r\n \r\n if (this.currentPage < this.totalPages) {\r\n this.pager.nextUrl = `${location.pathname}?striber=${this.filterGroup.filterData.striberid}&page=${this.currentPage + 1}`;\r\n }\r\n } else {\r\n if (this.currentPage > 1) {\r\n this.pager.previousUrl = `${location.pathname}?page=${this.currentPage - 1}`;\r\n }\r\n \r\n if (this.currentPage < this.totalPages) {\r\n this.pager.nextUrl = `${location.pathname}?page=${this.currentPage + 1}`;\r\n }\r\n }\r\n }\r\n\r\n updateUrl() {\r\n let pathname = ``;\r\n if (this.filterGroup.filterData.striberid) {\r\n if (this.currentPage == 1) {\r\n pathname = `?striberid=${this.filterGroup.filterData.striberid}`;\r\n } else {\r\n pathname = `?striberid=${this.filterGroup.filterData.striberid}&page=${this.currentPage}`;\r\n }\r\n } else {\r\n if (!this.currentPage == 1) {\r\n pathname = `?page=${this.currentPage}`;\r\n }\r\n }\r\n\r\n this.history.push({pathname});\r\n \r\n }\r\n\r\n clearList() {\r\n this.dom.targetsContainer.innerHTML = '';\r\n }\r\n\r\n update(updateHistory = true) {\r\n let data = this.filterGroup.filterData;\r\n data.page = this.currentPage;\r\n data.itemsPerPage = this.itemsPerPage;\r\n data.sortOrder = this.sort;\r\n data.lang = this.lang;\r\n\r\n let queryString = '?' + Object.keys(data).map(key => {\r\n return encodeURIComponent(key) + '=' + encodeURIComponent(data[key])\r\n }).join('&');\r\n\r\n if(this.parent)\r\n {\r\n queryString += `&fromparent=${this.parent}`;\r\n }\r\n\r\n // If another call is in progress, cancel it.\r\n if (this.apiCall !== null) {\r\n this.apiCallAbortController.abort();\r\n this.apiCall = null;\r\n }\r\n\r\n this.apiCall = fetch(`${this.api}${queryString}`, {\r\n signal: this.apiCallAbortController.signal,\r\n });\r\n this.apiCall.then(response => {\r\n return response.json();\r\n }).then(result => {\r\n this.currentPage = result.CurrentPage;\r\n this.totalPages = result.TotalPages;\r\n\r\n this.clearList();\r\n this.createList(result.Data);\r\n this.updatePager();\r\n\r\n if (updateHistory) {\r\n this.updateUrl();\r\n }\r\n\r\n this.apiCall = null;\r\n }).catch(err => {\r\n console.log('Call cancelled');\r\n });\r\n }\r\n\r\n getURLParameters() {\r\n let vars = {};\r\n let parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi, function(m,key,value) {\r\n vars[key] = value;\r\n });\r\n return vars;\r\n }\r\n\r\n hideXFilters() {\r\n this.filterGroup.filters.forEach(filter => {\r\n if (filter.element.dataset.show !== undefined) {\r\n let show = parseInt(filter.element.dataset.show);\r\n\r\n let hidden = [];\r\n filter.element.querySelectorAll('ul li').forEach((listitem, index) => {\r\n if ((index + 1) > show) {\r\n // Only hide if it isn't checked\r\n if (!listitem.querySelector('input').checked) {\r\n hidden.push(listitem);\r\n }\r\n }\r\n });\r\n\r\n if (hidden.length > 1) {\r\n // Add a showAll link after the list\r\n let tempDiv = document.createElement('div');\r\n tempDiv.innerHTML = `${this.labels.showXFilters.replace('{0}', hidden.length)}`;\r\n const a = tempDiv.firstChild;\r\n a.addEventListener('click', e => {\r\n hidden.forEach(listitem => listitem.classList.remove('hidden'));\r\n a.remove();\r\n });\r\n\r\n hidden.forEach(listitem => listitem.classList.add('hidden'));\r\n\r\n filter.element.querySelector('ul').parentNode.insertBefore(a, filter.element.querySelector('ul').nextSibling);\r\n }\r\n }\r\n });\r\n }\r\n}","export default class ShareController {\r\n /**\r\n * @param {boolean} autoInit If disabled, you have to call the init method after creating the object\r\n */\r\n\tconstructor(autoInit = true) {\r\n\t\tthis.selector = '.shareContainer';\r\n\t\tthis.url = null;\r\n\t\tthis.description = null;\r\n this.image = null;\r\n this.tagTitle = null;\r\n\t\tthis.mobile = null;\r\n\t\tthis.analytics = false;\r\n\t\tthis.order = ['facebook', 'linkedin', 'twitter', 'email', 'whatsapp']; // If order should be different than default: fill with an array like this: ['facebook', 'linkedin'] etc.\r\n\r\n\t\tthis.medias = {\r\n\t\t\twhatsapp: {\r\n\t\t\t\tname: 'WhatsApp',\r\n\t\t\t\tenabled: true,\r\n\t\t\t\ticon: ``,\r\n\t\t\t\tmobileOnly: true,\r\n\t\t\t},\r\n\t\t\tfacebook: {\r\n\t\t\t\tname: 'Facebook',\r\n\t\t\t\tenabled: true,\r\n\t\t\t\ticon: ``,\r\n\t\t\t\tmobileOnly: false,\r\n\t\t\t},\r\n\t\t\tlinkedin: {\r\n\t\t\t\tname: 'LinkedIn',\r\n\t\t\t\tenabled: true,\r\n\t\t\t\ticon: ``,\r\n\t\t\t\tmobileOnly: false,\r\n\t\t\t},\r\n\t\t\ttwitter: {\r\n\t\t\t\tname: 'Twitter',\r\n\t\t\t\tenabled: true,\r\n\t\t\t\ticon: ``,\r\n\t\t\t\tmobileOnly: false,\r\n\t\t\t},\r\n\t\t\temail: {\r\n\t\t\t\tname: 'e-mail',\r\n\t\t\t\tenabled: true,\r\n\t\t\t\ticon: ``,\r\n\t\t\t\tmobileOnly: false,\r\n\t\t\t}\r\n\t\t};\r\n\r\n\t\tif (autoInit) {\r\n\t\t\tthis.init();\r\n\t\t}\r\n\t}\r\n\r\n\tinit() {\r\n\t\tif (document.querySelectorAll(this.selector).length) {\r\n\t\t\tif (this.url === null) {\r\n\t\t\t\t// Use current page\r\n\t\t\t\tthis.url = window.location.href;\r\n\t\t\t}\r\n\t\r\n\t\t\tif (this.description === null) {\r\n\t\t\t\tthis.description = this.autoObtainDescription();\r\n\t\t\t}\r\n\t\r\n\t\t\tif (this.mobile === null) {\r\n\t\t\t\tthis.mobile = this.autoObtainMobile();\r\n\t\t\t}\r\n\t\r\n\t\t\tthis.createShareButtons();\r\n\t\t}\r\n\t}\r\n\r\n /**\r\n * @returns {string} - String containing a description\r\n */\r\n\tautoObtainDescription() {\r\n\t\tlet metaDescription = null;\r\n\t\tlet ogDescription = null;\r\n\r\n\t\tlet metaTags = document.head.getElementsByTagName('meta');\r\n\r\n\t\tfor (var metaIndex = 0; metaIndex < metaTags.length; metaIndex++) {\r\n\t\t\tif (metaTags[metaIndex].getAttribute('property') === 'description') {\r\n\t\t\t\tmetaDescription = metaTags[metaIndex].getAttribute('content');\r\n\t\t\t}\r\n\t\t\tif (metaTags[metaIndex].getAttribute('property') === 'og:description') {\r\n\t\t\t\togDescription = metaTags[metaIndex].getAttribute('content');\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (metaDescription === null && ogDescription === null) {\r\n\t\t\treturn '';\r\n\t\t} else if (ogDescription !== null) {\r\n\t\t\treturn ogDescription;\r\n\t\t} else {\r\n\t\t\treturn metaDescription;\r\n\t\t}\r\n\t}\r\n\r\n\tautoObtainMobile() {\r\n\t\treturn /iPhone|Android|Blackberry/i.test(navigator.userAgent); // Crude but effective\r\n\t}\r\n\r\n // Social media specific methods\r\n \r\n\r\n /**\r\n * \r\n * @param {string} media \r\n */\r\n obtainTagTitle(media) {\r\n if (this.tagTitle === null) {\r\n return `Deel via ${this.medias[media].name}`;\r\n } else {\r\n return this.tagTitle.replace('MEDIA', this.medias[media].name);\r\n }\r\n }\r\n\r\n\t// Social media specific methods\r\n\twhatsapp() {\r\n\t\treturn `https://wa.me?text=${encodeURIComponent(this.url)}`;\r\n\t}\r\n\r\n\tfacebook() {\r\n\t\treturn `https://www.facebook.com/sharer.php?u=${encodeURIComponent(this.url)}`;\r\n\t}\r\n\r\n\ttwitter() {\r\n\t\tlet url = `https://twitter.com/intent/tweet?url=${encodeURIComponent(this.url)}`;\r\n\t\tif (this.description !== '') {\r\n\t\t\turl += `&text=${encodeURIComponent(this.description)}`;\r\n\t\t} else if (document.title) {\r\n url += `&text=${encodeURIComponent(document.title)}`;\r\n }\r\n\t\treturn url;\r\n\t}\r\n\r\n\tlinkedin() {\r\n\t\tlet url = `https://www.linkedin.com/shareArticle?url=${encodeURIComponent(this.url)}&mini=true`;\r\n\t\tif (this.description !== '') {\r\n\t\t\turl += `&summary=${encodeURIComponent(this.description)}`;\r\n\t\t}\r\n\t\treturn url;\r\n\t}\r\n\r\n\temail() {\r\n\t\treturn `mailto:?body=${encodeURIComponent(this.url) + ' ' + this.description}&subject=Ik heb een interessante pagina gevonden: ${document.title}`;\r\n\t}\r\n\r\n\t// Final methods\r\n\r\n\tcreateShareButtons() {\r\n\t\tlet list;\r\n\t\tif (this.order) {\r\n\t\t\tlist = this.order;\r\n\t\t} else {\r\n\t\t\tlist = Object.keys(this.medias);\r\n\t\t}\r\n\r\n\t\tdocument.querySelectorAll(this.selector).forEach(container => {\r\n\t\t\tlist.forEach(media => {\r\n\t\t\t\tif (this.medias[media].enabled) {\r\n\t\t\t\t\tlet renderIcon = true;\r\n\t\t\t\t\tif (this.medias[media].mobileOnly && !this.mobile) {\r\n\t\t\t\t\t\trenderIcon = false;\r\n\t\t\t\t\t}\r\n\t\r\n\t\t\t\t\tif (renderIcon) {\r\n\t\t\t\t\t\tlet tag = document.createElement('a');\r\n\t\t\t\t\t\ttag.setAttribute('target', '_blank');\r\n\t\t\t\t\t\ttag.setAttribute('rel', 'noopener');\r\n\t\t\t\t\t\ttag.href = this[media]();\r\n\t\t\t\t\t\ttag.title = this.obtainTagTitle(media);\r\n\t\t\t\t\t\ttag.innerHTML = this.medias[media].icon;\r\n\t\r\n\t\t\t\t\t\tthis.bindEvents(tag, media);\r\n\t\t\t\t\t\tcontainer.appendChild(tag);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t});\r\n\t}\r\n\r\n\t/**\r\n\t * \r\n\t * @param {HTMLLinkElement} link - Link tag that needs to be listened to\r\n\t * @param {string} media - Type of social media\r\n\t */\r\n\tbindEvents(link, media) {\r\n\t\tlink.addEventListener('click', e => {\r\n\t\t\te.preventDefault();\r\n\t\t\twindow.open(link.href, 'NewWindow', `menubar=no,toolbar=no,status=no,width=570,height=570,top=${(screen.height - 570) / 2},left=${(screen.width - 570) / 2}`);\r\n\r\n\t\t\tif (this.analytics) {\r\n\t\t\t\tif (window._gat) {\r\n\t\t\t\t\t//console.log(`window._gaq.push(['_trackEvent', 'Social share', '${media}', '${this.url}']);`);\r\n\t\t\t\t\twindow._gaq.push(['_trackEvent', 'Social share', media, this.url]);\r\n\t\t\t\t} else if (window.ga) {\r\n\t\t\t\t\t//console.log(`window.ga('send', 'event', 'Social share', '${media}', '${this.url}');`);\r\n\t\t\t\t\twindow.ga('send', 'event', 'Social share', media, this.url);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\treturn false;\r\n\t\t});\r\n\t}\r\n}","export default class SliderController {\r\n constructor() {\r\n this.selector = 'ul.slider';\r\n this.sliders = [];\r\n\r\n if (document.querySelectorAll(this.selector).length) {\r\n this.init();\r\n }\r\n\r\n if (document.body.classList.contains('shopproductdetailpage')) {\r\n this.initDoubleSlider(\"product\");\r\n }\r\n\r\n if(document.body.classList.contains('projectdetailpage'))\r\n {\r\n this.initDoubleSlider(\"project\");\r\n }\r\n\r\n if(document.body.classList.contains('coursedetailpage'))\r\n {\r\n this.initDoubleSlider(\"course\");\r\n }\r\n }\r\n\r\n init() {\r\n // import(/* webpackChunkName: \"modules/carousel\" */ 'slick-carousel').then(module => {\r\n // Slick's available in jQuery from here on\r\n\r\n document.querySelectorAll(this.selector).forEach(slider => {\r\n if (slider.classList.contains('productSlider')) {\r\n this.sliders.push($(slider).slick({\r\n dots: true,\r\n infinite: true,\r\n autoplay: true,\r\n autoplaySpeed: 2000,\r\n slidesToShow: 1,\r\n fade: true,\r\n prevArrow: document.querySelector('.previousContainer a'),\r\n nextArrow: document.querySelector('.nextContainer a'),\r\n appendDots: document.querySelector('.dotsContainer'),\r\n }));\r\n } else {\r\n this.sliders.push($(slider).slick({\r\n dots: true,\r\n slidesPerRow: 4,\r\n mobileFirst: true,\r\n infinite: false,\r\n prevArrow: '.sliderControls .prev button',\r\n appendDots: '.sliderControls .dots',\r\n nextArrow: '.sliderControls .next button',\r\n responsive: [{\r\n breakpoint: 768,\r\n settings: {\r\n slidesPerRow: 4,\r\n rows: 1\r\n }\r\n }]\r\n }));\r\n }\r\n });\r\n // });\r\n }\r\n\r\n initDoubleSlider(selectorName) {\r\n // Special case due to linking two sliders\r\n // import(/* webpackChunkName: \"modules/carousel\" */ 'slick-carousel').then(module => {\r\n\r\n const $main = $(`.${selectorName}ImageSliderMain`);\r\n const $small = $(`.${selectorName}ImagesSliderSmall`);\r\n\r\n if ($main.length && $small.length) {\r\n console.log({\r\n mainSlider: $main.children('ul'),\r\n mainPrevious: $main.find('.previousContainer a'),\r\n \r\n })\r\n\r\n const $mainSlider = $main.children('ul');\r\n const $mainPrevious = $main.find('.previousContainer a');\r\n const $mainNext = $main.find('.nextContainer a');\r\n\r\n const $smallSlider = $small.children('ul');\r\n const $smallPrevious = $small.find('.previousContainer a');\r\n const $smallNext = $small.find('.nextContainer a');\r\n\r\n console.log($mainNext[0]);\r\n\r\n this.sliders.push($mainSlider.slick({\r\n prevArrow: $mainPrevious,\r\n nextArrow: $mainNext,\r\n asNavFor: $smallSlider,\r\n infinite: false,\r\n }));\r\n\r\n this.sliders.push($smallSlider.slick({\r\n prevArrow: $smallPrevious,\r\n nextArrow: $smallNext,\r\n asNavFor: $mainSlider,\r\n slidesToShow: 5,\r\n slidesToScroll: 1,\r\n focusOnSelect: true,\r\n infinite: false,\r\n }));\r\n }\r\n\r\n // });\r\n }\r\n}","import Filter from './filters/filter';\r\nimport FilterGroup from './filters/filterGroup';\r\nimport Journal from '../elements/journal';\r\nimport Pager from '../elements/pager';\r\nimport {createBrowserHistory} from 'history';\r\n\r\nexport default class StribersOverviewController {\r\n constructor() {\r\n this.filterGroup;\r\n this.dom;\r\n this.currentPage = 1;\r\n this.totalPages = 1;\r\n this.itemsPerPage = 15;\r\n this.sort = 'recent';\r\n this.api = '/umbraco/api/stribersoverview/filter';\r\n this.apiCall = null;\r\n this.apiCallAbortController = new AbortController();\r\n this.history = createBrowserHistory();\r\n this.historyListener = null;\r\n\r\n this.labels = {\r\n pagingNext: 'Volgende',\r\n pagingOf: 'van',\r\n pagingPreviousTitle: 'Ga naar de vorige pagina',\r\n pagingNextTitle: 'Ga naar de volgende pagina',\r\n journalATitle: 'Ga naar de pagina ',\r\n showXFilters: '+ {0} meer',\r\n noResults: 'geen resultaten gevonden. al geprobeerd je filters aan te passen?',\r\n };\r\n \r\n if (document.body.classList.contains('stribersoverviewpage')) {\r\n this.init();\r\n }\r\n }\r\n\r\n init() {\r\n this.dom = {\r\n filtersContainer: document.querySelector('.filterContainer'),\r\n targetsContainer: document.querySelector('.targetsContainer'),\r\n pagerContainer: document.querySelector('.pagerContainer'),\r\n };\r\n\r\n const filters = [];\r\n this.dom.filtersContainer.querySelectorAll('.filterInput').forEach(filterInput => {\r\n let filter = new Filter(filterInput);\r\n filter.expandable = false;\r\n filter.additive = true;\r\n filter.init();\r\n filters.push(filter);\r\n });\r\n\r\n this.filterGroup = new FilterGroup(filters, this.dom.targetsContainer.children, {\r\n api: true\r\n });\r\n this.filterGroup.init();\r\n\r\n // Set defaults\r\n let el = document.getElementById('filterData');\r\n this.currentPage = parseInt(el.dataset.currentPage);\r\n this.totalPages = parseInt(el.dataset.totalPages);\r\n this.itemsPerPage = parseInt(el.dataset.itemsPerPage);\r\n\r\n // Labels\r\n if (el.dataset.pagingLabelNext) {\r\n this.labels.pagingNext = el.dataset.pagingLabelNext;\r\n }\r\n\r\n if (el.dataset.pagingLabelOf) {\r\n this.labels.pagingOf = el.dataset.pagingLabelOf;\r\n }\r\n\r\n if (el.dataset.pagingLabelOf) {\r\n this.labels.pagingOf = el.dataset.pagingLabelOf;\r\n }\r\n\r\n if (el.dataset.pagingLabelPreviousTitle) {\r\n this.labels.pagingPreviousTitle = el.dataset.pagingLabelPreviousTitle;\r\n }\r\n\r\n if (el.dataset.pagingLabelNextTitle) {\r\n this.labels.pagingNextTitle = el.dataset.pagingLabelNextTitle;\r\n }\r\n\r\n if (el.dataset.journalATitle) {\r\n this.labels.journalATitle = el.dataset.journalATitle;\r\n }\r\n\r\n if (el.dataset.showXFilters) {\r\n this.labels.showXFilters = el.dataset.showXFilters;\r\n }\r\n\r\n if (el.dataset.noResults) {\r\n this.labels.noResults = el.dataset.noResults;\r\n }\r\n\r\n if(el.dataset.lang){\r\n this.lang = el.dataset.lang;\r\n }\r\n\r\n this.pager = new Pager({\r\n currentPage: this.currentPage,\r\n totalPages: this.totalPages,\r\n\r\n labelNext: this.labels.pagingNext,\r\n labelOf: this.labels.pagingOf,\r\n labelPreviousTitle: this.labels.pagingPreviousTitle,\r\n labelNextTitle: this.labels.pagingNextTitle,\r\n });\r\n\r\n if (this.currentPage > 1) {\r\n this.pager.previousUrl = `${location.pathname}?page=${this.currentPage - 1}`;\r\n }\r\n\r\n if (this.currentPage < this.totalPages) {\r\n this.pager.nextUrl = `${location.pathname}?page=${this.currentPage + 1}`;\r\n }\r\n\r\n // Replace pager from backend with JS-controlled one\r\n this.dom.pagerContainer.innerHTML = '';\r\n this.dom.pagerContainer.appendChild(this.pager.generate());\r\n this.pager.currentPage = this.currentPage; // Forces a recheck to enable/disable buttons in the pager\r\n\r\n this.hideXFilters();\r\n\r\n this.setEventListeners();\r\n }\r\n\r\n setEventListeners() {\r\n this.filterGroup.filters.forEach(filter => {\r\n filter.element.addEventListener('update', () => {\r\n this.currentPage = 1; // Reset paging because filters completely change the shown items in the results\r\n this.update();\r\n });\r\n });\r\n\r\n // Sort\r\n document.querySelectorAll('.sortOption input').forEach(sortInput => {\r\n sortInput.addEventListener('change', () => {\r\n this.sort = document.querySelector('.sortOption input:checked').value;\r\n this.currentPage = 1;\r\n this.update();\r\n\r\n /* switch (this.sort) {\r\n case 'popularity':\r\n document.querySelector('h1').innerHTML = this.labels.titlePopular;\r\n break;\r\n\r\n case 'date':\r\n default:\r\n document.querySelector('h1').innerHTML = this.labels.titleDate;\r\n break;\r\n } */\r\n });\r\n });\r\n\r\n this.pager.generate().querySelectorAll('a.next').forEach(a => {\r\n a.addEventListener('click', e => {\r\n e.preventDefault();\r\n\r\n this.currentPage++;\r\n this.update();\r\n });\r\n });\r\n\r\n this.pager.generate().querySelectorAll('a.previous').forEach(a => {\r\n a.addEventListener('click', e => {\r\n e.preventDefault();\r\n\r\n this.currentPage--;\r\n this.update();\r\n });\r\n });\r\n\r\n // Listeners for filter visibility\r\n // Mobile only: open filter popup\r\n document.querySelector('a.openFilters').addEventListener('click', e => {\r\n e.preventDefault();\r\n this.dom.filtersContainer.classList.remove('mobileHidden');\r\n });\r\n\r\n // Mobile only: close filter popup\r\n this.dom.filtersContainer.querySelector('.filterContainerClose').addEventListener('click', () => {\r\n this.dom.filtersContainer.classList.add('mobileHidden');\r\n });\r\n /* this.dom.filterContainer.querySelector('a.c2a').addEventListener('click', () => {\r\n this.filterContainer.classList.add('hidden');\r\n }); */\r\n\r\n // Mobile only: close filter popup on escape\r\n document.addEventListener('keyup', e => {\r\n if (e.keyCode === 27/* && (this.app.isXS() || this.app.isSM()) */) {\r\n this.dom.filtersContainer.classList.add('mobileHidden');\r\n }\r\n });\r\n\r\n this.filterGroup.filters.forEach(filter => {\r\n filter.dom.display.addEventListener('click', () => {\r\n filter.element.classList.toggle('expanded');\r\n });\r\n });\r\n\r\n // History\r\n this.historyListener = this.history.listen((undefined, action) => {\r\n if (action == 'POP') {\r\n if (this.getURLParameters().page) {\r\n this.currentPage = parseInt(this.getURLParameters().page);\r\n this.update(false);\r\n }\r\n }\r\n });\r\n }\r\n\r\n createList(data) {\r\n if (data.length) {\r\n data.forEach(item => {\r\n let striber = new Journal({ // Reusing journal template\r\n title: item.Title,\r\n author: item.AuthorName,\r\n // likes: item.Likes,\r\n url: item.Url,\r\n tags: item.tags,\r\n // date: item.CreateDate,\r\n image: item.ImageUrl,\r\n isVideo: item.IsVideo,\r\n labelATitle: this.labels.journalATitle\r\n });\r\n\r\n this.dom.targetsContainer.appendChild(striber.generate());\r\n });\r\n\r\n window.slimmage.cr();\r\n } else {\r\n const message = document.createElement('span');\r\n message.setAttribute('style', `opacity: .9;padding: 20px 15px;`);\r\n message.innerText = this.labels.noResults || 'geen resultaten';\r\n this.dom.targetsContainer.appendChild(message);\r\n }\r\n }\r\n\r\n updatePager() {\r\n this.pager.totalPages = this.totalPages;\r\n this.pager.currentPage = this.currentPage;\r\n\r\n if (this.filterGroup.filterData.striberid) {\r\n if (this.currentPage > 1) {\r\n this.pager.previousUrl = `${location.pathname}?striber=${this.filterGroup.filterData.striberid}&page=${this.currentPage - 1}`;\r\n }\r\n \r\n if (this.currentPage < this.totalPages) {\r\n this.pager.nextUrl = `${location.pathname}?striber=${this.filterGroup.filterData.striberid}&page=${this.currentPage + 1}`;\r\n }\r\n } else {\r\n if (this.currentPage > 1) {\r\n this.pager.previousUrl = `${location.pathname}?page=${this.currentPage - 1}`;\r\n }\r\n \r\n if (this.currentPage < this.totalPages) {\r\n this.pager.nextUrl = `${location.pathname}?page=${this.currentPage + 1}`;\r\n }\r\n }\r\n }\r\n\r\n updateUrl() {\r\n let pathname = ``;\r\n if (this.filterGroup.filterData.striberid) {\r\n if (this.currentPage == 1) {\r\n pathname = `?striberid=${this.filterGroup.filterData.striberid}`;\r\n } else {\r\n pathname = `?striberid=${this.filterGroup.filterData.striberid}&page=${this.currentPage}`;\r\n }\r\n } else {\r\n if (!this.currentPage == 1) {\r\n pathname = `?page=${this.currentPage}`;\r\n }\r\n }\r\n\r\n this.history.push({pathname});\r\n \r\n }\r\n\r\n clearList() {\r\n this.dom.targetsContainer.innerHTML = '';\r\n }\r\n\r\n update(updateHistory = true) {\r\n let data = this.filterGroup.filterData;\r\n data.page = this.currentPage;\r\n data.itemsPerPage = this.itemsPerPage;\r\n data.sortOrder = this.sort;\r\n data.lang = this.lang;\r\n\r\n let queryString = '?' + Object.keys(data).map(key => {\r\n return encodeURIComponent(key) + '=' + encodeURIComponent(data[key])\r\n }).join('&');\r\n\r\n // If another call is in progress, cancel it.\r\n if (this.apiCall !== null) {\r\n this.apiCallAbortController.abort();\r\n this.apiCall = null;\r\n }\r\n\r\n this.apiCall = fetch(`${this.api}${queryString}`, {\r\n signal: this.apiCallAbortController.signal,\r\n });\r\n this.apiCall.then(response => {\r\n return response.json();\r\n }).then(result => {\r\n this.currentPage = result.CurrentPage;\r\n this.totalPages = result.TotalPages;\r\n\r\n this.clearList();\r\n this.createList(result.Data);\r\n this.updatePager();\r\n\r\n if (updateHistory) {\r\n this.updateUrl();\r\n }\r\n\r\n this.apiCall = null;\r\n }).catch(err => {\r\n console.log('Call cancelled');\r\n });\r\n }\r\n\r\n getURLParameters() {\r\n let vars = {};\r\n let parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi, function(m,key,value) {\r\n vars[key] = value;\r\n });\r\n return vars;\r\n }\r\n\r\n hideXFilters() {\r\n this.filterGroup.filters.forEach(filter => {\r\n if (filter.element.dataset.show !== undefined) {\r\n let show = parseInt(filter.element.dataset.show);\r\n\r\n let hidden = [];\r\n filter.element.querySelectorAll('ul li').forEach((listitem, index) => {\r\n if ((index + 1) > show) {\r\n // Only hide if it isn't checked\r\n if (!listitem.querySelector('input').checked) {\r\n hidden.push(listitem);\r\n }\r\n }\r\n });\r\n\r\n if (hidden.length > 1) {\r\n // Add a showAll link after the list\r\n let tempDiv = document.createElement('div');\r\n tempDiv.innerHTML = `${this.labels.showXFilters.replace('{0}', hidden.length)}`;\r\n const a = tempDiv.firstChild;\r\n a.addEventListener('click', e => {\r\n hidden.forEach(listitem => listitem.classList.remove('hidden'));\r\n a.remove();\r\n });\r\n\r\n hidden.forEach(listitem => listitem.classList.add('hidden'));\r\n\r\n filter.element.querySelector('ul').parentNode.insertBefore(a, filter.element.querySelector('ul').nextSibling);\r\n }\r\n }\r\n });\r\n }\r\n}","import Tabs from './tabs.js';\r\n\r\nexport default class TabsController {\r\n constructor() {\r\n this.selector = '.tabs';\r\n this.tabs = [];\r\n\r\n this.init();\r\n }\r\n\r\n init() {\r\n if (document.querySelectorAll(this.selector).length) {\r\n document.querySelectorAll(this.selector).forEach(tabsElement => {\r\n let tabs = new Tabs(tabsElement);\r\n this.tabs.push(tabs);\r\n\r\n tabs.init();\r\n });\r\n }\r\n }\r\n}","export default class Tabs {\r\n /**\r\n * @param {Element} container Container that includes both the tab headers and tab contents\r\n */\r\n constructor(container) {\r\n this.container = container;\r\n this.headers = null;\r\n this.contents = null;\r\n this.updateHash = false;\r\n this.watchHashUpdates = false;\r\n this.selectedIndex = 0;\r\n }\r\n\r\n /**\r\n * Initialize tab functionality\r\n */\r\n init() {\r\n if (this.container.querySelectorAll('.tabHeaders .tabHeader').length && this.container.querySelectorAll('.tabContents .tabContent').length) {\r\n this.headers = this.container.querySelectorAll('.tabHeaders .tabHeader');\r\n this.contents = this.container.querySelectorAll('.tabContents .tabContent');\r\n\r\n if (this.container.dataset.updateHash !== undefined && this.container.dataset.updateHash == 'true') {\r\n this.updateHash = true;\r\n this.watchHashUpdates = true;\r\n }\r\n\r\n this.setEventListeners();\r\n this.checkHash();\r\n } else {\r\n console.error(`Headers or contents are missing for tabs:`);\r\n console.error(this.container);\r\n }\r\n }\r\n\r\n /**\r\n * Listens for clicks/keyboard presses on the tab headers\r\n */\r\n setEventListeners() {\r\n this.headers.forEach((header, index) => {\r\n const link = this.getLinkFromHeader(header);\r\n\r\n // Mouse/Touch\r\n link.addEventListener('click', e => {\r\n e.preventDefault();\r\n \r\n if (!!link.getAttribute('aria-selected')) {\r\n this.setAllTabsInactive();\r\n\r\n // Decide if a class needs to be added to indicate if a user goes 'left or right' in the tab list\r\n if (index > this.selectedIndex) {\r\n this.contents[index].classList.add('right');\r\n } else if (index < this.selectedIndex) {\r\n this.contents[index].classList.add('left');\r\n }\r\n\r\n this.setTabActive(header);\r\n\r\n this.selectedIndex = index;\r\n\r\n if (this.updateHash) {\r\n location.hash = link.getAttribute('aria-controls');\r\n }\r\n }\r\n });\r\n\r\n // Keyboard\r\n link.addEventListener('keyup', e => {\r\n e.preventDefault();\r\n if (e.key.toLowerCase() == 'enter') {\r\n // Emulate click\r\n link.click();\r\n }\r\n })\r\n });\r\n\r\n if (this.watchHashUpdates) {\r\n window.addEventListener('hashchange', this.checkHash.bind(this));\r\n }\r\n }\r\n\r\n /**\r\n * Checks location.hash and updates if it matches a tab content ID\r\n */\r\n checkHash() {\r\n const hash = location.hash.replace('#', '');\r\n this.headers.forEach(header => {\r\n const link = this.getLinkFromHeader(header);\r\n if (link.getAttribute('aria-controls') == hash) {\r\n link.click();\r\n }\r\n })\r\n }\r\n\r\n /**\r\n * Removes active status from all tab headers and tab contents\r\n */\r\n setAllTabsInactive() {\r\n this.headers.forEach(header => {\r\n const link = this.getLinkFromHeader(header);\r\n link.setAttribute('aria-selected', 'false');\r\n });\r\n\r\n this.contents.forEach(content => {\r\n content.classList.remove('active');\r\n content.classList.remove('left');\r\n content.classList.remove('right');\r\n });\r\n }\r\n\r\n /**\r\n * Sets tab header and tab content to active based on the header's `aria-controls` attribute\r\n * @param {Element} header \r\n */\r\n setTabActive(header) {\r\n const link = this.getLinkFromHeader(header);\r\n // Find matching tabContent\r\n let matchFound = false;\r\n this.contents.forEach(content => {\r\n if (content.id === link.getAttribute('aria-controls')) {\r\n matchFound = true;\r\n link.setAttribute('aria-selected', 'true');\r\n content.classList.add('active');\r\n\r\n this.container.dispatchEvent(new CustomEvent('select'));\r\n }\r\n });\r\n\r\n if (!matchFound) {\r\n console.error(`No matching tabContent found for tab ID ${link.getAttribute('aria-controls')}`);\r\n }\r\n }\r\n\r\n /**\r\n * Returns the a tag or button tag from a header\r\n * @param {Element} header\r\n * @returns {Element}\r\n */\r\n getLinkFromHeader(header) {\r\n return header.querySelector('a, button');\r\n }\r\n}","import Toast from './toast';\r\n\r\nexport default class ToastController {\r\n constructor() {\r\n this.container = document.getElementById('content');\r\n this.defaultTimeout = 3500;\r\n this.animationDuration = 400;\r\n\r\n this.checkForToasts();\r\n }\r\n\r\n new(message = null, type = 'success', timeout = this.defaultTimeout) {\r\n const toast = new Toast(message, type);\r\n this.display(toast, timeout);\r\n }\r\n\r\n display(toast, timeout) {\r\n this.container.appendChild(toast);\r\n\r\n setTimeout(() => {\r\n toast.classList.add('disappearing');\r\n\r\n setTimeout(() => {\r\n toast.remove();\r\n }, this.animationDuration);\r\n }, timeout);\r\n }\r\n\r\n checkForToasts() {\r\n document.querySelectorAll('.showToast').forEach((el, i) => {\r\n const type = el.dataset.type || 'success';\r\n const text = el.innerHTML;\r\n el.remove();\r\n\r\n setTimeout(() => {\r\n this.new(text, type);\r\n }, (i * this.defaultTimeout + 500));\r\n });\r\n }\r\n}","export default class Toast {\r\n constructor(message = null, type = 'success') {\r\n this.types = {\r\n success: {\r\n class: 'success',\r\n icon: 'icon_success',\r\n },\r\n error: {\r\n class: 'error',\r\n icon: 'icon_error',\r\n },\r\n warning: {\r\n class: 'warning',\r\n icon: 'icon_error',\r\n },\r\n };\r\n this.message = message;\r\n this.type = type;\r\n\r\n return this.init();\r\n }\r\n\r\n init() {\r\n if (!this.types[this.type]) {\r\n throw new Error(`Type ${type} not recognized`);\r\n }\r\n\r\n if (!this.message) {\r\n throw new Error(`Message missing`);\r\n }\r\n\r\n return this.getObject();\r\n }\r\n\r\n getObject() {\r\n let html = `
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n ${this.message}\r\n
\r\n
\r\n
\r\n
\r\n
`;\r\n\r\n let tempDiv = document.createElement('div');\r\n tempDiv.innerHTML = html;\r\n return tempDiv.firstChild;\r\n }\r\n}","export default class TooltipController {\r\n constructor(autoinit = true) {\r\n this.tooltip;\r\n this.selector = '[data-tooltip]';\r\n\r\n if (autoinit) {\r\n this.init();\r\n }\r\n }\r\n\r\n init() {\r\n if (document.querySelectorAll(this.selector).length) {\r\n import(/* webpackChunkName: \"modules/tooltip\" */ 'tippy.js').then(module => {\r\n this.tooltip = module.default;\r\n\r\n this.tooltips = this.tooltip(this.selector, {\r\n content: el => el.dataset.tooltip,\r\n theme: 'material',\r\n maxWidth: 230,\r\n });\r\n });\r\n }\r\n }\r\n}","import CustomHTMLElement from './customHtmlElement';\r\n\r\nexport default class Course extends CustomHTMLElement {\r\n\tconstructor(properties = {}) {\r\n\t\tsuper({\r\n\t\t\ttitle: '',\r\n\t\t\tauthor: '',\r\n\t\t\tlikes: 0,\r\n\t\t\turl: '',\r\n\t\t\ttags: [],\r\n\t\t\tdate: '',\r\n\t\t\timage: '',\r\n\t\t\tisVideo: false,\r\n\t\t\tlabelATitle: 'Ga naar de pagina ',\r\n\t\t\toriginalPrice: '',\r\n\t\t\tdiscountedPrice: '',\r\n\t\t});\r\n\t\tthis.setProperties(properties);\r\n\r\n\t\tthis._template = require('./templates/course.handlebars');\r\n\t}\r\n\r\n\tsetTitle(title = '') {\r\n\t\tthis._property('title', `${title}`);\r\n\t}\r\n\r\n\tset title(title = '') {\r\n\t\tthis.setTitle(title);\r\n\t}\r\n\r\n\tget title() {\r\n\t\treturn this._property('title');\r\n\t}\r\n\r\n\tsetAuthor(author = '') {\r\n\t\tthis._property('author', `${author}`);\r\n\t}\r\n\r\n\tset author(author = '') {\r\n\t\tthis.setAuthor(author);\r\n\t}\r\n\r\n\tget author() {\r\n\t\treturn this._property('author');\r\n\t}\r\n\r\n\tsetUrl(url = '') {\r\n\t\tthis._property('url', `${url}`);\r\n\t}\r\n\r\n\tset url(url = '') {\r\n\t\tthis.setUrl(url);\r\n\t}\r\n\r\n\tget url() {\r\n\t\treturn this._property('url');\r\n\t}\r\n\r\n\tsetDate(date = '') {\r\n\t\tthis._property('date', `${date}`);\r\n\t}\r\n\r\n\tset date(date = '') {\r\n\t\tthis.setDate(date);\r\n\t}\r\n\r\n\tget date() {\r\n\t\treturn this._property('date');\r\n\t}\r\n\r\n\tsetImage(image = '') {\r\n\t\tthis._property('image', `${image}`);\r\n\t}\r\n\r\n\tset image(image = '') {\r\n\t\tthis.setImage(image);\r\n\t}\r\n\r\n\tget image() {\r\n\t\treturn this._property('image');\r\n\t}\r\n\r\n\tsetIsVideo(isVideo = false) {\r\n\t\tthis._property('isVideo', !!isVideo);\r\n\t}\r\n\r\n\tset isVideo(isVideo = false) {\r\n\t\tthis.setIsVideo(isVideo);\r\n\t}\r\n\r\n\tget isVideo() {\r\n\t\treturn this._property('isVideo');\r\n\t}\r\n\t\r\n\tsetLabelATitle(label = 'Ga naar de pagina ') {\r\n\t\tthis._property('labelATitle', `${label}`);\r\n\t}\r\n\r\n\tset labelATitle(label = 'Ga naar de pagina ') {\r\n\t\tthis.setLabelATitle(label);\r\n\t}\r\n\r\n\tget labelATitle() {\r\n\t\treturn this._property('labelATitle');\r\n\t}\r\n\r\n\tsetOriginalPrice(label = '') {\r\n\t\tthis._property('originalPrice', `${label}`);\r\n\t}\r\n\r\n\tset originalPrice(label = '') {\r\n\t\tthis.setOriginalPrice(label);\r\n\t}\r\n\r\n\tget originalPrice() {\r\n\t\treturn this._property('originalPrice');\r\n\t}\r\n\r\n\tsetDiscountedPrice(label = '') {\r\n\t\tthis._property('discountedPrice', `${label}`);\r\n\t}\r\n\r\n\tset discountedPrice(label = '') {\r\n\t\tthis.setDiscountedPrice(label);\r\n\t}\r\n\r\n\tget discountedPrice() {\r\n\t\treturn this._property('discountedPrice');\r\n\t}\r\n\r\n\tsetIsDiscounted(isDiscounted = false) {\r\n\t\tthis._property('isDiscounted', !!isDiscounted);\r\n\t}\r\n\r\n\tset isDiscounted(isDiscounted = false) {\r\n\t\tthis.setIsDiscounted(isDiscounted);\r\n\t}\r\n\r\n\tget isDiscounted() {\r\n\t\treturn this._property('isDiscounted');\r\n\t}\r\n}","/**\r\n * Class representing an HTML element\r\n */\r\nexport default class CustomHTMLElement {\r\n /**\r\n * Creates the CustomHTMLElement\r\n * @param {object} defaultProperties - List of default element properties\r\n */\r\n\tconstructor(defaultProperties = {}) {\r\n\t\tif (window.HTMLID === undefined) {\r\n\t\t\twindow.HTMLID = 0;\r\n\t\t}\r\n\t\twindow.HTMLID++;\r\n\t\tthis._id = '_' + window.HTMLID;\r\n\t\tthis._template = null;\r\n\t\tthis._html = null;\r\n\t\tthis._object = null;\r\n\r\n\t\tthis._properties = defaultProperties;\r\n\t}\r\n\r\n /**\r\n * Generates a DOM object\r\n * @param {boolean} [forceRenew=false] - Forces a new HTMLElement to be created\r\n * @returns {HTMLElement}\r\n */\r\n\tgenerate(forceRenew = false) {\r\n\t\tif (this._template === null) {\r\n\t\t\tthrow new Error('No template was set');\r\n\t\t}\r\n\r\n\t\tif (this._object !== null && !forceRenew) {\r\n\t\t\treturn this._object;\r\n\t\t} else {\r\n\t\t\tlet containerElement = document.createElement('div');\r\n\t\t\tthis._html = this._template(this._properties);\r\n\t\t\tcontainerElement.innerHTML = this._html;\r\n\t\t\tthis._object = containerElement.firstChild;\r\n\r\n\t\t\treturn this._object;\r\n\t\t}\r\n\t}\r\n\r\n /**\r\n * Set properties for the element\r\n * @param {object} properties - List of properties that can be set on creating a new element\r\n */\r\n\tsetProperties(properties, log) {\r\n\t\tif (Object.keys(properties).length > 0) {\r\n\t\t\tObject.keys(properties).forEach(key => {\r\n\t\t\t\tif ((typeof this[`set${key.charAt(0).toUpperCase()}${key.substring(1)}`]) === 'function') {\r\n\t\t\t\t\tthis[`set${key.charAt(0).toUpperCase()}${key.substring(1)}`](properties[key]);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis._properties[key] = properties[key];\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n\r\n /**\r\n * Sets and returns one of the element's properties\r\n * @param {string} key - The property's name\r\n * @param {*} value - The property's value\r\n * @returns {*}\r\n */\r\n\t_property(key, value) {\r\n\t\tif (value === undefined) {\r\n\t\t\treturn this._properties[key];\r\n\t\t} else {\r\n\t\t\tthis._properties[key] = value;\r\n\t\t\treturn this._properties[key];\r\n\t\t}\r\n\t}\r\n}","import PagerElement from './pager';\r\n\r\nexport default class HomepagePagerElement extends PagerElement {\r\n constructor(properties = {}) {\r\n super(Object.assign(properties, {\r\n pagesArray: [1],\r\n previousUrl: '#',\r\n nextUrl: '#',\r\n }));\r\n\r\n this._template = require('./templates/homepagePager.handlebars');\r\n }\r\n\r\n setPagesArray(pagesArray = [1]) {\r\n this._property('pagesArray', pagesArray);\r\n\r\n if (this._object !== null) {\r\n this._object.querySelector('ul.pages').innerHTML = '';\r\n\r\n let pagesHtml = '';\r\n pagesArray.forEach(pageNumber => {\r\n pagesHtml += `
  • \r\n ${pageNumber}\r\n
    \r\n
  • `;\r\n });\r\n\r\n this._object.querySelector('ul.pages').innerHTML = pagesHtml;\r\n }\r\n }\r\n\r\n set pagesArray(pagesArray = [1]) {\r\n this.setPagesArray(pagesArray);\r\n }\r\n\r\n get pagesArray() {\r\n return this._property('pagesArray');\r\n }\r\n\r\n set currentPage(currentPage = 1) {\r\n super.currentPage = currentPage;\r\n\r\n if (this._object !== null) {\r\n this._object.querySelectorAll('ul.pages li').forEach(page => {\r\n page.classList.remove('active');\r\n });\r\n\r\n if (this._object.querySelector(`ul.pages li[data-page=\"${currentPage}\"]`)) {\r\n this._object.querySelector(`ul.pages li[data-page=\"${currentPage}\"]`).classList.add('active');\r\n }\r\n }\r\n }\r\n\r\n set totalPages(totalPages = 1) {\r\n let updateArray = false;\r\n if (totalPages != super.totalPages) {\r\n updateArray = true;\r\n }\r\n\r\n super.totalPages = totalPages;\r\n \r\n if (updateArray) {\r\n let pagesArray = [];\r\n\r\n for (let i = 1; i <= totalPages; i++) {\r\n pagesArray.push(i);\r\n }\r\n\r\n this.pagesArray = pagesArray;\r\n }\r\n }\r\n}","import CustomHTMLElement from './customHtmlElement';\r\n\r\nexport default class Journal extends CustomHTMLElement {\r\n\tconstructor(properties = {}) {\r\n\t\tsuper({\r\n\t\t\ttitle: '',\r\n\t\t\tauthor: '',\r\n\t\t\tlikes: 0,\r\n\t\t\turl: '',\r\n\t\t\ttags: [],\r\n\t\t\tdate: '',\r\n\t\t\timage: '',\r\n\t\t\tisVideo: false,\r\n\t\t\tlabelATitle: 'Ga naar de pagina '\r\n\t\t});\r\n\t\tthis.setProperties(properties);\r\n\r\n\t\tthis._template = require('./templates/journal.handlebars');\r\n\t}\r\n\r\n\tsetTitle(title = '') {\r\n\t\tthis._property('title', `${title}`);\r\n\t}\r\n\r\n\tset title(title = '') {\r\n\t\tthis.setTitle(title);\r\n\t}\r\n\r\n\tget title() {\r\n\t\treturn this._property('title');\r\n\t}\r\n\r\n\tsetAuthor(author = '') {\r\n\t\tthis._property('author', `${author}`);\r\n\t}\r\n\r\n\tset author(author = '') {\r\n\t\tthis.setAuthor(author);\r\n\t}\r\n\r\n\tget author() {\r\n\t\treturn this._property('author');\r\n\t}\r\n\r\n\tsetLikes(likes = 0) {\r\n\t\tthis._property('likes', parseInt(likes));\r\n\t}\r\n\r\n\tset likes(likes = 0) {\r\n\t\tthis.setLikes(likes);\r\n\t}\r\n\r\n\tget likes() {\r\n\t\treturn this._property('likes');\r\n\t}\r\n\r\n\tsetUrl(url = '') {\r\n\t\tthis._property('url', `${url}`);\r\n\t}\r\n\r\n\tset url(url = '') {\r\n\t\tthis.setUrl(url);\r\n\t}\r\n\r\n\tget url() {\r\n\t\treturn this._property('url');\r\n\t}\r\n\r\n\tsetTags(tags = []) {\r\n\t\tif (typeof tags !== 'object') {\r\n\t\t\ttags = [tags];\r\n\t\t}\r\n\r\n\t\tthis._property('tags', tags);\r\n\t}\r\n\r\n\tset tags(tags = []) {\r\n\t\tthis.setTags(tags);\r\n\t}\r\n\r\n\tget tags() {\r\n\t\treturn this._property('tags');\r\n\t}\r\n\r\n\tsetDate(date = '') {\r\n\t\tthis._property('date', `${date}`);\r\n\t}\r\n\r\n\tset date(date = '') {\r\n\t\tthis.setDate(date);\r\n\t}\r\n\r\n\tget date() {\r\n\t\treturn this._property('date');\r\n\t}\r\n\r\n\tsetImage(image = '') {\r\n\t\tthis._property('image', `${image}`);\r\n\t}\r\n\r\n\tset image(image = '') {\r\n\t\tthis.setImage(image);\r\n\t}\r\n\r\n\tget image() {\r\n\t\treturn this._property('image');\r\n\t}\r\n\r\n\tsetIsVideo(isVideo = false) {\r\n\t\tthis._property('isVideo', !!isVideo);\r\n\t}\r\n\r\n\tset isVideo(isVideo = false) {\r\n\t\tthis.setIsVideo(isVideo);\r\n\t}\r\n\r\n\tget isVideo() {\r\n\t\treturn this._property('isVideo');\r\n\t}\r\n\t\r\n\tsetLabelATitle(label = 'Ga naar de pagina ') {\r\n\t\tthis._property('labelATitle', `${label}`);\r\n\t}\r\n\r\n\tset labelATitle(label = 'Ga naar de pagina ') {\r\n\t\tthis.setLabelATitle(label);\r\n\t}\r\n\r\n\tget labelATitle() {\r\n\t\treturn this._property('labelATitle');\r\n\t}\r\n}","import CustomHTMLElement from './customHtmlElement';\r\n\r\nexport default class PagerElement extends CustomHTMLElement {\r\n\tconstructor(properties = {}) {\r\n\t\tsuper({\r\n currentPage: 1,\r\n totalPages: 1,\r\n previousUrl: '',\r\n nextUrl: '',\r\n labelNext: 'Volgende',\r\n labelOf: 'van',\r\n labelPreviousTitle: 'Ga naar de vorige pagina',\r\n labelNextTitle: 'Ga naar de volgende pagina',\r\n\t\t});\r\n\t\tthis.setProperties(properties);\r\n\r\n\t\tthis._template = require('./templates/pager.handlebars');\r\n\t}\r\n \r\n setCurrentPage(currentPage = 1) {\r\n this._property('currentPage', parseInt(currentPage));\r\n\r\n if (this._object !== null) {\r\n if (this._object.querySelector('.current span')) {\r\n this._object.querySelector('.current span').innerHTML = this._property('currentPage');\r\n }\r\n\r\n // Check if buttons need to be updated\r\n if (this.currentPage >= this.totalPages) {\r\n // Disable next buttons\r\n this._object.querySelectorAll('.next').forEach(next => {\r\n next.setAttribute('disabled', 'disabled');\r\n next.blur();\r\n });\r\n } else {\r\n // Enable next buttons\r\n this._object.querySelectorAll('.next').forEach(next => {\r\n next.removeAttribute('disabled');\r\n });\r\n }\r\n\r\n if (this.currentPage <= 1) {\r\n // Disable previous buttons\r\n this._object.querySelectorAll('.previous').forEach(previous => {\r\n previous.setAttribute('disabled', 'disabled');\r\n previous.blur();\r\n });\r\n } else {\r\n // Enable previous buttons\r\n this._object.querySelectorAll('.previous').forEach(previous => {\r\n previous.removeAttribute('disabled');\r\n });\r\n }\r\n }\r\n }\r\n\r\n set currentPage(currentPage = 1) {\r\n this.setCurrentPage(currentPage);\r\n }\r\n\r\n get currentPage() {\r\n return this._property('currentPage');\r\n }\r\n\r\n setTotalPages(totalPages = 1) {\r\n this._property('totalPages', parseInt(totalPages));\r\n\r\n if (this._object !== null && this._object.querySelector('.total span')) {\r\n this._object.querySelector('.total span').innerHTML = this._property('totalPages');\r\n }\r\n }\r\n\r\n set totalPages(totalPages = 1) {\r\n this.setTotalPages(totalPages);\r\n }\r\n\r\n get totalPages() {\r\n return this._property('totalPages');\r\n }\r\n\r\n setPreviousUrl(url = '') {\r\n this._property('previousUrl', `${url}`);\r\n\r\n if (this._object !== null) {\r\n this._object.querySelectorAll('a.previous').forEach(a => a.href = this.previousUrl);\r\n }\r\n }\r\n\r\n set previousUrl(url = '') {\r\n this.setPreviousUrl(url);\r\n }\r\n\r\n get previousUrl() {\r\n return this._property('previousUrl');\r\n }\r\n\r\n setNextUrl(url = '') {\r\n this._property('nextUrl', `${url}`);\r\n\r\n if (this._object !== null) {\r\n this._object.querySelectorAll('a.next').forEach(a => a.href = this.nextUrl);\r\n }\r\n }\r\n\r\n set nextUrl(url = '') {\r\n this.setNextUrl(url);\r\n }\r\n\r\n get nextUrl() {\r\n return this._property('nextUrl');\r\n }\r\n\r\n setLabelNext(label = 'Volgende') {\r\n this._property('labelNext', `${label}`);\r\n }\r\n\r\n set labelNext(label = 'Volgende') {\r\n this.setLabelNext(label);\r\n }\r\n\r\n get labelNext() {\r\n return this._property('labelNext');\r\n }\r\n\r\n setLabelOf(label = 'van') {\r\n this._property('labelOf', `${label}`);\r\n }\r\n\r\n set labelNext(label = 'van') {\r\n this.setLabelOf(label);\r\n }\r\n\r\n get labelOf() {\r\n return this._property('labelOf');\r\n }\r\n\r\n setLabelPreviousTitle(label = 'Ga naar de vorige pagina') {\r\n this._property('labelPreviousTitle', `${label}`);\r\n }\r\n\r\n set labelPreviousTitle(label = 'Ga naar de vorige pagina') {\r\n this.setLabelPreviousTitle(label);\r\n }\r\n\r\n get labelPreviousTitle() {\r\n return this._property('labelPreviousTitle');\r\n }\r\n\r\n setLabelNextTitle(label = 'Ga naar de volgende pagina') {\r\n this._property('labelNextTitle', `${label}`);\r\n }\r\n\r\n set labelNextTitle(label = 'Ga naar de volgende pagina') {\r\n this.setLabelNextTitle(label);\r\n }\r\n\r\n get labelNextTitle() {\r\n return this._property('labelNextTitle');\r\n }\r\n}","import CustomHTMLElement from './customHtmlElement';\r\n\r\nexport default class Project extends CustomHTMLElement {\r\n\tconstructor(properties = {}) {\r\n\t\tsuper({\r\n\t\t\ttitle: '',\r\n\t\t\tauthor: '',\r\n\t\t\turl: '',\r\n\t\t\tdate: '',\r\n\t\t\timage: '',\r\n\t\t\tlabelATitle: 'Ga naar de pagina '\r\n\t\t});\r\n\t\tthis.setProperties(properties);\r\n\r\n\t\tthis._template = require('./templates/project.handlebars');\r\n\t}\r\n\r\n\tsetTitle(title = '') {\r\n\t\tthis._property('title', `${title}`);\r\n\t}\r\n\r\n\tset title(title = '') {\r\n\t\tthis.setTitle(title);\r\n\t}\r\n\r\n\tget title() {\r\n\t\treturn this._property('title');\r\n\t}\r\n\r\n\tsetAuthor(author = '') {\r\n\t\tthis._property('author', `${author}`);\r\n\t}\r\n\r\n\tset author(author = '') {\r\n\t\tthis.setAuthor(author);\r\n\t}\r\n\r\n\tget author() {\r\n\t\treturn this._property('author');\r\n\t}\r\n\r\n\tsetUrl(url = '') {\r\n\t\tthis._property('url', `${url}`);\r\n\t}\r\n\r\n\tset url(url = '') {\r\n\t\tthis.setUrl(url);\r\n\t}\r\n\r\n\tget url() {\r\n\t\treturn this._property('url');\r\n\t}\r\n\r\n\tsetDate(date = '') {\r\n\t\tthis._property('date', `${date}`);\r\n\t}\r\n\r\n\tset date(date = '') {\r\n\t\tthis.setDate(date);\r\n\t}\r\n\r\n\tget date() {\r\n\t\treturn this._property('date');\r\n\t}\r\n\r\n\tsetImage(image = '') {\r\n\t\tthis._property('image', `${image}`);\r\n\t}\r\n\r\n\tset image(image = '') {\r\n\t\tthis.setImage(image);\r\n\t}\r\n\r\n\tget image() {\r\n\t\treturn this._property('image');\r\n\t}\r\n\t\r\n\tsetLabelATitle(label = 'Ga naar de pagina ') {\r\n\t\tthis._property('labelATitle', `${label}`);\r\n\t}\r\n\r\n\tset labelATitle(label = 'Ga naar de pagina ') {\r\n\t\tthis.setLabelATitle(label);\r\n\t}\r\n\r\n\tget labelATitle() {\r\n\t\treturn this._property('labelATitle');\r\n\t}\r\n\r\n\tsetViewProject(label = 'bekijk project') {\r\n\t\tthis._property('viewProject', `${label}`);\r\n\t}\r\n\r\n\tset viewProject(label = 'bekijk project') {\r\n\t\tthis.setViewProject(label);\r\n\t}\r\n\r\n\tget viewProject() {\r\n\t\treturn this._property('viewProject');\r\n\t}\r\n}","/**\r\n * @preserve Slimmage 0.4.1, use with ImageResizer. MIT/Apache2 dual licensed by Imazen \r\n */\r\n\r\n/* We often use string instead of dot notation to keep \r\n Closure Compiler's advanced mode from breaking APIs */\r\n/*jshint sub:true*/\r\n\r\n(function (w) { //w==window\r\n\t// Enable strict mode\r\n\t\"use strict\";\r\n\r\n\tvar s = window['slimmage'] || {};\r\n\twindow['slimmage'] = s;\r\n\tif (s['verbose'] === undefined) { s['verbose'] = false; }\r\n\tif (s['tryWebP'] === undefined) { s['tryWebP'] = false; }\r\n\tif (s['maxWidth'] === undefined) { s['maxWidth'] = 2048; }\r\n\tif (s['widthStep'] === undefined) { s['widthStep'] = 160; }\r\n\tif (s['jpegQuality'] === undefined) { s['jpegQuality'] = 90; }\r\n\tif (s['jpegRetinaQuality'] === undefined) { s['jpegRetinaQuality'] = 80; }\r\n\tif (s['webpTimeout'] === undefined) { s['webpTimeout'] = 0; }\r\n\ts['changed'] = [];\r\n\r\n\tvar log = function () { if (s['verbose'] && w.console && w.console.log) try { w.console.log.apply(w.console, arguments); } catch (e) { } };\r\n\ts.beginWebPTest = function () {\r\n\t\tif (!s['tryWebP'] || s._testingWebP) return;\r\n\t\ts._testingWebP = true;\r\n\r\n\t\tvar WebP = new Image();\r\n\t\tWebP.onload = WebP.onerror = function () {\r\n\t\t\ts['webp'] = (WebP.height == 2);\r\n\t\t\ts._testingWebP = false;\r\n\t\t\tif (s.cr) { s.cr(); }\r\n\t\t};\r\n\t\tWebP.src = 'data:image/webp;base64,UklGRjoAAABXRUJQVlA4IC4AAACyAgCdASoCAAIALmk0mk0iIiIiIgBoSygABc6WWgAA/veff/0PP8bA//LwYAAA';\r\n\t};\r\n\t//test for webp support ASAP\r\n\ts.beginWebPTest();\r\n\r\n\ts.setAttr = function (elem, name, value) {\r\n\t\tname = name.toLowerCase();\r\n\t\tif (name == \"class\") { elem.className = value; }\r\n\t\telse if (name == \"tabindex\") { elem.tabIndex = value; }\r\n\t\telse if (name == \"usemap\") { elem.useMap = value; }\r\n\t\telse {\r\n\t\t\telem.setAttribute(name, value);\r\n\t\t}\r\n\r\n\t};\r\n\ts['setAttribute'] = s.setAttr;\r\n\r\n\ts.is_blank = function (v) { return v === \"none\" || v === null || v === undefined || v === \"\" || v === false; };\r\n\ts['getCssValue'] = function (target, hyphenProp) {\r\n\t\t//See http://www.nathanaeljones.com/blog/2013/reading-max-width-cross-browser\r\n\r\n\t\tvar val = typeof (window.getComputedStyle) != \"undefined\" && window.getComputedStyle(target, null).getPropertyValue(hyphenProp);\r\n\r\n\t\t// Some browsers (IE8, Firefox 28) read \"none\" when not set. Others (IE6) respond with undefined. A value of\r\n\t\t// \"none\" is invalid and would cause an exception or be interpreted as \r\n\t\tif (!s.is_blank(val)) {\r\n\t\t\treturn val;\r\n\t\t}\r\n\r\n\t\tif (target.currentStyle) {\r\n\t\t\tval = target.currentStyle[hyphenProp.replace(/([a-z])\\-([a-z])/, function (a, b, c) { return b + c.toUpperCase(); })] || target.currentStyle[hyphenProp];\r\n\t\t}\r\n\r\n\t\treturn s.is_blank(val) ? null : val;\r\n\t};\r\n\r\n\ts['getCssPixels'] = function (target, hyphenProp) {\r\n\t\tvar val = s['getCssValue'](target, hyphenProp);\r\n\r\n\t\tif (val === null || val === \"0\" || val === 0) return val;\r\n\r\n\t\t//We can return pixels directly, but not other units\r\n\t\tif (val.slice(-2) == \"px\") return parseFloat(val.slice(0, -2));\r\n\r\n\t\t//Create a temporary sibling div to resolve units into pixels.\r\n\t\tvar temp = document.createElement(\"div\");\r\n\t\ttemp.style.overflow = temp.style.visibility = \"hidden\";\r\n\t\ttemp.style.cssFloat = \"none\";\r\n\t\ttarget.parentNode.appendChild(temp);\r\n\t\ttemp.style.width = val;\r\n\t\tvar pixels = temp.offsetWidth;\r\n\t\ttarget.parentNode.removeChild(temp);\r\n\t\treturn pixels;\r\n\t};\r\n\r\n\ts.nodesToArray = function (nodeList) {\r\n\t\tvar array = [];\r\n\t\t// iterate backwards ensuring that length is an UInt32\r\n\t\tfor (var i = nodeList.length >>> 0; i--;) {\r\n\t\t\tarray[i] = nodeList[i];\r\n\t\t}\r\n\t\treturn array;\r\n\t};\r\n\r\n /*\r\n No URI decoding/encoding is perfomed on keys or values. Caller's responsibility.\r\n\r\n vistor and mutator are applied to string.replace -> https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replace#Specifying_a_function_as_a_parameter\r\n params:\r\n 1. entire pair, incl. (optional) & and = \r\n 2. '&' (if present)\r\n 3. key\r\n 4. value\r\n\r\n mutator's result is honored. Must return param 1, or provide valid replacement.\r\n \r\n injector(query) is responsible for adding additional pairs if required. \r\n It must not produce a malformatted query.\r\n */\r\n\ts['mutateUrl'] = function (url, visitor, mutator, injector) {\r\n\t\tvar m = /^([^?#]*)?(\\?([^#]*))?(#.*)?/.exec(url);\r\n\t\tvar q = m[3] || '';\r\n\r\n\t\tvar qr = /(^&*|&+)([^&=]*)=?([^&]*)/g;\r\n\t\tq.replace(qr, visitor); //read-only, to gather data\r\n\r\n\t\tvar newq = '?' + q.replace(qr, mutator).replace(/(?:^\\?*&*)|(?:[?&]+$)/g, \"\").replace(/&&+/g, \"&\");\r\n\r\n\t\treturn (m[1] || '') + injector(newq) + (m[4] || '');\r\n\t};\r\n\r\n\t//Expects virtual, not device pixel width\r\n\ts['getImageInfo'] = function (elementWidth, previousSrc, previousPixelWidth, previousElement) {\r\n\t\tvar data = {\r\n\t\t\t'webp': s['webp'],\r\n\t\t\t'width': elementWidth,\r\n\t\t\t'dpr': window.devicePixelRatio || 1,\r\n\t\t\t'src': previousSrc,\r\n\t\t\t'element': previousElement\r\n\t\t};\r\n\t\t//Determine quality percentage\r\n\t\tvar high_density = s['webp'] ? 65 : s['jpegRetinaQuality'];\r\n\t\tvar low_density = s['webp'] ? 78 : s['jpegQuality'];\r\n\t\tdata['quality'] = data['dpr'] > 1.49 ? high_density : low_density;\r\n\r\n\t\t//Calculate raw pixels using devicePixelRatio. Limit size to maxWidth.\r\n\t\tvar idealWidth = elementWidth * data['dpr'];\r\n\t\t//Minimize variants for caching improvements; round up to nearest multiple of widthStep\r\n\t\tdata['requestedWidth'] = Math.min(s['maxWidth'], //Limit size to maxWidth\r\n\t\t\tMath.round( //Round in case widthStep isn't an integer\r\n\t\t\t\tMath.ceil(idealWidth / s['widthStep']) * s['widthStep'] //Divide, ceiling, then multiply\r\n\t\t\t)\r\n\t\t);\r\n\r\n\r\n\t\tvar a = s['adjustImageParameters'];\r\n\t\tif (a && typeof (a) === \"function\") {\r\n\t\t\ta(data);\r\n\t\t}\r\n\t\tvar finalWidth = data['requestedWidth'];\r\n\r\n\t\tif (finalWidth > previousPixelWidth) {\r\n\t\t\t//Never request a smaller image once the larger one has already started loading\r\n\t\t\tvar u = {}; //For storing raw pairs\r\n\t\t\tvar c = {}; //For storing relevant parsed info\r\n\t\t\tvar newSrc = s['mutateUrl'](\r\n\t\t\t\tpreviousSrc,\r\n\t\t\t\t//Visitor\r\n\t\t\t\tfunction (_, d, k, v) {\r\n\t\t\t\t\tu[k.toLowerCase()] = v;\r\n\t\t\t\t},\r\n\t\t\t\t//Mutator\r\n\t\t\t\tfunction (p, d, k, v) {\r\n\r\n\t\t\t\t\t//Parse existing values so we can make educated calculations for width/height\r\n\t\t\t\t\tif (c.zoom === undefined) {\r\n\t\t\t\t\t\tc.zoom = parseFloat(u.zoom || 1);\r\n\t\t\t\t\t\tif (isNaN(c.zoom)) { c.zoom = 1; }\r\n\t\t\t\t\t\tc.w = (finalWidth / c.zoom).toFixed();\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (c.ratio === undefined) {\r\n\t\t\t\t\t\tvar w = parseFloat(u.width || u.w || u.maxwidth);\r\n\t\t\t\t\t\tvar h = parseFloat(u.height || u.h || u.maxheight);\r\n\t\t\t\t\t\tif (!isNaN(w) && !isNaN(h) && w > 0 && h > 0) {\r\n\t\t\t\t\t\t\tc.ratio = w / h;\r\n\t\t\t\t\t\t\tc.h = (((finalWidth / c.zoom) / w) * h).toFixed();\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tc.ratio = 'noclue';\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tif (k.match(/^format$/i) && data['webp']) { return d + \"format=webp\"; }\r\n\t\t\t\t\tif (k.match(/^quality/i)) { return d + \"quality=\" + data['quality']; }\r\n\r\n\t\t\t\t\tif (k.match(/^(w|width|maxwidth)$/i)) { return d + k + \"=\" + c.w; }\r\n\t\t\t\t\tif (k.match(/^(h|height|maxheight)$/i)) { return d + k + \"=\" + c.h; }\r\n\r\n\t\t\t\t\treturn p;\r\n\t\t\t\t},\r\n\t\t\t\t//Injector\r\n\t\t\t\tfunction (q) { return q; });\r\n\r\n\t\t\treturn { 'src': newSrc, 'data-pixel-width': finalWidth };\r\n\t\t}\r\n\t\treturn null;\r\n\t};\r\n\ts['adjustImageSrc'] = function (img, previousSrc) {\r\n\r\n\t\tvar cssMaxWidth = s['getCssPixels'](img, 'max-width');\r\n\t\tvar result = s['getImageInfo'](cssMaxWidth,\r\n\t\t\tpreviousSrc,\r\n\t\t\timg.getAttribute('data-pixel-width') | 0,\r\n\t\t\timg);\r\n\r\n\t\tif (result) {\r\n\t\t\timg.src = result['src'];\r\n\t\t\ts.setAttr(img, 'data-pixel-width', result['data-pixel-width']);\r\n\t\t\tif (s['enforceCss']) {\r\n\t\t\t\tif (cssMaxWidth < result['data-pixel-width']) {\r\n\t\t\t\t\timg.style.width = s['getCssValue'](img, 'max-width');\r\n\t\t\t\t\ts.setAttr(img, 'data-width-enforced', true);\r\n\t\t\t\t} else {\r\n\t\t\t\t\timg.style.width = 'auto';\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\ts['changed'].push(img);\r\n\t\t\tlog(\"Slimming: updating \" + result['src']);\r\n\t\t} else if (s['enforceCss'] && img.getAttribute('data-width-enforced')) {\r\n\t\t\tvar imageWidth = parseFloat(img.getAttribute('data-pixel-width'));\r\n\t\t\tif (!isNaN(imageWidth) && cssMaxWidth >= imageWidth) {\r\n\t\t\t\timg.style.width = 'auto';\r\n\t\t\t\timg.removeAttribute('data-width-enforced');\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t};\r\n\ts.cr = function (delay) {\r\n\t\tvar i, il, j, jl, k, kl;\r\n\r\n\t\tif (s.timeoutid > 0) w.clearTimeout(s.timeoutid);\r\n\t\ts.timeoutid = 0;\r\n\r\n\t\tif (s._testingWebP && s['webpTimeout'] > 0 && !s.webp_waiting) {\r\n\t\t\ts.webp_waiting = true;\r\n\t\t\tdelay = s['webpTimeout'];\r\n\t\t}\r\n\t\tif (delay && delay > 0) {\r\n\t\t\ts.timeoutid = w.setTimeout(s.cr, delay);\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tvar stopwatch = new Date().getTime();\r\n\r\n\t\tvar newImages = 0;\r\n\t\t//1. Copy images out of noscript tags, but hide 'src' attribute as data-src\r\n\t\tvar n = s.nodesToArray(w.document.getElementsByTagName(\"noscript\"));\r\n\t\tfor (i = 0, il = n.length; i < il; i++) {\r\n\t\t\tvar ns = n[i];\r\n\t\t\tif (ns.getAttribute(\"data-slimmage\") !== null) {\r\n\r\n\t\t\t\tvar div = w.document.createElement('div');\r\n\t\t\t\tvar contents = (ns.textContent || ns.innerHTML);\r\n\t\t\t\tif (!contents || contents.replace(/[\\s\\t\\r\\n]+/, \"\").length === 0) {\r\n\t\t\t\t\t//IE doesn't let us touch noscript, so we have to use attributes.\r\n\t\t\t\t\tvar img = new Image();\r\n\t\t\t\t\tfor (var ai = 0; ai < ns.attributes.length; ai++) {\r\n\t\t\t\t\t\tvar a = ns.attributes[ai];\r\n\t\t\t\t\t\tif (a && a.specified && a.name.indexOf(\"data-img-\") === 0) {\r\n\t\t\t\t\t\t\ts.setAttr(img, a.name.slice(9 - a.name.length), a.value);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tdiv.appendChild(img);\r\n\t\t\t\t} else {\r\n\t\t\t\t\t//noscript isn't part of DOM, so we have to recreate it, unescaping html, src->data-src \r\n\t\t\t\t\tdiv.innerHTML = contents.replace(/\\s+src\\s*=\\s*(['\"])/i, \" data-src=$1\").\r\n\t\t\t\t\t\treplace(/</g, '<').replace(/>/g, '>').replace(/&/g, '&');\r\n\t\t\t\t}\r\n\t\t\t\t//Clear source values before we add it back to the dom, ensure data-slimmage is set.\r\n\t\t\t\tvar childImages = div.getElementsByTagName(\"img\");\r\n\t\t\t\tfor (j = 0, jl = childImages.length; j < jl; j++) {\r\n\t\t\t\t\tvar ci = childImages[j];\r\n\t\t\t\t\tif (ci.src !== null && ci.src.length > 0) {\r\n\t\t\t\t\t\ts.setAttr(ci, \"data-src\", ci.src);\r\n\t\t\t\t\t\tci.src = \"\";\r\n\t\t\t\t\t}\r\n\t\t\t\t\ts.setAttr(ci, \"data-slimmage\", true);\r\n\t\t\t\t\tns.parentNode.insertBefore(ci, ns);\r\n\t\t\t\t\tnewImages++;\r\n\t\t\t\t}\r\n\t\t\t\t//2. Remove old noscript tags\r\n\t\t\t\tns.parentNode.removeChild(ns);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t//3. Let plugins inject custom behavior\r\n\t\tif ('function' === typeof s['beforeAdjustSrc']) {\r\n\t\t\ts['beforeAdjustSrc']();\r\n\t\t}\r\n\r\n\t\t//4. Find images with data-slimmage and run adjustImageSrc.\r\n\t\tvar totalImages = 0;\r\n\t\tvar images = s.nodesToArray(w.document.getElementsByTagName(\"img\"));\r\n\t\tfor (k = 0, kl = images.length; k < kl; k++) {\r\n\t\t\tif (images[k].getAttribute(\"data-slimmage\") !== null) {\r\n\t\t\t\tvar previousSrc = images[k].getAttribute(\"data-src\") || images[k].src;\r\n\t\t\t\ts['adjustImageSrc'](images[k], previousSrc);\r\n\t\t\t\ttotalImages++;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t$('.imageHolderUrh [data-slimmage=\"true\"]').each(function () {\r\n\t\t\tlog(\"updating ratio\");\r\n\t\t\tif ($(this).attr('src') != null) {\r\n\t\t\t\tvar newSrc = $(this).attr('src').replace(/width=([^&]*)/, \"width=\" + $(this).parents('.imageHolderUrh').width());\r\n\t\t\t\tnewSrc = newSrc.replace(/height=([^&]*)/, \"height=\" + $(this).parents('.imageHolderUrh').height());\r\n\r\n\t\t\t\t$(this).attr('src', newSrc).attr('data-src', newSrc);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tvar changed = s['changed'].slice();\r\n\t\ts['changed'].length = 0;\r\n\r\n\t\t//5. Callback when ready\r\n\t\tif ((changed.length > 0 || !s.readyCalled) && 'function' === typeof s['readyCallback']) {\r\n\t\t\ts['readyCallback'](changed);\r\n\t\t\ts.readyCalled = true;\r\n\t\t}\r\n\r\n\t\tlog(\"Slimmage: restored \" + newImages + \" images from noscript tags, checked \" + totalImages + \" images, changed \" + changed.length + \". \" + (new Date().getTime() - stopwatch) + \"ms\");\r\n\t};\r\n\r\n\ts['checkResponsiveImages'] = s.cr;\r\n\t// Run on resize and domready (w.load as a fallback)\r\n\tif (w.addEventListener) {\r\n\t\tw.addEventListener(\"resize\", function () { s.cr(500); }, false);\r\n\t\tw.addEventListener(\"DOMContentLoaded\", function () {\r\n\t\t\ts.cr();\r\n\t\t\t// Run once only\r\n\t\t\tw.removeEventListener(\"load\", s.cr, false);\r\n\t\t}, false);\r\n\t\tw.addEventListener(\"load\", s.cr, false);\r\n\t} else if (w.attachEvent) {\r\n\t\tw.attachEvent(\"onload\", s.cr);\r\n\t\tw.attachEvent(\"onresize\", function () { s.cr(500); });\r\n\t}\r\n\r\n}(window));\r\n","window.slimmage = {\r\n verbose: false,\r\n tryWebP: false,\r\n maxWidth: 2048,\r\n widthStep: 160,\r\n jpegQuality: 90,\r\n jpegRetinaQuality: 80,\r\n webpTimeout: 0\r\n};","var canUseDOM = !!(\n typeof window !== 'undefined' &&\n window.document &&\n window.document.createElement\n);\n\nmodule.exports = canUseDOM;","var Handlebars = require(\"../../../node_modules/handlebars/runtime.js\");\nfunction __default(obj) { return obj && (obj.__esModule ? obj[\"default\"] : obj); }\nmodule.exports = (Handlebars[\"default\"] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n return \"
    \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var alias1=container.lambda, alias2=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n };\n\n return \" \"\n + alias2(alias1((depth0 != null ? lookupProperty(depth0,\"discountedPrice\") : depth0), depth0))\n + \"\\r\\n\t\t\t\t\"\n + alias2(alias1((depth0 != null ? lookupProperty(depth0,\"originalPrice\") : depth0), depth0))\n + \"\\r\\n\";\n},\"5\":function(container,depth0,helpers,partials,data) {\n var lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n };\n\n return \" \"\n + container.escapeExpression(container.lambda((depth0 != null ? lookupProperty(depth0,\"originalPrice\") : depth0), depth0))\n + \"\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.lambda, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n };\n\n return \"
  • \\r\\n
    \\r\\n \\r\\n
    \\r\\n \"\n + alias2(alias1((depth0 != null ? lookupProperty(depth0,\"title\") : depth0), depth0))\n + \"\\r\\n
    \\r\\n\"\n + ((stack1 = lookupProperty(helpers,\"if\").call(alias3,(depth0 != null ? lookupProperty(depth0,\"isDiscounted\") : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.program(5, data, 0),\"data\":data,\"loc\":{\"start\":{\"line\":18,\"column\":16},\"end\":{\"line\":23,\"column\":23}}})) != null ? stack1 : \"\")\n + \"
    \\r\\n \"\n + alias2(alias1((depth0 != null ? lookupProperty(depth0,\"author\") : depth0), depth0))\n + \"\\r\\n \"\n + alias2(alias1((depth0 != null ? lookupProperty(depth0,\"viewCourse\") : depth0), depth0))\n + \"\\r\\n
    \\r\\n
    \\r\\n
  • \";\n},\"useData\":true});","var Handlebars = require(\"../../../node_modules/handlebars/runtime.js\");\nfunction __default(obj) { return obj && (obj.__esModule ? obj[\"default\"] : obj); }\nmodule.exports = (Handlebars[\"default\"] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var alias1=container.lambda, alias2=container.escapeExpression;\n\n return \"
  • \\r\\n
    \\r\\n \"\n + alias2(alias1(depth0, depth0))\n + \"\\r\\n
    \\r\\n
  • \\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.lambda, alias2=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n };\n\n return \"
    \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
      \\r\\n\"\n + ((stack1 = lookupProperty(helpers,\"each\").call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? lookupProperty(depth0,\"pagesArray\") : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data,\"loc\":{\"start\":{\"line\":10,\"column\":16},\"end\":{\"line\":16,\"column\":25}}})) != null ? stack1 : \"\")\n + \"
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
    \";\n},\"useData\":true});","var Handlebars = require(\"../../../node_modules/handlebars/runtime.js\");\nfunction __default(obj) { return obj && (obj.__esModule ? obj[\"default\"] : obj); }\nmodule.exports = (Handlebars[\"default\"] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n return \"
    \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var alias1=container.lambda, alias2=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n };\n\n return \"
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \"\n + alias2(alias1((depth0 != null ? lookupProperty(depth0,\"likes\") : depth0), depth0))\n + \"\\r\\n
    \\r\\n
    \"\n + alias2(alias1((depth0 != null ? lookupProperty(depth0,\"date\") : depth0), depth0))\n + \"
    \\r\\n
    \\r\\n\";\n},\"5\":function(container,depth0,helpers,partials,data) {\n return \"
  • \"\n + container.escapeExpression(container.lambda(depth0, depth0))\n + \"
  • \\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.lambda, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n };\n\n return \"
  • \\r\\n
    \\r\\n \\r\\n
    \\r\\n \"\n + alias2(alias1((depth0 != null ? lookupProperty(depth0,\"author\") : depth0), depth0))\n + \"\\r\\n \"\n + alias2(alias1((depth0 != null ? lookupProperty(depth0,\"title\") : depth0), depth0))\n + \"\\r\\n\"\n + ((stack1 = lookupProperty(helpers,\"if\").call(alias3,(depth0 != null ? lookupProperty(depth0,\"likes\") : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data,\"loc\":{\"start\":{\"line\":18,\"column\":12},\"end\":{\"line\":28,\"column\":19}}})) != null ? stack1 : \"\")\n + \"
      \\r\\n\"\n + ((stack1 = lookupProperty(helpers,\"each\").call(alias3,(depth0 != null ? lookupProperty(depth0,\"tags\") : depth0),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(5, data, 0),\"inverse\":container.noop,\"data\":data,\"loc\":{\"start\":{\"line\":30,\"column\":16},\"end\":{\"line\":32,\"column\":25}}})) != null ? stack1 : \"\")\n + \"
    \\r\\n
    \\r\\n
    \\r\\n
  • \";\n},\"useData\":true});","var Handlebars = require(\"../../../node_modules/handlebars/runtime.js\");\nfunction __default(obj) { return obj && (obj.__esModule ? obj[\"default\"] : obj); }\nmodule.exports = (Handlebars[\"default\"] || Handlebars).template({\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var alias1=container.lambda, alias2=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n };\n\n return \"
    \\r\\n \"\n + alias2(alias1((depth0 != null ? lookupProperty(depth0,\"labelNext\") : depth0), depth0))\n + \"\\r\\n\\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n \"\n + alias2(alias1((depth0 != null ? lookupProperty(depth0,\"currentPage\") : depth0), depth0))\n + \"\\r\\n
    \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n
    \"\n + alias2(alias1((depth0 != null ? lookupProperty(depth0,\"labelOf\") : depth0), depth0))\n + \" \"\n + alias2(alias1((depth0 != null ? lookupProperty(depth0,\"totalPages\") : depth0), depth0))\n + \"
    \\r\\n
    \\r\\n
    \";\n},\"useData\":true});","var Handlebars = require(\"../../../node_modules/handlebars/runtime.js\");\nfunction __default(obj) { return obj && (obj.__esModule ? obj[\"default\"] : obj); }\nmodule.exports = (Handlebars[\"default\"] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n return \"
    \\r\\n \\r\\n \\r\\n \\r\\n
    \\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n };\n\n return \" \"\n + container.escapeExpression(container.lambda((depth0 != null ? lookupProperty(depth0,\"author\") : depth0), depth0))\n + \"\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.lambda, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n };\n\n return \"
  • \\r\\n
    \\r\\n \\r\\n
    \\r\\n \"\n + alias2(alias1((depth0 != null ? lookupProperty(depth0,\"title\") : depth0), depth0))\n + \"\\r\\n\"\n + ((stack1 = lookupProperty(helpers,\"if\").call(alias3,(depth0 != null ? lookupProperty(depth0,\"author\") : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data,\"loc\":{\"start\":{\"line\":17,\"column\":12},\"end\":{\"line\":19,\"column\":19}}})) != null ? stack1 : \"\")\n + \" \"\n + alias2(alias1((depth0 != null ? lookupProperty(depth0,\"viewProject\") : depth0), depth0))\n + \"\\r\\n
    \\r\\n
    \\r\\n
  • \";\n},\"useData\":true});","'use strict';\n\nexports.__esModule = true;\n// istanbul ignore next\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\n// istanbul ignore next\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj['default'] = obj; return newObj; } }\n\nvar _handlebarsBase = require('./handlebars/base');\n\nvar base = _interopRequireWildcard(_handlebarsBase);\n\n// Each of these augment the Handlebars object. No need to setup here.\n// (This is done to easily share code between commonjs and browse envs)\n\nvar _handlebarsSafeString = require('./handlebars/safe-string');\n\nvar _handlebarsSafeString2 = _interopRequireDefault(_handlebarsSafeString);\n\nvar _handlebarsException = require('./handlebars/exception');\n\nvar _handlebarsException2 = _interopRequireDefault(_handlebarsException);\n\nvar _handlebarsUtils = require('./handlebars/utils');\n\nvar Utils = _interopRequireWildcard(_handlebarsUtils);\n\nvar _handlebarsRuntime = require('./handlebars/runtime');\n\nvar runtime = _interopRequireWildcard(_handlebarsRuntime);\n\nvar _handlebarsNoConflict = require('./handlebars/no-conflict');\n\nvar _handlebarsNoConflict2 = _interopRequireDefault(_handlebarsNoConflict);\n\n// For compatibility and usage outside of module systems, make the Handlebars object a namespace\nfunction create() {\n var hb = new base.HandlebarsEnvironment();\n\n Utils.extend(hb, base);\n hb.SafeString = _handlebarsSafeString2['default'];\n hb.Exception = _handlebarsException2['default'];\n hb.Utils = Utils;\n hb.escapeExpression = Utils.escapeExpression;\n\n hb.VM = runtime;\n hb.template = function (spec) {\n return runtime.template(spec, hb);\n };\n\n return hb;\n}\n\nvar inst = create();\ninst.create = create;\n\n_handlebarsNoConflict2['default'](inst);\n\ninst['default'] = inst;\n\nexports['default'] = inst;\nmodule.exports = exports['default'];\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL2xpYi9oYW5kbGViYXJzLnJ1bnRpbWUuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7OEJBQXNCLG1CQUFtQjs7SUFBN0IsSUFBSTs7Ozs7b0NBSU8sMEJBQTBCOzs7O21DQUMzQix3QkFBd0I7Ozs7K0JBQ3ZCLG9CQUFvQjs7SUFBL0IsS0FBSzs7aUNBQ1Esc0JBQXNCOztJQUFuQyxPQUFPOztvQ0FFSSwwQkFBMEI7Ozs7O0FBR2pELFNBQVMsTUFBTSxHQUFHO0FBQ2hCLE1BQUksRUFBRSxHQUFHLElBQUksSUFBSSxDQUFDLHFCQUFxQixFQUFFLENBQUM7O0FBRTFDLE9BQUssQ0FBQyxNQUFNLENBQUMsRUFBRSxFQUFFLElBQUksQ0FBQyxDQUFDO0FBQ3ZCLElBQUUsQ0FBQyxVQUFVLG9DQUFhLENBQUM7QUFDM0IsSUFBRSxDQUFDLFNBQVMsbUNBQVksQ0FBQztBQUN6QixJQUFFLENBQUMsS0FBSyxHQUFHLEtBQUssQ0FBQztBQUNqQixJQUFFLENBQUMsZ0JBQWdCLEdBQUcsS0FBSyxDQUFDLGdCQUFnQixDQUFDOztBQUU3QyxJQUFFLENBQUMsRUFBRSxHQUFHLE9BQU8sQ0FBQztBQUNoQixJQUFFLENBQUMsUUFBUSxHQUFHLFVBQVMsSUFBSSxFQUFF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VtcywgbWFrZSB0aGUgSGFuZGxlYmFycyBvYmplY3QgYSBuYW1lc3BhY2VcbmZ1bmN0aW9uIGNyZWF0ZSgpIHtcbiAgbGV0IGhiID0gbmV3IGJhc2UuSGFuZGxlYmFyc0Vudmlyb25tZW50KCk7XG5cbiAgVXRpbHMuZXh0ZW5kKGhiLCBiYXNlKTtcbiAgaGIuU2FmZVN0cmluZyA9IFNhZmVTdHJpbmc7XG4gIGhiLkV4Y2VwdGlvbiA9IEV4Y2VwdGlvbjtcbiAgaGIuVXRpbHMgPSBVdGlscztcbiAgaGIuZXNjYXBlRXhwcmVzc2lvbiA9IFV0aWxzLmVzY2FwZUV4cHJlc3Npb247XG5cbiAgaGIuVk0gPSBydW50aW1lO1xuICBoYi50ZW1wbGF0ZSA9IGZ1bmN0aW9uKHNwZWMpIHtcbiAgICByZXR1cm4gcnVudGltZS50ZW1wbGF0ZShzcGVjLCBoYik7XG4gIH07XG5cbiAgcmV0dXJuIGhiO1xufVxuXG5sZXQgaW5zdCA9IGNyZWF0ZSgpO1xuaW5zdC5jcmVhdGUgPSBjcmVhdGU7XG5cbm5vQ29uZmxpY3QoaW5zdCk7XG5cbmluc3RbJ2RlZmF1bHQnXSA9IGluc3Q7XG5cbmV4cG9ydCBkZWZhdWx0IGluc3Q7XG4iXX0=\n","'use strict';\n\nexports.__esModule = true;\nexports.HandlebarsEnvironment = HandlebarsEnvironment;\n// istanbul ignore next\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar _utils = require('./utils');\n\nvar _exception = require('./exception');\n\nvar _exception2 = _interopRequireDefault(_exception);\n\nvar _helpers = require('./helpers');\n\nvar _decorators = require('./decorators');\n\nvar _logger = require('./logger');\n\nvar _logger2 = _interopRequireDefault(_logger);\n\nvar _internalProtoAccess = require('./internal/proto-access');\n\nvar VERSION = '4.7.8';\nexports.VERSION = VERSION;\nvar COMPILER_REVISION = 8;\nexports.COMPILER_REVISION = COMPILER_REVISION;\nvar LAST_COMPATIBLE_COMPILER_REVISION = 7;\n\nexports.LAST_COMPATIBLE_COMPILER_REVISION = LAST_COMPATIBLE_COMPILER_REVISION;\nvar REVISION_CHANGES = {\n 1: '<= 1.0.rc.2', // 1.0.rc.2 is actually rev2 but doesn't report it\n 2: '== 1.0.0-rc.3',\n 3: '== 1.0.0-rc.4',\n 4: '== 1.x.x',\n 5: '== 2.0.0-alpha.x',\n 6: '>= 2.0.0-beta.1',\n 7: '>= 4.0.0 <4.3.0',\n 8: '>= 4.3.0'\n};\n\nexports.REVISION_CHANGES = REVISION_CHANGES;\nvar objectType = '[object Object]';\n\nfunction HandlebarsEnvironment(helpers, partials, decorators) {\n this.helpers = helpers || {};\n this.partials = partials || {};\n this.decorators = decorators || {};\n\n _helpers.registerDefaultHelpers(this);\n _decorators.registerDefaultDecorators(this);\n}\n\nHandlebarsEnvironment.prototype = {\n constructor: HandlebarsEnvironment,\n\n logger: _logger2['default'],\n log: _logger2['default'].log,\n\n registerHelper: function registerHelper(name, fn) {\n if (_utils.toString.call(name) === objectType) {\n if (fn) {\n throw new _exception2['default']('Arg not supported with multiple helpers');\n }\n _utils.extend(this.helpers, name);\n } else {\n this.helpers[name] = fn;\n }\n },\n unregisterHelper: function unregisterHelper(name) {\n delete this.helpers[name];\n },\n\n registerPartial: function registerPartial(name, partial) {\n if (_utils.toString.call(name) === objectType) {\n _utils.extend(this.partials, name);\n } else {\n if (typeof partial === 'undefined') {\n throw new _exception2['default']('Attempting to register a partial called \"' + name + '\" as undefined');\n }\n this.partials[name] = partial;\n }\n },\n unregisterPartial: function unregisterPartial(name) {\n delete this.partials[name];\n },\n\n registerDecorator: function registerDecorator(name, fn) {\n if (_utils.toString.call(name) === objectType) {\n if (fn) {\n throw new _exception2['default']('Arg not supported with multiple decorators');\n }\n _utils.extend(this.decorators, name);\n } else {\n this.decorators[name] = fn;\n }\n },\n unregisterDecorator: function unregisterDecorator(name) {\n delete this.decorators[name];\n },\n /**\n * Reset the memory of illegal property accesses that have already been logged.\n * @deprecated should only be used in handlebars test-cases\n */\n resetLoggedPropertyAccesses: function resetLoggedPropertyAccesses() {\n _internalProtoAccess.resetLoggedProperties();\n }\n};\n\nvar log = _logger2['default'].log;\n\nexports.log = log;\nexports.createFrame = _utils.createFrame;\nexports.logger = _logger2['default'];\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2Jhc2UuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7cUJBQThDLFNBQVM7O3lCQUNqQyxhQUFhOzs7O3VCQUNJLFdBQVc7OzBCQUNSLGNBQWM7O3NCQUNyQyxVQUFVOzs7O21DQUNTLHlCQUF5Qjs7QUFFeEQsSUFBTSxPQUFPLEdBQUcsT0FBTyxDQUFDOztBQUN4QixJQUFNLGlCQUFpQixHQUFHLENBQUMsQ0FBQzs7QUFDNUIsSUFBTSxpQ0FBaUMsR0FBRyxDQUFDLENBQUM7OztBQUU1QyxJQUFNLGdCQUFnQixHQUFHO0FBQzlCLEdBQUMsRUFBRSxhQUFhO0FBQ2hCLEdBQUMsRUFBRSxlQUFlO0FBQ2xCLEdBQUMsRUFBRSxlQUFlO0FBQ2xCLEdBQUMsRUFBRSxVQUFVO0FBQ2IsR0FBQyxFQUFFLGtCQUFrQjtBQUNyQixHQUFDLEVBQUUsaUJBQWlCO0FBQ3BCLEdBQUMsRUFBRSxpQkFBaUI7QUFDcEIsR0FBQyxFQUFFLFVBQVU7Q0FDZCxDQUFDOzs7QUFFRixJQUFNLFVBQVUsR0FBRyxpQkFBaUIsQ0FBQzs7QUFFOUIsU0FBUyxxQkFBcUIsQ0FBQyxPQUFPLEVBQUUsUUFBUSxFQUFFLFVBQVUsRUFBRTtBQUNuRSxNQUFJLENBQUMsT0FBTyxHQUFHLE9BQU8sSUFBSSxFQUFFLENBQUM7QUFDN0IsTUFBSSxDQU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XJ0aWVzKCk7XG4gIH1cbn07XG5cbmV4cG9ydCBsZXQgbG9nID0gbG9nZ2VyLmxvZztcblxuZXhwb3J0IHsgY3JlYXRlRnJhbWUsIGxvZ2dlciB9O1xuIl19\n","'use strict';\n\nexports.__esModule = true;\nexports.registerDefaultDecorators = registerDefaultDecorators;\n// istanbul ignore next\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar _decoratorsInline = require('./decorators/inline');\n\nvar _decoratorsInline2 = _interopRequireDefault(_decoratorsInline);\n\nfunction registerDefaultDecorators(instance) {\n _decoratorsInline2['default'](instance);\n}\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2RlY29yYXRvcnMuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Z0NBQTJCLHFCQUFxQjs7OztBQUV6QyxTQUFTLHlCQUF5QixDQUFDLFFBQVEsRUFBRTtBQUNsRCxnQ0FBZSxRQUFRLENBQUMsQ0FBQztDQUMxQiIsImZpbGUiOiJkZWNvcmF0b3JzLmpzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHJlZ2lzdGVySW5saW5lIGZyb20gJy4vZGVjb3JhdG9ycy9pbmxpbmUnO1xuXG5leHBvcnQgZnVuY3Rpb24gcmVnaXN0ZXJEZWZhdWx0RGVjb3JhdG9ycyhpbnN0YW5jZSkge1xuICByZWdpc3RlcklubGluZShpbnN0YW5jZSk7XG59XG4iXX0=\n","'use strict';\n\nexports.__esModule = true;\n\nvar _utils = require('../utils');\n\nexports['default'] = function (instance) {\n instance.registerDecorator('inline', function (fn, props, container, options) {\n var ret = fn;\n if (!props.partials) {\n props.partials = {};\n ret = function (context, options) {\n // Create a new partials stack frame prior to exec.\n var original = container.partials;\n container.partials = _utils.extend({}, original, props.partials);\n var ret = fn(context, options);\n container.partials = original;\n return ret;\n };\n }\n\n props.partials[options.args[0]] = options.fn;\n\n return ret;\n });\n};\n\nmodule.exports = exports['default'];\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2RlY29yYXRvcnMvaW5saW5lLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7cUJBQXVCLFVBQVU7O3FCQUVsQixVQUFTLFFBQVEsRUFBRTtBQUNoQyxVQUFRLENBQUMsaUJBQWlCLENBQUMsUUFBUSxFQUFFLFVBQVMsRUFBRSxFQUFFLEtBQUssRUFBRSxTQUFTLEVBQUUsT0FBTyxFQUFFO0FBQzNFLFFBQUksR0FBRyxHQUFHLEVBQUUsQ0FBQztBQUNiLFFBQUksQ0FBQyxLQUFLLENBQUMsUUFBUSxFQUFFO0FBQ25CLFdBQUssQ0FBQyxRQUFRLEdBQUcsRUFBRSxDQUFDO0FBQ3BCLFNBQUcsR0FBRyxVQUFTLE9BQU8sRUFBRSxPQUFPLEVBQUU7O0FBRS9CLFlBQUksUUFBUSxHQUFHLFNBQVMsQ0FBQyxRQUFRLENBQUM7QUFDbEMsaUJBQVMsQ0FBQyxRQUFRLEdBQUcsY0FBTyxFQUFFLEVBQUUsUUFBUSxFQUFFLEtBQUssQ0FBQyxRQUFRLENBQUMsQ0FBQztBQUMxRCxZQUFJLEdBQUcsR0FBRyxFQUFFLENBQUMsT0FBTyxFQUFFLE9BQU8sQ0FBQyxDQUFDO0FBQy9CLGlCQUFTLENBQUMsUUFBUSxHQUFHLFFBQVEsQ0FBQztBQUM5QixlQUFPLEdBQUcsQ0FBQztPQUNaLENBQUM7S0FDSDs7QUFFRCxTQUFLLENBQUMsUUFBUSxDQUFDLE9BQU8sQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDLENBQUMsR0FBRyxPQUFPLENBQUMsRUFBRSxDQUFDOztBQUU3QyxXQUFPLEdBQUcsQ0FBQztHQUNaLENBQUMsQ0FBQztDQUNKIiwiZmlsZSI6ImlubGluZS5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGV4dGVuZCB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24oaW5zdGFuY2UpIHtcbiAgaW5zdGFuY2UucmVnaXN0ZXJEZWNvcmF0b3IoJ2lubGluZScsIGZ1bmN0aW9uKGZuLCBwcm9wcywgY29udGFpbmVyLCBvcHRpb25zKSB7XG4gICAgbGV0IHJldCA9IGZuO1xuICAgIGlmICghcHJvcHMucGFydGlhbHMpIHtcbiAgICAgIHByb3BzLnBhcnRpYWxzID0ge307XG4gICAgICByZXQgPSBmdW5jdGlvbihjb250ZXh0LCBvcHRpb25zKSB7XG4gICAgICAgIC8vIENyZWF0ZSBhIG5ldyBwYXJ0aWFscyBzdGFjayBmcmFtZSBwcmlvciB0byBleGVjLlxuICAgICAgICBsZXQgb3JpZ2luYWwgPSBjb250YWluZXIucGFydGlhbHM7XG4gICAgICAgIGNvbnRhaW5lci5wYXJ0aWFscyA9IGV4dGVuZCh7fSwgb3JpZ2luYWwsIHByb3BzLnBhcnRpYWxzKTtcbiAgICAgICAgbGV0IHJldCA9IGZuKGNvbnRleHQsIG9wdGlvbnMpO1xuICAgICAgICBjb250YWluZXIucGFydGlhbHMgPSBvcmlnaW5hbDtcbiAgICAgICAgcmV0dXJuIHJldDtcbiAgICAgIH07XG4gICAgfVxuXG4gICAgcHJvcHMucGFydGlhbHNbb3B0aW9ucy5hcmdzWzBdXSA9IG9wdGlvbnMuZm47XG5cbiAgICByZXR1cm4gcmV0O1xuICB9KTtcbn1cbiJdfQ==\n","'use strict';\n\nexports.__esModule = true;\nvar errorProps = ['description', 'fileName', 'lineNumber', 'endLineNumber', 'message', 'name', 'number', 'stack'];\n\nfunction Exception(message, node) {\n var loc = node && node.loc,\n line = undefined,\n endLineNumber = undefined,\n column = undefined,\n endColumn = undefined;\n\n if (loc) {\n line = loc.start.line;\n endLineNumber = loc.end.line;\n column = loc.start.column;\n endColumn = loc.end.column;\n\n message += ' - ' + line + ':' + column;\n }\n\n var tmp = Error.prototype.constructor.call(this, message);\n\n // Unfortunately errors are not enumerable in Chrome (at least), so `for prop in tmp` doesn't work.\n for (var idx = 0; idx < errorProps.length; idx++) {\n this[errorProps[idx]] = tmp[errorProps[idx]];\n }\n\n /* istanbul ignore else */\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, Exception);\n }\n\n try {\n if (loc) {\n this.lineNumber = line;\n this.endLineNumber = endLineNumber;\n\n // Work around issue under safari where we can't directly set the column value\n /* istanbul ignore next */\n if (Object.defineProperty) {\n Object.defineProperty(this, 'column', {\n value: column,\n enumerable: true\n });\n Object.defineProperty(this, 'endColumn', {\n value: endColumn,\n enumerable: true\n });\n } else {\n this.column = column;\n this.endColumn = endColumn;\n }\n }\n } catch (nop) {\n /* Ignore if the browser is very particular */\n }\n}\n\nException.prototype = new Error();\n\nexports['default'] = Exception;\nmodule.exports = exports['default'];\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2V4Y2VwdGlvbi5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxJQUFNLFVBQVUsR0FBRyxDQUNqQixhQUFhLEVBQ2IsVUFBVSxFQUNWLFlBQVksRUFDWixlQUFlLEVBQ2YsU0FBUyxFQUNULE1BQU0sRUFDTixRQUFRLEVBQ1IsT0FBTyxDQUNSLENBQUM7O0FBRUYsU0FBUyxTQUFTLENBQUMsT0FBTyxFQUFFLElBQUksRUFBRTtBQUNoQyxNQUFJLEdBQUcsR0FBRyxJQUFJLElBQUksSUFBSSxDQUFDLEdBQUc7TUFDeEIsSUFBSSxZQUFBO01BQ0osYUFBYSxZQUFBO01BQ2IsTUFBTSxZQUFBO01BQ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iAgICAgICAgICBlbnVtZXJhYmxlOiB0cnVlXG4gICAgICAgIH0pO1xuICAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkodGhpcywgJ2VuZENvbHVtbicsIHtcbiAgICAgICAgICB2YWx1ZTogZW5kQ29sdW1uLFxuICAgICAgICAgIGVudW1lcmFibGU6IHRydWVcbiAgICAgICAgfSk7XG4gICAgICB9IGVsc2Uge1xuICAgICAgICB0aGlzLmNvbHVtbiA9IGNvbHVtbjtcbiAgICAgICAgdGhpcy5lbmRDb2x1bW4gPSBlbmRDb2x1bW47XG4gICAgICB9XG4gICAgfVxuICB9IGNhdGNoIChub3ApIHtcbiAgICAvKiBJZ25vcmUgaWYgdGhlIGJyb3dzZXIgaXMgdmVyeSBwYXJ0aWN1bGFyICovXG4gIH1cbn1cblxuRXhjZXB0aW9uLnByb3RvdHlwZSA9IG5ldyBFcnJvcigpO1xuXG5leHBvcnQgZGVmYXVsdCBFeGNlcHRpb247XG4iXX0=\n","'use strict';\n\nexports.__esModule = true;\nexports.registerDefaultHelpers = registerDefaultHelpers;\nexports.moveHelperToHooks = moveHelperToHooks;\n// istanbul ignore next\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar _helpersBlockHelperMissing = require('./helpers/block-helper-missing');\n\nvar _helpersBlockHelperMissing2 = _interopRequireDefault(_helpersBlockHelperMissing);\n\nvar _helpersEach = require('./helpers/each');\n\nvar _helpersEach2 = _interopRequireDefault(_helpersEach);\n\nvar _helpersHelperMissing = require('./helpers/helper-missing');\n\nvar _helpersHelperMissing2 = _interopRequireDefault(_helpersHelperMissing);\n\nvar _helpersIf = require('./helpers/if');\n\nvar _helpersIf2 = _interopRequireDefault(_helpersIf);\n\nvar _helpersLog = require('./helpers/log');\n\nvar _helpersLog2 = _interopRequireDefault(_helpersLog);\n\nvar _helpersLookup = require('./helpers/lookup');\n\nvar _helpersLookup2 = _interopRequireDefault(_helpersLookup);\n\nvar _helpersWith = require('./helpers/with');\n\nvar _helpersWith2 = _interopRequireDefault(_helpersWith);\n\nfunction registerDefaultHelpers(instance) {\n _helpersBlockHelperMissing2['default'](instance);\n _helpersEach2['default'](instance);\n _helpersHelperMissing2['default'](instance);\n _helpersIf2['default'](instance);\n _helpersLog2['default'](instance);\n _helpersLookup2['default'](instance);\n _helpersWith2['default'](instance);\n}\n\nfunction moveHelperToHooks(instance, helperName, keepHelper) {\n if (instance.helpers[helperName]) {\n instance.hooks[helperName] = instance.helpers[helperName];\n if (!keepHelper) {\n delete instance.helpers[helperName];\n }\n }\n}\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2hlbHBlcnMuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7O3lDQUF1QyxnQ0FBZ0M7Ozs7MkJBQzlDLGdCQUFnQjs7OztvQ0FDUCwwQkFBMEI7Ozs7eUJBQ3JDLGNBQWM7Ozs7MEJBQ2IsZUFBZTs7Ozs2QkFDWixrQkFBa0I7Ozs7MkJBQ3BCLGdCQUFnQjs7OztBQUVsQyxTQUFTLHNCQUFzQixDQUFDLFFBQVEsRUFBRTtBQUMvQyx5Q0FBMkIsUUFBUSxDQUFDLENBQUM7QUFDckMsMkJBQWEsUUFBUSxDQUFDLENBQUM7QUFDdkIsb0NBQXNCLFFBQVEsQ0FBQyxDQUFDO0FBQ2hDLHlCQUFXLFFBQVEsQ0FBQyxDQUFDO0FBQ3JCLDBCQUFZLFFBQVEsQ0FBQyxDQUFDO0FBQ3RCLDZCQUFlLFFBQVEsQ0FBQyxDQUFDO0FBQ3pCLDJCQUFhLFFBQVEsQ0FBQyxDQUFDO0NBQ3hCOztBQUVNLFNBQVMsaUJBQWlCLENBQUMsUUFBUSxFQUFFLFVBQVUsRUFBRSxVQUFVLEVBQUU7QUFDbEUsTUFBSSxRQUFRLENBQUMsT0FBT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3Rlckxvb2t1cChpbnN0YW5jZSk7XG4gIHJlZ2lzdGVyV2l0aChpbnN0YW5jZSk7XG59XG5cbmV4cG9ydCBmdW5jdGlvbiBtb3ZlSGVscGVyVG9Ib29rcyhpbnN0YW5jZSwgaGVscGVyTmFtZSwga2VlcEhlbHBlcikge1xuICBpZiAoaW5zdGFuY2UuaGVscGVyc1toZWxwZXJOYW1lXSkge1xuICAgIGluc3RhbmNlLmhvb2tzW2hlbHBlck5hbWVdID0gaW5zdGFuY2UuaGVscGVyc1toZWxwZXJOYW1lXTtcbiAgICBpZiAoIWtlZXBIZWxwZXIpIHtcbiAgICAgIGRlbGV0ZSBpbnN0YW5jZS5oZWxwZXJzW2hlbHBlck5hbWVdO1xuICAgIH1cbiAgfVxufVxuIl19\n","'use strict';\n\nexports.__esModule = true;\n\nvar _utils = require('../utils');\n\nexports['default'] = function (instance) {\n instance.registerHelper('blockHelperMissing', function (context, options) {\n var inverse = options.inverse,\n fn = options.fn;\n\n if (context === true) {\n return fn(this);\n } else if (context === false || context == null) {\n return inverse(this);\n } else if (_utils.isArray(context)) {\n if (context.length > 0) {\n if (options.ids) {\n options.ids = [options.name];\n }\n\n return instance.helpers.each(context, options);\n } else {\n return inverse(this);\n }\n } else {\n if (options.data && options.ids) {\n var data = _utils.createFrame(options.data);\n data.contextPath = _utils.appendContextPath(options.data.contextPath, options.name);\n options = { data: data };\n }\n\n return fn(context, options);\n }\n });\n};\n\nmodule.exports = exports['default'];\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2hlbHBlcnMvYmxvY2staGVscGVyLW1pc3NpbmcuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztxQkFBd0QsVUFBVTs7cUJBRW5ELFVBQVMsUUFBUSxFQUFFO0FBQ2hDLFVBQVEsQ0FBQyxjQUFjLENBQUMsb0JBQW9CLEV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9wdGlvbnMuaWRzKSB7XG4gICAgICAgIGxldCBkYXRhID0gY3JlYXRlRnJhbWUob3B0aW9ucy5kYXRhKTtcbiAgICAgICAgZGF0YS5jb250ZXh0UGF0aCA9IGFwcGVuZENvbnRleHRQYXRoKFxuICAgICAgICAgIG9wdGlvbnMuZGF0YS5jb250ZXh0UGF0aCxcbiAgICAgICAgICBvcHRpb25zLm5hbWVcbiAgICAgICAgKTtcbiAgICAgICAgb3B0aW9ucyA9IHsgZGF0YTogZGF0YSB9O1xuICAgICAgfVxuXG4gICAgICByZXR1cm4gZm4oY29udGV4dCwgb3B0aW9ucyk7XG4gICAgfVxuICB9KTtcbn1cbiJdfQ==\n","'use strict';\n\nexports.__esModule = true;\n// istanbul ignore next\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar _utils = require('../utils');\n\nvar _exception = require('../exception');\n\nvar _exception2 = _interopRequireDefault(_exception);\n\nexports['default'] = function (instance) {\n instance.registerHelper('each', function (context, options) {\n if (!options) {\n throw new _exception2['default']('Must pass iterator to #each');\n }\n\n var fn = options.fn,\n inverse = options.inverse,\n i = 0,\n ret = '',\n data = undefined,\n contextPath = undefined;\n\n if (options.data && options.ids) {\n contextPath = _utils.appendContextPath(options.data.contextPath, options.ids[0]) + '.';\n }\n\n if (_utils.isFunction(context)) {\n context = context.call(this);\n }\n\n if (options.data) {\n data = _utils.createFrame(options.data);\n }\n\n function execIteration(field, index, last) {\n if (data) {\n data.key = field;\n data.index = index;\n data.first = index === 0;\n data.last = !!last;\n\n if (contextPath) {\n data.contextPath = contextPath + field;\n }\n }\n\n ret = ret + fn(context[field], {\n data: data,\n blockParams: _utils.blockParams([context[field], field], [contextPath + field, null])\n });\n }\n\n if (context && typeof context === 'object') {\n if (_utils.isArray(context)) {\n for (var j = context.length; i < j; i++) {\n if (i in context) {\n execIteration(i, i, i === context.length - 1);\n }\n }\n } else if (typeof Symbol === 'function' && context[Symbol.iterator]) {\n var newContext = [];\n var iterator = context[Symbol.iterator]();\n for (var it = iterator.next(); !it.done; it = iterator.next()) {\n newContext.push(it.value);\n }\n context = newContext;\n for (var j = context.length; i < j; i++) {\n execIteration(i, i, i === context.length - 1);\n }\n } else {\n (function () {\n var priorKey = undefined;\n\n Object.keys(context).forEach(function (key) {\n // We're running the iterations one step out of sync so we can detect\n // the last iteration without have to scan the object twice and create\n // an itermediate keys array.\n if (priorKey !== undefined) {\n execIteration(priorKey, i - 1);\n }\n priorKey = key;\n i++;\n });\n if (priorKey !== undefined) {\n execIteration(priorKey, i - 1, true);\n }\n })();\n }\n }\n\n if (i === 0) {\n ret = inverse(this);\n }\n\n return ret;\n });\n};\n\nmodule.exports = exports['default'];\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2hlbHBlcnMvZWFjaC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O3FCQU1PLFVBQVU7O3lCQUNLLGNBQWM7Ozs7cUJBRXJCLFVBQVMsUUFBUSxFQUFFO0FBQ2hDLFVBQVEsQ0FBQyxjQUFjLENBQUMsTUFBTSxFQUFFLFVBQVMsT0FBTyxFQUFFLE9BQU8sRUFBRTtBQUN6RCxRQUFJLENBQUMsT0FBTyxFQUFFO0FBQ1osWUFBTSwyQkFBYyw2QkFBNkIsQ0FBQyxDQUFDO0tBQ3BEOztBQUVELFFBQUksRUFBRSxHQUFHLE9BQU8sQ0FBQyxFQUFFO1FBQ2pCLE9BQU8sR0FBRyxPQUFPLENBQUMsT0FBTztRQUN6QixDQUFDLEdBQUcsQ0FBQztRQUNMLEdBQUcsR0FBRyxFQUFFO1FBQ1IsSUFBSSxZQUFBO1FBQ0osV0FBVyxZQUFBLENBQUM7O0FBRWQsUUFBSSxPQUFPLENBQUMsSUFBSSxJQUFJLE9BQU8sQ0FBQyxHQUFHLEVBQUU7QUFDL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bnRleHQubGVuZ3RoOyBpIDwgajsgaSsrKSB7XG4gICAgICAgICAgZXhlY0l0ZXJhdGlvbihpLCBpLCBpID09PSBjb250ZXh0Lmxlbmd0aCAtIDEpO1xuICAgICAgICB9XG4gICAgICB9IGVsc2Uge1xuICAgICAgICBsZXQgcHJpb3JLZXk7XG5cbiAgICAgICAgT2JqZWN0LmtleXMoY29udGV4dCkuZm9yRWFjaChrZXkgPT4ge1xuICAgICAgICAgIC8vIFdlJ3JlIHJ1bm5pbmcgdGhlIGl0ZXJhdGlvbnMgb25lIHN0ZXAgb3V0IG9mIHN5bmMgc28gd2UgY2FuIGRldGVjdFxuICAgICAgICAgIC8vIHRoZSBsYXN0IGl0ZXJhdGlvbiB3aXRob3V0IGhhdmUgdG8gc2NhbiB0aGUgb2JqZWN0IHR3aWNlIGFuZCBjcmVhdGVcbiAgICAgICAgICAvLyBhbiBpdGVybWVkaWF0ZSBrZXlzIGFycmF5LlxuICAgICAgICAgIGlmIChwcmlvcktleSAhPT0gdW5kZWZpbmVkKSB7XG4gICAgICAgICAgICBleGVjSXRlcmF0aW9uKHByaW9yS2V5LCBpIC0gMSk7XG4gICAgICAgICAgfVxuICAgICAgICAgIHByaW9yS2V5ID0ga2V5O1xuICAgICAgICAgIGkrKztcbiAgICAgICAgfSk7XG4gICAgICAgIGlmIChwcmlvcktleSAhPT0gdW5kZWZpbmVkKSB7XG4gICAgICAgICAgZXhlY0l0ZXJhdGlvbihwcmlvcktleSwgaSAtIDEsIHRydWUpO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuXG4gICAgaWYgKGkgPT09IDApIHtcbiAgICAgIHJldCA9IGludmVyc2UodGhpcyk7XG4gICAgfVxuXG4gICAgcmV0dXJuIHJldDtcbiAgfSk7XG59XG4iXX0=\n","'use strict';\n\nexports.__esModule = true;\n// istanbul ignore next\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar _exception = require('../exception');\n\nvar _exception2 = _interopRequireDefault(_exception);\n\nexports['default'] = function (instance) {\n instance.registerHelper('helperMissing', function () /* [args, ]options */{\n if (arguments.length === 1) {\n // A missing field in a {{foo}} construct.\n return undefined;\n } else {\n // Someone is actually trying to call something, blow up.\n throw new _exception2['default']('Missing helper: \"' + arguments[arguments.length - 1].name + '\"');\n }\n });\n};\n\nmodule.exports = exports['default'];\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2hlbHBlcnMvaGVscGVyLW1pc3NpbmcuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozt5QkFBc0IsY0FBYzs7OztxQkFFckIsVUFBUyxRQUFRLEVBQUU7QUFDaEMsVUFBUSxDQUFDLGNBQWMsQ0FBQyxlQUFlLEVBQUUsaUNBQWdDO0FBQ3ZFLFFBQUksU0FBUyxDQUFDLE1BQU0sS0FBSyxDQUFDLEVBQUU7O0FBRTFCLGFBQU8sU0FBUyxDQUFDO0tBQ2xCLE1BQU07O0FBRUwsWUFBTSwyQkFDSixtQkFBbUIsR0FBRyxTQUFTLENBQUMsU0FBUyxDQUFDLE1BQU0sR0FBRyxDQUFDLENBQUMsQ0FBQyxJQUFJLEdBQUcsR0FBRyxDQUNqRSxDQUFDO0tBQ0g7R0FDRixDQUFDLENBQUM7Q0FDSiIsImZpbGUiOiJoZWxwZXItbWlzc2luZy5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBFeGNlcHRpb24gZnJvbSAnLi4vZXhjZXB0aW9uJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24oaW5zdGFuY2UpIHtcbiAgaW5zdGFuY2UucmVnaXN0ZXJIZWxwZXIoJ2hlbHBlck1pc3NpbmcnLCBmdW5jdGlvbigvKiBbYXJncywgXW9wdGlvbnMgKi8pIHtcbiAgICBpZiAoYXJndW1lbnRzLmxlbmd0aCA9PT0gMSkge1xuICAgICAgLy8gQSBtaXNzaW5nIGZpZWxkIGluIGEge3tmb299fSBjb25zdHJ1Y3QuXG4gICAgICByZXR1cm4gdW5kZWZpbmVkO1xuICAgIH0gZWxzZSB7XG4gICAgICAvLyBTb21lb25lIGlzIGFjdHVhbGx5IHRyeWluZyB0byBjYWxsIHNvbWV0aGluZywgYmxvdyB1cC5cbiAgICAgIHRocm93IG5ldyBFeGNlcHRpb24oXG4gICAgICAgICdNaXNzaW5nIGhlbHBlcjogXCInICsgYXJndW1lbnRzW2FyZ3VtZW50cy5sZW5ndGggLSAxXS5uYW1lICsgJ1wiJ1xuICAgICAgKTtcbiAgICB9XG4gIH0pO1xufVxuIl19\n","'use strict';\n\nexports.__esModule = true;\n// istanbul ignore next\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar _utils = require('../utils');\n\nvar _exception = require('../exception');\n\nvar _exception2 = _interopRequireDefault(_exception);\n\nexports['default'] = function (instance) {\n instance.registerHelper('if', function (conditional, options) {\n if (arguments.length != 2) {\n throw new _exception2['default']('#if requires exactly one argument');\n }\n if (_utils.isFunction(conditional)) {\n conditional = conditional.call(this);\n }\n\n // Default behavior is to render the positive path if the value is truthy and not empty.\n // The `includeZero` option may be set to treat the condtional as purely not empty based on the\n // behavior of isEmpty. Effectively this determines if 0 is handled by the positive path or negative.\n if (!options.hash.includeZero && !conditional || _utils.isEmpty(conditional)) {\n return options.inverse(this);\n } else {\n return options.fn(this);\n }\n });\n\n instance.registerHelper('unless', function (conditional, options) {\n if (arguments.length != 2) {\n throw new _exception2['default']('#unless requires exactly one argument');\n }\n return instance.helpers['if'].call(this, conditional, {\n fn: options.inverse,\n inverse: options.fn,\n hash: options.hash\n });\n });\n};\n\nmodule.exports = exports['default'];\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9oYW5kbGViYXJ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SB0aGUgcG9zaXRpdmUgcGF0aCBvciBuZWdhdGl2ZS5cbiAgICBpZiAoKCFvcHRpb25zLmhhc2guaW5jbHVkZVplcm8gJiYgIWNvbmRpdGlvbmFsKSB8fCBpc0VtcHR5KGNvbmRpdGlvbmFsKSkge1xuICAgICAgcmV0dXJuIG9wdGlvbnMuaW52ZXJzZSh0aGlzKTtcbiAgICB9IGVsc2Uge1xuICAgICAgcmV0dXJuIG9wdGlvbnMuZm4odGhpcyk7XG4gICAgfVxuICB9KTtcblxuICBpbnN0YW5jZS5yZWdpc3RlckhlbHBlcigndW5sZXNzJywgZnVuY3Rpb24oY29uZGl0aW9uYWwsIG9wdGlvbnMpIHtcbiAgICBpZiAoYXJndW1lbnRzLmxlbmd0aCAhPSAyKSB7XG4gICAgICB0aHJvdyBuZXcgRXhjZXB0aW9uKCcjdW5sZXNzIHJlcXVpcmVzIGV4YWN0bHkgb25lIGFyZ3VtZW50Jyk7XG4gICAgfVxuICAgIHJldHVybiBpbnN0YW5jZS5oZWxwZXJzWydpZiddLmNhbGwodGhpcywgY29uZGl0aW9uYWwsIHtcbiAgICAgIGZuOiBvcHRpb25zLmludmVyc2UsXG4gICAgICBpbnZlcnNlOiBvcHRpb25zLmZuLFxuICAgICAgaGFzaDogb3B0aW9ucy5oYXNoXG4gICAgfSk7XG4gIH0pO1xufVxuIl19\n","'use strict';\n\nexports.__esModule = true;\n\nexports['default'] = function (instance) {\n instance.registerHelper('log', function () /* message, options */{\n var args = [undefined],\n options = arguments[arguments.length - 1];\n for (var i = 0; i < arguments.length - 1; i++) {\n args.push(arguments[i]);\n }\n\n var level = 1;\n if (options.hash.level != null) {\n level = options.hash.level;\n } else if (options.data && options.data.level != null) {\n level = options.data.level;\n }\n args[0] = level;\n\n instance.log.apply(instance, args);\n });\n};\n\nmodule.exports = exports['default'];\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2x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IGRlZmF1bHQgZnVuY3Rpb24oaW5zdGFuY2UpIHtcbiAgaW5zdGFuY2UucmVnaXN0ZXJIZWxwZXIoJ2xvZycsIGZ1bmN0aW9uKC8qIG1lc3NhZ2UsIG9wdGlvbnMgKi8pIHtcbiAgICBsZXQgYXJncyA9IFt1bmRlZmluZWRdLFxuICAgICAgb3B0aW9ucyA9IGFyZ3VtZW50c1thcmd1bWVudHMubGVuZ3RoIC0gMV07XG4gICAgZm9yIChsZXQgaSA9IDA7IGkgPCBhcmd1bWVudHMubGVuZ3RoIC0gMTsgaSsrKSB7XG4gICAgICBhcmdzLnB1c2goYXJndW1lbnRzW2ldKTtcbiAgICB9XG5cbiAgICBsZXQgbGV2ZWwgPSAxO1xuICAgIGlmIChvcHRpb25zLmhhc2gubGV2ZWwgIT0gbnVsbCkge1xuICAgICAgbGV2ZWwgPSBvcHRpb25zLmhhc2gubGV2ZWw7XG4gICAgfSBlbHNlIGlmIChvcHRpb25zLmRhdGEgJiYgb3B0aW9ucy5kYXRhLmxldmVsICE9IG51bGwpIHtcbiAgICAgIGxldmVsID0gb3B0aW9ucy5kYXRhLmxldmVsO1xuICAgIH1cbiAgICBhcmdzWzBdID0gbGV2ZWw7XG5cbiAgICBpbnN0YW5jZS5sb2coLi4uYXJncyk7XG4gIH0pO1xufVxuIl19\n","'use strict';\n\nexports.__esModule = true;\n\nexports['default'] = function (instance) {\n instance.registerHelper('lookup', function (obj, field, options) {\n if (!obj) {\n // Note for 5.0: Change to \"obj == null\" in 5.0\n return obj;\n }\n return options.lookupProperty(obj, field);\n });\n};\n\nmodule.exports = exports['default'];\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2hlbHBlcnMvbG9va3VwLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7cUJBQWUsVUFBUyxRQUFRLEVBQUU7QUFDaEMsVUFBUSxDQUFDLGNBQWMsQ0FBQyxRQUFRLEVBQUUsVUFBUyxHQUFHLEVBQUUsS0FBSyxFQUFFLE9BQU8sRUFBRTtBQUM5RCxRQUFJLENBQUMsR0FBRyxFQUFFOztBQUVSLGFBQU8sR0FBRyxDQUFDO0tBQ1o7QUFDRCxXQUFPLE9BQU8sQ0FBQyxjQUFjLENBQUMsR0FBRyxFQUFFLEtBQUssQ0FBQyxDQUFDO0dBQzNDLENBQUMsQ0FBQztDQUNKIiwiZmlsZSI6Imxvb2t1cC5qcyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uKGluc3RhbmNlKSB7XG4gIGluc3RhbmNlLnJlZ2lzdGVySGVscGVyKCdsb29rdXAnLCBmdW5jdGlvbihvYmosIGZpZWxkLCBvcHRpb25zKSB7XG4gICAgaWYgKCFvYmopIHtcbiAgICAgIC8vIE5vdGUgZm9yIDUuMDogQ2hhbmdlIHRvIFwib2JqID09IG51bGxcIiBpbiA1LjBcbiAgICAgIHJldHVybiBvYmo7XG4gICAgfVxuICAgIHJldHVybiBvcHRpb25zLmxvb2t1cFByb3BlcnR5KG9iaiwgZmllbGQpO1xuICB9KTtcbn1cbiJdfQ==\n","'use strict';\n\nexports.__esModule = true;\n// istanbul ignore next\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar _utils = require('../utils');\n\nvar _exception = require('../exception');\n\nvar _exception2 = _interopRequireDefault(_exception);\n\nexports['default'] = function (instance) {\n instance.registerHelper('with', function (context, options) {\n if (arguments.length != 2) {\n throw new _exception2['default']('#with requires exactly one argument');\n }\n if (_utils.isFunction(context)) {\n context = context.call(this);\n }\n\n var fn = options.fn;\n\n if (!_utils.isEmpty(context)) {\n var data = options.data;\n if (options.data && options.ids) {\n data = _utils.createFrame(options.data);\n data.contextPath = _utils.appendContextPath(options.data.contextPath, options.ids[0]);\n }\n\n return fn(context, {\n data: data,\n blockParams: _utils.blockParams([context], [data && data.contextPath])\n });\n } else {\n return options.inverse(this);\n }\n });\n};\n\nmodule.exports = exports['default'];\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2hlbHBlcnMvd2l0aC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O3FCQU1PLFVBQVU7O3lCQUNLLGNBQWM7Ozs7cUJBRXJCLFVBQVMsUUFBUSxFQUFFO0FBQ2hDLFVBQVEsQ0FBQyxjQUFjLENBQUMsTUFBTSxFQUFFLFVBQVMsT0FBTyxFQUFFLE9BQU8sRUFBRTtBQUN6RCxRQUFJLFNBQVMsQ0FBQyxNQUFNLElBQUksQ0FBQyxFQUFFO0FBQ3pCLFlBQU0sMkJBQWMscUNBQXFDLENBQUMsQ0FBQztLQUM1RDtBQUNELFFBQUksa0JBQVcsT0FBTyxDQUFDLEVBQUU7QUFDdkIsYUFBTyxHQUFHLE9BQU8sQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLENBQUM7S0FDOUI7O0FBRUQsUUFBSSxFQUFFLEdBQUcsT0FBTyxDQUFDLEVBQUUsQ0FBQzs7QUFFcEIsUUFBSSxDQUFDLGVBQVEsT0FBTyxDQUFDLEVBQUU7QUFDckIsVUFBSSxJQUFJLEdBQUcsT0FBTyxDQUFDLElBQUksQ0FBQztBQUN4QixVQUFJLE9BQU8sQ0FBQyxJQUFJLElBQUksT0FBTyxDQUFDLEdBQUcsRUFBRTtBQUMvQixZQUFJLEdBQUcsbUJBQVksT0FBTyxDQUFDLElBQUksQ0FBQyxDQUFDO0FBQ2pDLFlBQUksQ0FBQyxXQUFXLEdBQUcseUJBQ2pCLE9BQU8sQ0FBQyxJQUFJLENBQUMsV0FBVyxFQUN4QixPQUFPLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxDQUNmLENBQUM7T0FDSDs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GlvbnMuZGF0YSAmJiBvcHRpb25zLmlkcykge1xuICAgICAgICBkYXRhID0gY3JlYXRlRnJhbWUob3B0aW9ucy5kYXRhKTtcbiAgICAgICAgZGF0YS5jb250ZXh0UGF0aCA9IGFwcGVuZENvbnRleHRQYXRoKFxuICAgICAgICAgIG9wdGlvbnMuZGF0YS5jb250ZXh0UGF0aCxcbiAgICAgICAgICBvcHRpb25zLmlkc1swXVxuICAgICAgICApO1xuICAgICAgfVxuXG4gICAgICByZXR1cm4gZm4oY29udGV4dCwge1xuICAgICAgICBkYXRhOiBkYXRhLFxuICAgICAgICBibG9ja1BhcmFtczogYmxvY2tQYXJhbXMoW2NvbnRleHRdLCBbZGF0YSAmJiBkYXRhLmNvbnRleHRQYXRoXSlcbiAgICAgIH0pO1xuICAgIH0gZWxzZSB7XG4gICAgICByZXR1cm4gb3B0aW9ucy5pbnZlcnNlKHRoaXMpO1xuICAgIH1cbiAgfSk7XG59XG4iXX0=\n","'use strict';\n\nexports.__esModule = true;\nexports.createNewLookupObject = createNewLookupObject;\n\nvar _utils = require('../utils');\n\n/**\n * Create a new object with \"null\"-prototype to avoid truthy results on prototype properties.\n * The resulting object can be used with \"object[property]\" to check if a property exists\n * @param {...object} sources a varargs parameter of source objects that will be merged\n * @returns {object}\n */\n\nfunction createNewLookupObject() {\n for (var _len = arguments.length, sources = Array(_len), _key = 0; _key < _len; _key++) {\n sources[_key] = arguments[_key];\n }\n\n return _utils.extend.apply(undefined, [Object.create(null)].concat(sources));\n}\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2ludGVybmFsL2NyZWF0ZS1uZXctbG9va3VwLW9iamVjdC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztxQkFBdUIsVUFBVTs7Ozs7Ozs7O0FBUTFCLFNBQVMscUJBQXFCLEdBQWE7b0NBQVQsT0FBTztBQUFQLFdBQU87OztBQUM5QyxTQUFPLGdDQUFPLE1BQU0sQ0FBQyxNQUFNLENBQUMsSUFBSSxDQUFDLFNBQUssT0FBTyxFQUFDLENBQUM7Q0FDaEQiLCJmaWxlIjoiY3JlYXRlLW5ldy1sb29rdXAtb2JqZWN0LmpzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgZXh0ZW5kIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vKipcbiAqIENyZWF0ZSBhIG5ldyBvYmplY3Qgd2l0aCBcIm51bGxcIi1wcm90b3R5cGUgdG8gYXZvaWQgdHJ1dGh5IHJlc3VsdHMgb24gcHJvdG90eXBlIHByb3BlcnRpZXMuXG4gKiBUaGUgcmVzdWx0aW5nIG9iamVjdCBjYW4gYmUgdXNlZCB3aXRoIFwib2JqZWN0W3Byb3BlcnR5XVwiIHRvIGNoZWNrIGlmIGEgcHJvcGVydHkgZXhpc3RzXG4gKiBAcGFyYW0gey4uLm9iamVjdH0gc291cmNlcyBhIHZhcmFyZ3MgcGFyYW1ldGVyIG9mIHNvdXJjZSBvYmplY3RzIHRoYXQgd2lsbCBiZSBtZXJnZWRcbiAqIEByZXR1cm5zIHtvYmplY3R9XG4gKi9cbmV4cG9ydCBmdW5jdGlvbiBjcmVhdGVOZXdMb29rdXBPYmplY3QoLi4uc291cmNlcykge1xuICByZXR1cm4gZXh0ZW5kKE9iamVjdC5jcmVhdGUobnVsbCksIC4uLnNvdXJjZXMpO1xufVxuIl19\n","'use strict';\n\nexports.__esModule = true;\nexports.createProtoAccessControl = createProtoAccessControl;\nexports.resultIsAllowed = resultIsAllowed;\nexports.resetLoggedProperties = resetLoggedProperties;\n// istanbul ignore next\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar _createNewLookupObject = require('./create-new-lookup-object');\n\nvar _logger = require('../logger');\n\nvar _logger2 = _interopRequireDefault(_logger);\n\nvar loggedProperties = Object.create(null);\n\nfunction createProtoAccessControl(runtimeOptions) {\n var defaultMethodWhiteList = Object.create(null);\n defaultMethodWhiteList['constructor'] = false;\n defaultMethodWhiteList['__defineGetter__'] = false;\n defaultMethodWhiteList['__defineSetter__'] = false;\n defaultMethodWhiteList['__lookupGetter__'] = false;\n\n var defaultPropertyWhiteList = Object.create(null);\n // eslint-disable-next-line no-proto\n defaultPropertyWhiteList['__proto__'] = false;\n\n return {\n properties: {\n whitelist: _createNewLookupObject.createNewLookupObject(defaultPropertyWhiteList, runtimeOptions.allowedProtoProperties),\n defaultValue: runtimeOptions.allowProtoPropertiesByDefault\n },\n methods: {\n whitelist: _createNewLookupObject.createNewLookupObject(defaultMethodWhiteList, runtimeOptions.allowedProtoMethods),\n defaultValue: runtimeOptions.allowProtoMethodsByDefault\n }\n };\n}\n\nfunction resultIsAllowed(result, protoAccessControl, propertyName) {\n if (typeof result === 'function') {\n return checkWhiteList(protoAccessControl.methods, propertyName);\n } else {\n return checkWhiteList(protoAccessControl.properties, propertyName);\n }\n}\n\nfunction checkWhiteList(protoAccessControlForType, propertyName) {\n if (protoAccessControlForType.whitelist[propertyName] !== undefined) {\n return protoAccessControlForType.whitelist[propertyName] === true;\n }\n if (protoAccessControlForType.defaultValue !== undefined) {\n return protoAccessControlForType.defaultValue;\n }\n logUnexpecedPropertyAccessOnce(propertyName);\n return false;\n}\n\nfunction logUnexpecedPropertyAccessOnce(propertyName) {\n if (loggedProperties[propertyName] !== true) {\n loggedProperties[propertyName] = true;\n _logger2['default'].log('error', 'Handlebars: Access has been denied to resolve the property \"' + propertyName + '\" because it is not an \"own property\" of its parent.\\n' + 'You can add a runtime option to disable the check or this warning:\\n' + 'See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details');\n }\n}\n\nfunction resetLoggedProperties() {\n Object.keys(loggedProperties).forEach(function (propertyName) {\n delete loggedProperties[propertyName];\n });\n}\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3V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czovL2hhbmRsZWJhcnNqcy5jb20vYXBpLXJlZmVyZW5jZS9ydW50aW1lLW9wdGlvbnMuaHRtbCNvcHRpb25zLXRvLWNvbnRyb2wtcHJvdG90eXBlLWFjY2VzcyBmb3IgZGV0YWlsc2BcbiAgICApO1xuICB9XG59XG5cbmV4cG9ydCBmdW5jdGlvbiByZXNldExvZ2dlZFByb3BlcnRpZXMoKSB7XG4gIE9iamVjdC5rZXlzKGxvZ2dlZFByb3BlcnRpZXMpLmZvckVhY2gocHJvcGVydHlOYW1lID0+IHtcbiAgICBkZWxldGUgbG9nZ2VkUHJvcGVydGllc1twcm9wZXJ0eU5hbWVdO1xuICB9KTtcbn1cbiJdfQ==\n","'use strict';\n\nexports.__esModule = true;\nexports.wrapHelper = wrapHelper;\n\nfunction wrapHelper(helper, transformOptionsFn) {\n if (typeof helper !== 'function') {\n // This should not happen, but apparently it does in https://github.com/wycats/handlebars.js/issues/1639\n // We try to make the wrapper least-invasive by not wrapping it, if the helper is not a function.\n return helper;\n }\n var wrapper = function wrapper() /* dynamic arguments */{\n var options = arguments[arguments.length - 1];\n arguments[arguments.length - 1] = transformOptionsFn(options);\n return helper.apply(this, arguments);\n };\n return wrapper;\n}\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2ludGVybmFsL3dyYXBIZWxwZXIuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBTyxTQUFTLFVBQVUsQ0FBQyxNQUFNLEVBQUUsa0JBQWtCLEVBQUU7QUFDckQsTUFBSSxPQUFPLE1BQU0sS0FBSyxVQUFVLEVBQUU7OztBQUdoQyxXQUFPLE1BQU0sQ0FBQztHQUNmO0FBQ0QsTUFBSSxPQUFPLEdBQUcsU0FBVixPQUFPLDBCQUFxQztBQUM5QyxRQUFNLE9BQU8sR0FBRyxTQUFTLENBQUMsU0FBUy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biAgcmV0dXJuIHdyYXBwZXI7XG59XG4iXX0=\n","'use strict';\n\nexports.__esModule = true;\n\nvar _utils = require('./utils');\n\nvar logger = {\n methodMap: ['debug', 'info', 'warn', 'error'],\n level: 'info',\n\n // Maps a given level value to the `methodMap` indexes above.\n lookupLevel: function lookupLevel(level) {\n if (typeof level === 'string') {\n var levelMap = _utils.indexOf(logger.methodMap, level.toLowerCase());\n if (levelMap >= 0) {\n level = levelMap;\n } else {\n level = parseInt(level, 10);\n }\n }\n\n return level;\n },\n\n // Can be overridden in the host environment\n log: function log(level) {\n level = logger.lookupLevel(level);\n\n if (typeof console !== 'undefined' && logger.lookupLevel(logger.level) <= level) {\n var method = logger.methodMap[level];\n // eslint-disable-next-line no-console\n if (!console[method]) {\n method = 'log';\n }\n\n for (var _len = arguments.length, message = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n message[_key - 1] = arguments[_key];\n }\n\n console[method].apply(console, message); // eslint-disable-line no-console\n }\n }\n};\n\nexports['default'] = logger;\nmodule.exports = exports['default'];\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL2xvZ2dlci5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O3FCQUF3QixTQUFTOztBQUVqQyxJQUFJLE1BQU0sR0FBRztBQUNYLFdBQVMsRUFBRSxDQUFDLE9BQU8sRUFBRSxNQUFNLEVBQUUsTUFBTSxFQUFFLE9BQU8sQ0FBQztBQUM3QyxPQUFLLEVBQUUsTUFBTTs7O0FBR2IsYUFBVyxFQUFFLHFCQUFTLEtBQUssRUFBRTtBQUMzQixRQUFJLE9BQU8sS0FBSyxLQUFLLFFBQVEsRUFBRTtBQUM3QixVQUFJLFFBQVEsR0FBRyxlQUFRLE1BQU0sQ0FBQyxTQUFTLEVBQUUsS0FBSyxDQUFDLFdBQVcsRUFBRSxDQUFD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iXX0=\n","/* global globalThis */\n'use strict';\n\nexports.__esModule = true;\n\nexports['default'] = function (Handlebars) {\n /* istanbul ignore next */\n // https://mathiasbynens.be/notes/globalthis\n (function () {\n if (typeof globalThis === 'object') return;\n Object.prototype.__defineGetter__('__magic__', function () {\n return this;\n });\n __magic__.globalThis = __magic__; // eslint-disable-line no-undef\n delete Object.prototype.__magic__;\n })();\n\n var $Handlebars = globalThis.Handlebars;\n\n /* istanbul ignore next */\n Handlebars.noConflict = function () {\n if (globalThis.Handlebars === Handlebars) {\n globalThis.Handlebars = $Handlebars;\n }\n return Handlebars;\n };\n};\n\nmodule.exports = exports['default'];\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL25vLWNvbmZsaWN0LmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O3FCQUNlLFVBQVMsVUFBVSxFQUFFOzs7QUFHbEMsR0FBQyxZQUFXO0FBQ1YsUUFBSSxPQUFPLFVBQVUsS0FBSyxRQUFRLEVBQUUsT0FBTztBQUMzQyxVQUFNLENBQUMsU0FBUyxDQUFDLGdCQUFnQixDQUFDLFdBQVcsRUFBRSxZQUFXO0FBQ3hELGFBQU8sSUFBSSxDQUFDO0tBQ2IsQ0FBQyxDQUFDO0FBQ0gsYUFBUyxDQUFDLFVBQVUsR0FBRyxTQUFTLENBQUM7QUFDakMsV0FBTyxNQUFNLENBQUMsU0FBUyxDQUFDLFNBQVMsQ0FBQztHQUNuQyxDQUFBLEVBQUcsQ0FBQzs7QUFFTCxNQUFNLFdBQVcsR0FBRyxVQUFVLENBQUMsVUFBVSxDQUFDOzs7QUFHMUMsWUFBVSxDQUFDLFVBQVUsR0FBRyxZQUFXO0FBQ2pDLFFBQUksVUFBVSxDQUFDLFVBQVUsS0FBSyxVQUFVLEVBQUU7QUFDeEMsZ0JBQVUsQ0FBQyxVQUFVLEdBQUcsV0FBVyxDQUFDO0tBQ3JDO0FBQ0QsV0FBTyxVQUFVLENBQUM7R0FDbkIsQ0FBQztDQUNIIiwiZmlsZSI6Im5vLWNvbmZsaWN0LmpzIiwic291cmNlc0NvbnRlbnQiOlsiLyogZ2xvYmFsIGdsb2JhbFRoaXMgKi9cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uKEhhbmRsZWJhcnMpIHtcbiAgLyogaXN0YW5idWwgaWdub3JlIG5leHQgKi9cbiAgLy8gaHR0cHM6Ly9tYXRoaWFzYnluZW5zLmJlL25vdGVzL2dsb2JhbHRoaXNcbiAgKGZ1bmN0aW9uKCkge1xuICAgIGlmICh0eXBlb2YgZ2xvYmFsVGhpcyA9PT0gJ29iamVjdCcpIHJldHVybjtcbiAgICBPYmplY3QucHJvdG90eXBlLl9fZGVmaW5lR2V0dGVyX18oJ19fbWFnaWNfXycsIGZ1bmN0aW9uKCkge1xuICAgICAgcmV0dXJuIHRoaXM7XG4gICAgfSk7XG4gICAgX19tYWdpY19fLmdsb2JhbFRoaXMgPSBfX21hZ2ljX187IC8vIGVzbGludC1kaXNhYmxlLWxpbmUgbm8tdW5kZWZcbiAgICBkZWxldGUgT2JqZWN0LnByb3RvdHlwZS5fX21hZ2ljX187XG4gIH0pKCk7XG5cbiAgY29uc3QgJEhhbmRsZWJhcnMgPSBnbG9iYWxUaGlzLkhhbmRsZWJhcnM7XG5cbiAgLyogaXN0YW5idWwgaWdub3JlIG5leHQgKi9cbiAgSGFuZGxlYmFycy5ub0NvbmZsaWN0ID0gZnVuY3Rpb24oKSB7XG4gICAgaWYgKGdsb2JhbFRoaXMuSGFuZGxlYmFycyA9PT0gSGFuZGxlYmFycykge1xuICAgICAgZ2xvYmFsVGhpcy5IYW5kbGViYXJzID0gJEhhbmRsZWJhcnM7XG4gICAgfVxuICAgIHJldHVybiBIYW5kbGViYXJzO1xuICB9O1xufVxuIl19\n","'use strict';\n\nexports.__esModule = true;\nexports.checkRevision = checkRevision;\nexports.template = template;\nexports.wrapProgram = wrapProgram;\nexports.resolvePartial = resolvePartial;\nexports.invokePartial = invokePartial;\nexports.noop = noop;\n// istanbul ignore next\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\n// istanbul ignore next\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj['default'] = obj; return newObj; } }\n\nvar _utils = require('./utils');\n\nvar Utils = _interopRequireWildcard(_utils);\n\nvar _exception = require('./exception');\n\nvar _exception2 = _interopRequireDefault(_exception);\n\nvar _base = require('./base');\n\nvar _helpers = require('./helpers');\n\nvar _internalWrapHelper = require('./internal/wrapHelper');\n\nvar _internalProtoAccess = require('./internal/proto-access');\n\nfunction checkRevision(compilerInfo) {\n var compilerRevision = compilerInfo && compilerInfo[0] || 1,\n currentRevision = _base.COMPILER_REVISION;\n\n if (compilerRevision >= _base.LAST_COMPATIBLE_COMPILER_REVISION && compilerRevision <= _base.COMPILER_REVISION) {\n return;\n }\n\n if (compilerRevision < _base.LAST_COMPATIBLE_COMPILER_REVISION) {\n var runtimeVersions = _base.REVISION_CHANGES[currentRevision],\n compilerVersions = _base.REVISION_CHANGES[compilerRevision];\n throw new _exception2['default']('Template was precompiled with an older version of Handlebars than the current runtime. ' + 'Please update your precompiler to a newer version (' + runtimeVersions + ') or downgrade your runtime to an older version (' + compilerVersions + ').');\n } else {\n // Use the embedded version info since the runtime doesn't know about this revision yet\n throw new _exception2['default']('Template was precompiled with a newer version of Handlebars than the current runtime. ' + 'Please update your runtime to a newer version (' + compilerInfo[1] + ').');\n }\n}\n\nfunction template(templateSpec, env) {\n /* istanbul ignore next */\n if (!env) {\n throw new _exception2['default']('No environment passed to template');\n }\n if (!templateSpec || !templateSpec.main) {\n throw new _exception2['default']('Unknown template object: ' + typeof templateSpec);\n }\n\n templateSpec.main.decorator = templateSpec.main_d;\n\n // Note: Using env.VM references rather than local var references throughout this section to allow\n // for external users to override these as pseudo-supported APIs.\n env.VM.checkRevision(templateSpec.compiler);\n\n // backwards compatibility for precompiled templates with compiler-version 7 (<4.3.0)\n var templateWasPrecompiledWithCompilerV7 = templateSpec.compiler && templateSpec.compiler[0] === 7;\n\n function invokePartialWrapper(partial, context, options) {\n if (options.hash) {\n context = Utils.extend({}, context, options.hash);\n if (options.ids) {\n options.ids[0] = true;\n }\n }\n partial = env.VM.resolvePartial.call(this, partial, context, options);\n\n var extendedOptions = Utils.extend({}, options, {\n hooks: this.hooks,\n protoAccessControl: this.protoAccessControl\n });\n\n var result = env.VM.invokePartial.call(this, partial, context, extendedOptions);\n\n if (result == null && env.compile) {\n options.partials[options.name] = env.compile(partial, templateSpec.compilerOptions, env);\n result = options.partials[options.name](context, extendedOptions);\n }\n if (result != null) {\n if (options.indent) {\n var lines = result.split('\\n');\n for (var i = 0, l = lines.length; i < l; i++) {\n if (!lines[i] && i + 1 === l) {\n break;\n }\n\n lines[i] = options.indent + lines[i];\n }\n result = lines.join('\\n');\n }\n return result;\n } else {\n throw new _exception2['default']('The partial ' + options.name + ' could not be compiled when running in runtime-only mode');\n }\n }\n\n // Just add water\n var container = {\n strict: function strict(obj, name, loc) {\n if (!obj || !(name in obj)) {\n throw new _exception2['default']('\"' + name + '\" not defined in ' + obj, {\n loc: loc\n });\n }\n return container.lookupProperty(obj, name);\n },\n lookupProperty: function lookupProperty(parent, propertyName) {\n var result = parent[propertyName];\n if (result == null) {\n return result;\n }\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return result;\n }\n\n if (_internalProtoAccess.resultIsAllowed(result, container.protoAccessControl, propertyName)) {\n return result;\n }\n return undefined;\n },\n lookup: function lookup(depths, name) {\n var len = depths.length;\n for (var i = 0; i < len; i++) {\n var result = depths[i] && container.lookupProperty(depths[i], name);\n if (result != null) {\n return depths[i][name];\n }\n }\n },\n lambda: function lambda(current, context) {\n return typeof current === 'function' ? current.call(context) : current;\n },\n\n escapeExpression: Utils.escapeExpression,\n invokePartial: invokePartialWrapper,\n\n fn: function fn(i) {\n var ret = templateSpec[i];\n ret.decorator = templateSpec[i + '_d'];\n return ret;\n },\n\n programs: [],\n program: function program(i, data, declaredBlockParams, blockParams, depths) {\n var programWrapper = this.programs[i],\n fn = this.fn(i);\n if (data || depths || blockParams || declaredBlockParams) {\n programWrapper = wrapProgram(this, i, fn, data, declaredBlockParams, blockParams, depths);\n } else if (!programWrapper) {\n programWrapper = this.programs[i] = wrapProgram(this, i, fn);\n }\n return programWrapper;\n },\n\n data: function data(value, depth) {\n while (value && depth--) {\n value = value._parent;\n }\n return value;\n },\n mergeIfNeeded: function mergeIfNeeded(param, common) {\n var obj = param || common;\n\n if (param && common && param !== common) {\n obj = Utils.extend({}, common, param);\n }\n\n return obj;\n },\n // An empty object to use as replacement for null-contexts\n nullContext: Object.seal({}),\n\n noop: env.VM.noop,\n compilerInfo: templateSpec.compiler\n };\n\n function ret(context) {\n var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n var data = options.data;\n\n ret._setup(options);\n if (!options.partial && templateSpec.useData) {\n data = initData(context, data);\n }\n var depths = undefined,\n blockParams = templateSpec.useBlockParams ? [] : undefined;\n if (templateSpec.useDepths) {\n if (options.depths) {\n depths = context != options.depths[0] ? [context].concat(options.depths) : options.depths;\n } else {\n depths = [context];\n }\n }\n\n function main(context /*, options*/) {\n return '' + templateSpec.main(container, context, container.helpers, container.partials, data, blockParams, depths);\n }\n\n main = executeDecorators(templateSpec.main, main, container, options.depths || [], data, blockParams);\n return main(context, options);\n }\n\n ret.isTop = true;\n\n ret._setup = function (options) {\n if (!options.partial) {\n var mergedHelpers = Utils.extend({}, env.helpers, options.helpers);\n wrapHelpersToPassLookupProperty(mergedHelpers, container);\n container.helpers = mergedHelpers;\n\n if (templateSpec.usePartial) {\n // Use mergeIfNeeded here to prevent compiling global partials multiple times\n container.partials = container.mergeIfNeeded(options.partials, env.partials);\n }\n if (templateSpec.usePartial || templateSpec.useDecorators) {\n container.decorators = Utils.extend({}, env.decorators, options.decorators);\n }\n\n container.hooks = {};\n container.protoAccessControl = _internalProtoAccess.createProtoAccessControl(options);\n\n var keepHelperInHelpers = options.allowCallsToHelperMissing || templateWasPrecompiledWithCompilerV7;\n _helpers.moveHelperToHooks(container, 'helperMissing', keepHelperInHelpers);\n _helpers.moveHelperToHooks(container, 'blockHelperMissing', keepHelperInHelpers);\n } else {\n container.protoAccessControl = options.protoAccessControl; // internal option\n container.helpers = options.helpers;\n container.partials = options.partials;\n container.decorators = options.decorators;\n container.hooks = options.hooks;\n }\n };\n\n ret._child = function (i, data, blockParams, depths) {\n if (templateSpec.useBlockParams && !blockParams) {\n throw new _exception2['default']('must pass block params');\n }\n if (templateSpec.useDepths && !depths) {\n throw new _exception2['default']('must pass parent depths');\n }\n\n return wrapProgram(container, i, templateSpec[i], data, 0, blockParams, depths);\n };\n return ret;\n}\n\nfunction wrapProgram(container, i, fn, data, declaredBlockParams, blockParams, depths) {\n function prog(context) {\n var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n var currentDepths = depths;\n if (depths && context != depths[0] && !(context === container.nullContext && depths[0] === null)) {\n currentDepths = [context].concat(depths);\n }\n\n return fn(container, context, container.helpers, container.partials, options.data || data, blockParams && [options.blockParams].concat(blockParams), currentDepths);\n }\n\n prog = executeDecorators(fn, prog, container, depths, data, blockParams);\n\n prog.program = i;\n prog.depth = depths ? depths.length : 0;\n prog.blockParams = declaredBlockParams || 0;\n return prog;\n}\n\n/**\n * This is currently part of the official API, therefore implementation details should not be changed.\n */\n\nfunction resolvePartial(partial, context, options) {\n if (!partial) {\n if (options.name === '@partial-block') {\n partial = options.data['partial-block'];\n } else {\n partial = options.partials[options.name];\n }\n } else if (!partial.call && !options.name) {\n // This is a dynamic partial that returned a string\n options.name = partial;\n partial = options.partials[partial];\n }\n return partial;\n}\n\nfunction invokePartial(partial, context, options) {\n // Use the current closure context to save the partial-block if this partial\n var currentPartialBlock = options.data && options.data['partial-block'];\n options.partial = true;\n if (options.ids) {\n options.data.contextPath = options.ids[0] || options.data.contextPath;\n }\n\n var partialBlock = undefined;\n if (options.fn && options.fn !== noop) {\n (function () {\n options.data = _base.createFrame(options.data);\n // Wrapper function to get access to currentPartialBlock from the closure\n var fn = options.fn;\n partialBlock = options.data['partial-block'] = function partialBlockWrapper(context) {\n var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n // Restore the partial-block from the closure for the execution of the block\n // i.e. the part inside the block of the partial call.\n options.data = _base.createFrame(options.data);\n options.data['partial-block'] = currentPartialBlock;\n return fn(context, options);\n };\n if (fn.partials) {\n options.partials = Utils.extend({}, options.partials, fn.partials);\n }\n })();\n }\n\n if (partial === undefined && partialBlock) {\n partial = partialBlock;\n }\n\n if (partial === undefined) {\n throw new _exception2['default']('The partial ' + options.name + ' could not be found');\n } else if (partial instanceof Function) {\n return partial(context, options);\n }\n}\n\nfunction noop() {\n return '';\n}\n\nfunction initData(context, data) {\n if (!data || !('root' in data)) {\n data = data ? _base.createFrame(data) : {};\n data.root = context;\n }\n return data;\n}\n\nfunction executeDecorators(fn, prog, container, depths, data, blockParams) {\n if (fn.decorator) {\n var props = {};\n prog = fn.decorator(prog, props, container, depths && depths[0], data, blockParams, depths);\n Utils.extend(prog, props);\n }\n return prog;\n}\n\nfunction wrapHelpersToPassLookupProperty(mergedHelpers, container) {\n Object.keys(mergedHelpers).forEach(function (helperName) {\n var helper = mergedHelpers[helperName];\n mergedHelpers[helperName] = passLookupPropertyOption(helper, container);\n });\n}\n\nfunction passLookupPropertyOption(helper, container) {\n var lookupProperty = container.lookupProperty;\n return _internalWrapHelper.wrapHelper(helper, function (options) {\n return Utils.extend({ lookupProperty: lookupProperty }, options);\n });\n}\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5k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ICAgICAgICBpZiAoIWxpbmVzW2ldICYmIGkgKyAxID09PSBsKSB7XG4gICAgICAgICAgICBicmVhaztcbiAgICAgICAgICB9XG5cbiAgICAgICAgICBsaW5lc1tpXSA9IG9wdGlvbnMuaW5kZW50ICsgbGluZXNbaV07XG4gICAgICAgIH1cbiAgICAgICAgcmVzdWx0ID0gbGluZXMuam9pbignXFxuJyk7XG4gICAgICB9XG4gICAgICByZXR1cm4gcmVzdWx0O1xuICAgIH0gZWxzZSB7XG4gICAgICB0aHJvdyBuZXcgRXhjZXB0aW9uKFxuICAgICAgICAnVGhlIHBhcnRpYWwgJyArXG4gICAgICAgICAgb3B0aW9ucy5uYW1lICtcbiAgICAgICAgICAnIGNvdWxkIG5vdCBiZSBjb21waWxlZCB3aGVuIHJ1bm5pbmcgaW4gcnVudGltZS1vbmx5IG1vZGUnXG4gICAgICApO1xuICAgIH1cbiAgfVxuXG4gIC8vIEp1c3QgYWRkIHdhdGVyXG4gIGxldCBjb250YWluZXIgPSB7XG4gICAgc3RyaWN0OiBmdW5jdGlvbihvYmosIG5hbWUsIGxvYykge1xuICAgICAgaWYgKCFvYmogfHwgIShuYW1lIGluIG9iaikpIHtcbiAgICAgICAgdGhyb3cgbmV3IEV4Y2VwdGlvbignXCInICsgbmFtZSArICdcIiBub3QgZGVmaW5lZCBpbiAnICsgb2JqLCB7XG4gICAgICAgICAgbG9jOiBsb2NcbiAgICAgICAgfSk7XG4gICAgICB9XG4gICAgICByZXR1cm4gY29udGFpbmVyLmxvb2t1cFByb3BlcnR5KG9iaiwgbmFtZSk7XG4gICAgfSxcbiAgICBsb29rdXBQcm9wZXJ0eTogZnVuY3Rpb24ocGFyZW50LCBwcm9wZXJ0eU5hbWUpIHtcbiAgICAgIGxldCByZXN1bHQgPSBwYXJlbnRbcHJvcGVydHlOYW1lXTtcbiAgICAgIGlmIChyZXN1bHQgPT0gbnVsbCkge1xuICAgICAgICByZXR1cm4gcmVzdWx0O1xuICAgICAgfVxuICAgICAgaW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gZWxzZSB7XG4gICAgICAgIGRlcHRocyA9IFtjb250ZXh0XTtcbiAgICAgIH1cbiAgICB9XG5cbiAgICBmdW5jdGlvbiBtYWluKGNvbnRleHQgLyosIG9wdGlvbnMqLykge1xuICAgICAgcmV0dXJuIChcbiAgICAgICAgJycgK1xuICAgICAgICB0ZW1wbGF0ZVNwZWMubWFpbihcbiAgICAgICAgICBjb250YWluZXIsXG4gICAgICAgICAgY29udGV4dCxcbiAgICAgICAgICBjb250YWluZXIuaGVscGVycyxcbiAgICAgICAgICBjb250YWluZXIucGFydGlhbHMsXG4gICAgICAgICAgZGF0YSxcbiAgICAgICAgICBibG9ja1BhcmFtcyxcbiAgICAgICAgICBkZXB0aHNcbiAgICAgICAgKVxuICAgICAgKTtcbiAgICB9XG5cbiAgICBtYWluID0gZXhlY3V0ZURlY29yYXRvcnMoXG4gICAgICB0ZW1wbGF0ZVNwZWMubWFpbixcbiAgICAgIG1haW4sXG4gICAgICBjb250YWluZXIsXG4gICAgICBvcHRpb25zLmRlcHRocyB8fCBbXSxcbiAgICAgIGRhdGEsXG4gICAgICBibG9ja1BhcmFtc1xuICAgICk7XG4gICAgcmV0dXJuIG1haW4oY29udGV4dCwgb3B0aW9ucyk7XG4gIH1cblxuICByZXQuaXNUb3AgPSB0cnVlO1xuXG4gIHJldC5fc2V0dXAgPSBmdW5jdGlvbihvcHRpb25zKSB7XG4gICAgaWYgKCFvcHRpb25zLnBhcnRpYWwpIHtcbiAgICAgIGxldCBtZXJnZWRIZWxwZXJzID0gVXRpbHMuZXh0ZW5kKHt9LCBlbnYuaGVscGVycywgb3B0aW9ucy5oZWxwZXJzKTtcbiAgICAgIHdyYXBIZWxwZXJzVG9QYXNzTG9va3VwUHJvcGVydHkobWVyZ2VkSGVscGVycywgY29udGFpbmVyKTtcbiAgICAgIGNvbnRhaW5lci5oZWxwZXJzID0gbWVyZ2VkSGVscGVycztcblxuICAgICAgaWYgKHRlbXBsYXRlU3BlYy51c2VQYXJ0aWFsKSB7XG4gICAgICAgIC8vIFVzZSBtZXJnZUlmTmVlZGVkIGhlcmUgdG8gcHJldmVudCBjb21waWxpbmcgZ2xvYmFsIHBhcnRpYWxzIG11bHRpcGxlIHRpbWVzXG4gICAgICAgIGNvbnRhaW5lci5wYXJ0aWFscyA9IGNvbnRhaW5lci5tZXJnZUlmTmVlZGVkKFxuICAgICAgICAgIG9wdGlvbnMucGFydGlhbHMsXG4gICAgICAgICAgZW52LnBhcnRpYWxzXG4gICAgICAgICk7XG4gICAgICB9XG4gICAgICBpZiAodGVtcGxhdGVTcGVjLnVzZVBhcnRpYWwgfHwgdGVtcGxhdGVTcGVjLnVzZURlY29yYXRvcnMpIHtcbiAgICAgICAgY29udGFpbmVyLmRlY29yYXRvcnMgPSBVdGlscy5leHRlbmQoXG4gICAgICAgICAge30sXG4gICAgICAgICAgZW52LmRlY29yYXRvcnMsXG4gICAgICAgICAgb3B0aW9ucy5kZWNvcmF0b3JzXG4gICAgICAgICk7XG4gICAgICB9XG5cbiAgICAgIGNvbnRhaW5lci5ob29rcyA9IHt9O1xuICAgICAgY29udGFpbmVyLnByb3RvQWNjZXNzQ29udHJvbCA9IGNyZWF0ZVByb3RvQWNjZXNzQ29udHJvbChvcHRpb25zKTtcblxuICAgICAgbGV0IGtlZXBIZWxwZXJJbkhlbHBlcnMgPVxuICAgICAgICBvcHRpb25zLmFsbG93Q2FsbHNUb0hlbHBlck1pc3NpbmcgfHxcbiAgICAgICAgdGVtcGxhdGVXYXNQcmVjb21waWxlZFdpdGhDb21waWxlclY3O1xuICAgICAgbW92ZUhlbHBlclRvSG9va3MoY29udGFpbmVyLCAnaGVscGVyTWlzc2luZycsIGtlZXBIZWxwZXJJbkhlbHBlcnMpO1xuICAgICAgbW92ZUhlbHBlclRvSG9va3MoY29udGFpbmVyLCAnYmxvY2tIZWxwZXJNaXNzaW5nJywga2VlcEhlbHBlckluSGVscGVycyk7XG4gICAgfSBlbHNlIHtcbiAgICAgIGNvbnRhaW5lci5wcm90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nR5KG1lcmdlZEhlbHBlcnMsIGNvbnRhaW5lcikge1xuICBPYmplY3Qua2V5cyhtZXJnZWRIZWxwZXJzKS5mb3JFYWNoKGhlbHBlck5hbWUgPT4ge1xuICAgIGxldCBoZWxwZXIgPSBtZXJnZWRIZWxwZXJzW2hlbHBlck5hbWVdO1xuICAgIG1lcmdlZEhlbHBlcnNbaGVscGVyTmFtZV0gPSBwYXNzTG9va3VwUHJvcGVydHlPcHRpb24oaGVscGVyLCBjb250YWluZXIpO1xuICB9KTtcbn1cblxuZnVuY3Rpb24gcGFzc0xvb2t1cFByb3BlcnR5T3B0aW9uKGhlbHBlciwgY29udGFpbmVyKSB7XG4gIGNvbnN0IGxvb2t1cFByb3BlcnR5ID0gY29udGFpbmVyLmxvb2t1cFByb3BlcnR5O1xuICByZXR1cm4gd3JhcEhlbHBlcihoZWxwZXIsIG9wdGlvbnMgPT4ge1xuICAgIHJldHVybiBVdGlscy5leHRlbmQoeyBsb29rdXBQcm9wZXJ0eSB9LCBvcHRpb25zKTtcbiAgfSk7XG59XG4iXX0=\n","// Build out our basic SafeString type\n'use strict';\n\nexports.__esModule = true;\nfunction SafeString(string) {\n this.string = string;\n}\n\nSafeString.prototype.toString = SafeString.prototype.toHTML = function () {\n return '' + this.string;\n};\n\nexports['default'] = SafeString;\nmodule.exports = exports['default'];\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL3NhZmUtc3RyaW5nLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFDQSxTQUFTLFVBQVUsQ0FBQyxNQUFNLEVBQUU7QUFDMUIsTUFBSSxDQUFDLE1BQU0sR0FBRyxNQUFNLENBQUM7Q0FDdEI7O0FBRUQsVUFBVSxDQUFDLFNBQVMsQ0FBQyxRQUFRLEdBQUcsVUFBVSxDQUFDLFNBQVMsQ0FBQyxNQUFNLEdBQUcsWUFBVztBQUN2RSxTQUFPLEVBQUUsR0FBRyxJQUFJLENBQUMsTUFBTSxDQUFDO0NBQ3pCLENBQUM7O3FCQUVhLFVBQVUiLCJmaWxlIjoic2FmZS1zdHJpbmcuanMiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBCdWlsZCBvdXQgb3VyIGJhc2ljIFNhZmVTdHJpbmcgdHlwZVxuZnVuY3Rpb24gU2FmZVN0cmluZyhzdHJpbmcpIHtcbiAgdGhpcy5zdHJpbmcgPSBzdHJpbmc7XG59XG5cblNhZmVTdHJpbmcucHJvdG90eXBlLnRvU3RyaW5nID0gU2FmZVN0cmluZy5wcm90b3R5cGUudG9IVE1MID0gZnVuY3Rpb24oKSB7XG4gIHJldHVybiAnJyArIHRoaXMuc3RyaW5nO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgU2FmZVN0cmluZztcbiJdfQ==\n","'use strict';\n\nexports.__esModule = true;\nexports.extend = extend;\nexports.indexOf = indexOf;\nexports.escapeExpression = escapeExpression;\nexports.isEmpty = isEmpty;\nexports.createFrame = createFrame;\nexports.blockParams = blockParams;\nexports.appendContextPath = appendContextPath;\nvar escape = {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": ''',\n '`': '`',\n '=': '='\n};\n\nvar badChars = /[&<>\"'`=]/g,\n possible = /[&<>\"'`=]/;\n\nfunction escapeChar(chr) {\n return escape[chr];\n}\n\nfunction extend(obj /* , ...source */) {\n for (var i = 1; i < arguments.length; i++) {\n for (var key in arguments[i]) {\n if (Object.prototype.hasOwnProperty.call(arguments[i], key)) {\n obj[key] = arguments[i][key];\n }\n }\n }\n\n return obj;\n}\n\nvar toString = Object.prototype.toString;\n\nexports.toString = toString;\n// Sourced from lodash\n// https://github.com/bestiejs/lodash/blob/master/LICENSE.txt\n/* eslint-disable func-style */\nvar isFunction = function isFunction(value) {\n return typeof value === 'function';\n};\n// fallback for older versions of Chrome and Safari\n/* istanbul ignore next */\nif (isFunction(/x/)) {\n exports.isFunction = isFunction = function (value) {\n return typeof value === 'function' && toString.call(value) === '[object Function]';\n };\n}\nexports.isFunction = isFunction;\n\n/* eslint-enable func-style */\n\n/* istanbul ignore next */\nvar isArray = Array.isArray || function (value) {\n return value && typeof value === 'object' ? toString.call(value) === '[object Array]' : false;\n};\n\nexports.isArray = isArray;\n// Older IE versions do not directly support indexOf so we must implement our own, sadly.\n\nfunction indexOf(array, value) {\n for (var i = 0, len = array.length; i < len; i++) {\n if (array[i] === value) {\n return i;\n }\n }\n return -1;\n}\n\nfunction escapeExpression(string) {\n if (typeof string !== 'string') {\n // don't escape SafeStrings, since they're already safe\n if (string && string.toHTML) {\n return string.toHTML();\n } else if (string == null) {\n return '';\n } else if (!string) {\n return string + '';\n }\n\n // Force a string conversion as this will be done by the append regardless and\n // the regex test will do this transparently behind the scenes, causing issues if\n // an object's to string has escaped characters in it.\n string = '' + string;\n }\n\n if (!possible.test(string)) {\n return string;\n }\n return string.replace(badChars, escapeChar);\n}\n\nfunction isEmpty(value) {\n if (!value && value !== 0) {\n return true;\n } else if (isArray(value) && value.length === 0) {\n return true;\n } else {\n return false;\n }\n}\n\nfunction createFrame(object) {\n var frame = extend({}, object);\n frame._parent = object;\n return frame;\n}\n\nfunction blockParams(params, ids) {\n params.path = ids;\n return params;\n}\n\nfunction appendContextPath(contextPath, id) {\n return (contextPath ? contextPath + '.' : '') + id;\n}\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9oYW5kbGViYXJzL3V0aWxzLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFBQSxJQUFNLE1BQU0sR0FBRztBQUNiLEtBQUcsRUFBRSxPQUFPO0FBQ1osS0FBRyxFQUFFLE1BQU07QUFDWCxLQUFHLEVBQUUsTUFBTTtBQUNYLEtBQUcsRUFBRSxRQUFRO0FBQ2IsS0FBRyxFQU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x1ZSAmJiB2YWx1ZSAhPT0gMCkge1xuICAgIHJldHVybiB0cnVlO1xuICB9IGVsc2UgaWYgKGlzQXJyYXkodmFsdWUpICYmIHZhbHVlLmxlbmd0aCA9PT0gMCkge1xuICAgIHJldHVybiB0cnVlO1xuICB9IGVsc2Uge1xuICAgIHJldHVybiBmYWxzZTtcbiAgfVxufVxuXG5leHBvcnQgZnVuY3Rpb24gY3JlYXRlRnJhbWUob2JqZWN0KSB7XG4gIGxldCBmcmFtZSA9IGV4dGVuZCh7fSwgb2JqZWN0KTtcbiAgZnJhbWUuX3BhcmVudCA9IG9iamVjdDtcbiAgcmV0dXJuIGZyYW1lO1xufVxuXG5leHBvcnQgZnVuY3Rpb24gYmxvY2tQYXJhbXMocGFyYW1zLCBpZHMpIHtcbiAgcGFyYW1zLnBhdGggPSBpZHM7XG4gIHJldHVybiBwYXJhbXM7XG59XG5cbmV4cG9ydCBmdW5jdGlvbiBhcHBlbmRDb250ZXh0UGF0aChjb250ZXh0UGF0aCwgaWQpIHtcbiAgcmV0dXJuIChjb250ZXh0UGF0aCA/IGNvbnRleHRQYXRoICsgJy4nIDogJycpICsgaWQ7XG59XG4iXX0=\n","// Create a simple path alias to allow browserify to resolve\n// the runtime on a supported path.\nmodule.exports = require('./dist/cjs/handlebars.runtime')['default'];\n","import _extends from '@babel/runtime/helpers/esm/extends';\n\n/**\r\n * Actions represent the type of change to a location value.\r\n *\r\n * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#action\r\n */\nvar Action;\n\n(function (Action) {\n /**\r\n * A POP indicates a change to an arbitrary index in the history stack, such\r\n * as a back or forward navigation. It does not describe the direction of the\r\n * navigation, only that the current index changed.\r\n *\r\n * Note: This is the default action for newly created history objects.\r\n */\n Action[\"Pop\"] = \"POP\";\n /**\r\n * A PUSH indicates a new entry being added to the history stack, such as when\r\n * a link is clicked and a new page loads. When this happens, all subsequent\r\n * entries in the stack are lost.\r\n */\n\n Action[\"Push\"] = \"PUSH\";\n /**\r\n * A REPLACE indicates the entry at the current index in the history stack\r\n * being replaced by a new one.\r\n */\n\n Action[\"Replace\"] = \"REPLACE\";\n})(Action || (Action = {}));\n\nvar readOnly = process.env.NODE_ENV !== \"production\" ? function (obj) {\n return Object.freeze(obj);\n} : function (obj) {\n return obj;\n};\n\nfunction warning(cond, message) {\n if (!cond) {\n // eslint-disable-next-line no-console\n if (typeof console !== 'undefined') console.warn(message);\n\n try {\n // Welcome to debugging history!\n //\n // This error is thrown as a convenience so you can more easily\n // find the source for a warning that appears in the console by\n // enabling \"pause on exceptions\" in your JavaScript debugger.\n throw new Error(message); // eslint-disable-next-line no-empty\n } catch (e) {}\n }\n}\n\nvar BeforeUnloadEventType = 'beforeunload';\nvar HashChangeEventType = 'hashchange';\nvar PopStateEventType = 'popstate';\n/**\r\n * Browser history stores the location in regular URLs. This is the standard for\r\n * most web apps, but it requires some configuration on the server to ensure you\r\n * serve the same app at multiple URLs.\r\n *\r\n * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#createbrowserhistory\r\n */\n\nfunction createBrowserHistory(options) {\n if (options === void 0) {\n options = {};\n }\n\n var _options = options,\n _options$window = _options.window,\n window = _options$window === void 0 ? document.defaultView : _options$window;\n var globalHistory = window.history;\n\n function getIndexAndLocation() {\n var _window$location = window.location,\n pathname = _window$location.pathname,\n search = _window$location.search,\n hash = _window$location.hash;\n var state = globalHistory.state || {};\n return [state.idx, readOnly({\n pathname: pathname,\n search: search,\n hash: hash,\n state: state.usr || null,\n key: state.key || 'default'\n })];\n }\n\n var blockedPopTx = null;\n\n function handlePop() {\n if (blockedPopTx) {\n blockers.call(blockedPopTx);\n blockedPopTx = null;\n } else {\n var nextAction = Action.Pop;\n\n var _getIndexAndLocation = getIndexAndLocation(),\n nextIndex = _getIndexAndLocation[0],\n nextLocation = _getIndexAndLocation[1];\n\n if (blockers.length) {\n if (nextIndex != null) {\n var delta = index - nextIndex;\n\n if (delta) {\n // Revert the POP\n blockedPopTx = {\n action: nextAction,\n location: nextLocation,\n retry: function retry() {\n go(delta * -1);\n }\n };\n go(delta);\n }\n } else {\n // Trying to POP to a location with no index. We did not create\n // this location, so we can't effectively block the navigation.\n process.env.NODE_ENV !== \"production\" ? warning(false, // TODO: Write up a doc that explains our blocking strategy in\n // detail and link to it here so people can understand better what\n // is going on and how to avoid it.\n \"You are trying to block a POP navigation to a location that was not \" + \"created by the history library. The block will fail silently in \" + \"production, but in general you should do all navigation with the \" + \"history library (instead of using window.history.pushState directly) \" + \"to avoid this situation.\") : void 0;\n }\n } else {\n applyTx(nextAction);\n }\n }\n }\n\n window.addEventListener(PopStateEventType, handlePop);\n var action = Action.Pop;\n\n var _getIndexAndLocation2 = getIndexAndLocation(),\n index = _getIndexAndLocation2[0],\n location = _getIndexAndLocation2[1];\n\n var listeners = createEvents();\n var blockers = createEvents();\n\n if (index == null) {\n index = 0;\n globalHistory.replaceState(_extends({}, globalHistory.state, {\n idx: index\n }), '');\n }\n\n function createHref(to) {\n return typeof to === 'string' ? to : createPath(to);\n } // state defaults to `null` because `window.history.state` does\n\n\n function getNextLocation(to, state) {\n if (state === void 0) {\n state = null;\n }\n\n return readOnly(_extends({\n pathname: location.pathname,\n hash: '',\n search: ''\n }, typeof to === 'string' ? parsePath(to) : to, {\n state: state,\n key: createKey()\n }));\n }\n\n function getHistoryStateAndUrl(nextLocation, index) {\n return [{\n usr: nextLocation.state,\n key: nextLocation.key,\n idx: index\n }, createHref(nextLocation)];\n }\n\n function allowTx(action, location, retry) {\n return !blockers.length || (blockers.call({\n action: action,\n location: location,\n retry: retry\n }), false);\n }\n\n function applyTx(nextAction) {\n action = nextAction;\n\n var _getIndexAndLocation3 = getIndexAndLocation();\n\n index = _getIndexAndLocation3[0];\n location = _getIndexAndLocation3[1];\n listeners.call({\n action: action,\n location: location\n });\n }\n\n function push(to, state) {\n var nextAction = Action.Push;\n var nextLocation = getNextLocation(to, state);\n\n function retry() {\n push(to, state);\n }\n\n if (allowTx(nextAction, nextLocation, retry)) {\n var _getHistoryStateAndUr = getHistoryStateAndUrl(nextLocation, index + 1),\n historyState = _getHistoryStateAndUr[0],\n url = _getHistoryStateAndUr[1]; // TODO: Support forced reloading\n // try...catch because iOS limits us to 100 pushState calls :/\n\n\n try {\n globalHistory.pushState(historyState, '', url);\n } catch (error) {\n // They are going to lose state here, but there is no real\n // way to warn them about it since the page will refresh...\n window.location.assign(url);\n }\n\n applyTx(nextAction);\n }\n }\n\n function replace(to, state) {\n var nextAction = Action.Replace;\n var nextLocation = getNextLocation(to, state);\n\n function retry() {\n replace(to, state);\n }\n\n if (allowTx(nextAction, nextLocation, retry)) {\n var _getHistoryStateAndUr2 = getHistoryStateAndUrl(nextLocation, index),\n historyState = _getHistoryStateAndUr2[0],\n url = _getHistoryStateAndUr2[1]; // TODO: Support forced reloading\n\n\n globalHistory.replaceState(historyState, '', url);\n applyTx(nextAction);\n }\n }\n\n function go(delta) {\n globalHistory.go(delta);\n }\n\n var history = {\n get action() {\n return action;\n },\n\n get location() {\n return location;\n },\n\n createHref: createHref,\n push: push,\n replace: replace,\n go: go,\n back: function back() {\n go(-1);\n },\n forward: function forward() {\n go(1);\n },\n listen: function listen(listener) {\n return listeners.push(listener);\n },\n block: function block(blocker) {\n var unblock = blockers.push(blocker);\n\n if (blockers.length === 1) {\n window.addEventListener(BeforeUnloadEventType, promptBeforeUnload);\n }\n\n return function () {\n unblock(); // Remove the beforeunload listener so the document may\n // still be salvageable in the pagehide event.\n // See https://html.spec.whatwg.org/#unloading-documents\n\n if (!blockers.length) {\n window.removeEventListener(BeforeUnloadEventType, promptBeforeUnload);\n }\n };\n }\n };\n return history;\n}\n/**\r\n * Hash history stores the location in window.location.hash. This makes it ideal\r\n * for situations where you don't want to send the location to the server for\r\n * some reason, either because you do cannot configure it or the URL space is\r\n * reserved for something else.\r\n *\r\n * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#createhashhistory\r\n */\n\nfunction createHashHistory(options) {\n if (options === void 0) {\n options = {};\n }\n\n var _options2 = options,\n _options2$window = _options2.window,\n window = _options2$window === void 0 ? document.defaultView : _options2$window;\n var globalHistory = window.history;\n\n function getIndexAndLocation() {\n var _parsePath = parsePath(window.location.hash.substr(1)),\n _parsePath$pathname = _parsePath.pathname,\n pathname = _parsePath$pathname === void 0 ? '/' : _parsePath$pathname,\n _parsePath$search = _parsePath.search,\n search = _parsePath$search === void 0 ? '' : _parsePath$search,\n _parsePath$hash = _parsePath.hash,\n hash = _parsePath$hash === void 0 ? '' : _parsePath$hash;\n\n var state = globalHistory.state || {};\n return [state.idx, readOnly({\n pathname: pathname,\n search: search,\n hash: hash,\n state: state.usr || null,\n key: state.key || 'default'\n })];\n }\n\n var blockedPopTx = null;\n\n function handlePop() {\n if (blockedPopTx) {\n blockers.call(blockedPopTx);\n blockedPopTx = null;\n } else {\n var nextAction = Action.Pop;\n\n var _getIndexAndLocation4 = getIndexAndLocation(),\n nextIndex = _getIndexAndLocation4[0],\n nextLocation = _getIndexAndLocation4[1];\n\n if (blockers.length) {\n if (nextIndex != null) {\n var delta = index - nextIndex;\n\n if (delta) {\n // Revert the POP\n blockedPopTx = {\n action: nextAction,\n location: nextLocation,\n retry: function retry() {\n go(delta * -1);\n }\n };\n go(delta);\n }\n } else {\n // Trying to POP to a location with no index. We did not create\n // this location, so we can't effectively block the navigation.\n process.env.NODE_ENV !== \"production\" ? warning(false, // TODO: Write up a doc that explains our blocking strategy in\n // detail and link to it here so people can understand better\n // what is going on and how to avoid it.\n \"You are trying to block a POP navigation to a location that was not \" + \"created by the history library. The block will fail silently in \" + \"production, but in general you should do all navigation with the \" + \"history library (instead of using window.history.pushState directly) \" + \"to avoid this situation.\") : void 0;\n }\n } else {\n applyTx(nextAction);\n }\n }\n }\n\n window.addEventListener(PopStateEventType, handlePop); // popstate does not fire on hashchange in IE 11 and old (trident) Edge\n // https://developer.mozilla.org/de/docs/Web/API/Window/popstate_event\n\n window.addEventListener(HashChangeEventType, function () {\n var _getIndexAndLocation5 = getIndexAndLocation(),\n nextLocation = _getIndexAndLocation5[1]; // Ignore extraneous hashchange events.\n\n\n if (createPath(nextLocation) !== createPath(location)) {\n handlePop();\n }\n });\n var action = Action.Pop;\n\n var _getIndexAndLocation6 = getIndexAndLocation(),\n index = _getIndexAndLocation6[0],\n location = _getIndexAndLocation6[1];\n\n var listeners = createEvents();\n var blockers = createEvents();\n\n if (index == null) {\n index = 0;\n globalHistory.replaceState(_extends({}, globalHistory.state, {\n idx: index\n }), '');\n }\n\n function getBaseHref() {\n var base = document.querySelector('base');\n var href = '';\n\n if (base && base.getAttribute('href')) {\n var url = window.location.href;\n var hashIndex = url.indexOf('#');\n href = hashIndex === -1 ? url : url.slice(0, hashIndex);\n }\n\n return href;\n }\n\n function createHref(to) {\n return getBaseHref() + '#' + (typeof to === 'string' ? to : createPath(to));\n }\n\n function getNextLocation(to, state) {\n if (state === void 0) {\n state = null;\n }\n\n return readOnly(_extends({\n pathname: location.pathname,\n hash: '',\n search: ''\n }, typeof to === 'string' ? parsePath(to) : to, {\n state: state,\n key: createKey()\n }));\n }\n\n function getHistoryStateAndUrl(nextLocation, index) {\n return [{\n usr: nextLocation.state,\n key: nextLocation.key,\n idx: index\n }, createHref(nextLocation)];\n }\n\n function allowTx(action, location, retry) {\n return !blockers.length || (blockers.call({\n action: action,\n location: location,\n retry: retry\n }), false);\n }\n\n function applyTx(nextAction) {\n action = nextAction;\n\n var _getIndexAndLocation7 = getIndexAndLocation();\n\n index = _getIndexAndLocation7[0];\n location = _getIndexAndLocation7[1];\n listeners.call({\n action: action,\n location: location\n });\n }\n\n function push(to, state) {\n var nextAction = Action.Push;\n var nextLocation = getNextLocation(to, state);\n\n function retry() {\n push(to, state);\n }\n\n process.env.NODE_ENV !== \"production\" ? warning(nextLocation.pathname.charAt(0) === '/', \"Relative pathnames are not supported in hash history.push(\" + JSON.stringify(to) + \")\") : void 0;\n\n if (allowTx(nextAction, nextLocation, retry)) {\n var _getHistoryStateAndUr3 = getHistoryStateAndUrl(nextLocation, index + 1),\n historyState = _getHistoryStateAndUr3[0],\n url = _getHistoryStateAndUr3[1]; // TODO: Support forced reloading\n // try...catch because iOS limits us to 100 pushState calls :/\n\n\n try {\n globalHistory.pushState(historyState, '', url);\n } catch (error) {\n // They are going to lose state here, but there is no real\n // way to warn them about it since the page will refresh...\n window.location.assign(url);\n }\n\n applyTx(nextAction);\n }\n }\n\n function replace(to, state) {\n var nextAction = Action.Replace;\n var nextLocation = getNextLocation(to, state);\n\n function retry() {\n replace(to, state);\n }\n\n process.env.NODE_ENV !== \"production\" ? warning(nextLocation.pathname.charAt(0) === '/', \"Relative pathnames are not supported in hash history.replace(\" + JSON.stringify(to) + \")\") : void 0;\n\n if (allowTx(nextAction, nextLocation, retry)) {\n var _getHistoryStateAndUr4 = getHistoryStateAndUrl(nextLocation, index),\n historyState = _getHistoryStateAndUr4[0],\n url = _getHistoryStateAndUr4[1]; // TODO: Support forced reloading\n\n\n globalHistory.replaceState(historyState, '', url);\n applyTx(nextAction);\n }\n }\n\n function go(delta) {\n globalHistory.go(delta);\n }\n\n var history = {\n get action() {\n return action;\n },\n\n get location() {\n return location;\n },\n\n createHref: createHref,\n push: push,\n replace: replace,\n go: go,\n back: function back() {\n go(-1);\n },\n forward: function forward() {\n go(1);\n },\n listen: function listen(listener) {\n return listeners.push(listener);\n },\n block: function block(blocker) {\n var unblock = blockers.push(blocker);\n\n if (blockers.length === 1) {\n window.addEventListener(BeforeUnloadEventType, promptBeforeUnload);\n }\n\n return function () {\n unblock(); // Remove the beforeunload listener so the document may\n // still be salvageable in the pagehide event.\n // See https://html.spec.whatwg.org/#unloading-documents\n\n if (!blockers.length) {\n window.removeEventListener(BeforeUnloadEventType, promptBeforeUnload);\n }\n };\n }\n };\n return history;\n}\n/**\r\n * Memory history stores the current location in memory. It is designed for use\r\n * in stateful non-browser environments like tests and React Native.\r\n *\r\n * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#creatememoryhistory\r\n */\n\nfunction createMemoryHistory(options) {\n if (options === void 0) {\n options = {};\n }\n\n var _options3 = options,\n _options3$initialEntr = _options3.initialEntries,\n initialEntries = _options3$initialEntr === void 0 ? ['/'] : _options3$initialEntr,\n initialIndex = _options3.initialIndex;\n var entries = initialEntries.map(function (entry) {\n var location = readOnly(_extends({\n pathname: '/',\n search: '',\n hash: '',\n state: null,\n key: createKey()\n }, typeof entry === 'string' ? parsePath(entry) : entry));\n process.env.NODE_ENV !== \"production\" ? warning(location.pathname.charAt(0) === '/', \"Relative pathnames are not supported in createMemoryHistory({ initialEntries }) (invalid entry: \" + JSON.stringify(entry) + \")\") : void 0;\n return location;\n });\n var index = clamp(initialIndex == null ? entries.length - 1 : initialIndex, 0, entries.length - 1);\n var action = Action.Pop;\n var location = entries[index];\n var listeners = createEvents();\n var blockers = createEvents();\n\n function createHref(to) {\n return typeof to === 'string' ? to : createPath(to);\n }\n\n function getNextLocation(to, state) {\n if (state === void 0) {\n state = null;\n }\n\n return readOnly(_extends({\n pathname: location.pathname,\n search: '',\n hash: ''\n }, typeof to === 'string' ? parsePath(to) : to, {\n state: state,\n key: createKey()\n }));\n }\n\n function allowTx(action, location, retry) {\n return !blockers.length || (blockers.call({\n action: action,\n location: location,\n retry: retry\n }), false);\n }\n\n function applyTx(nextAction, nextLocation) {\n action = nextAction;\n location = nextLocation;\n listeners.call({\n action: action,\n location: location\n });\n }\n\n function push(to, state) {\n var nextAction = Action.Push;\n var nextLocation = getNextLocation(to, state);\n\n function retry() {\n push(to, state);\n }\n\n process.env.NODE_ENV !== \"production\" ? warning(location.pathname.charAt(0) === '/', \"Relative pathnames are not supported in memory history.push(\" + JSON.stringify(to) + \")\") : void 0;\n\n if (allowTx(nextAction, nextLocation, retry)) {\n index += 1;\n entries.splice(index, entries.length, nextLocation);\n applyTx(nextAction, nextLocation);\n }\n }\n\n function replace(to, state) {\n var nextAction = Action.Replace;\n var nextLocation = getNextLocation(to, state);\n\n function retry() {\n replace(to, state);\n }\n\n process.env.NODE_ENV !== \"production\" ? warning(location.pathname.charAt(0) === '/', \"Relative pathnames are not supported in memory history.replace(\" + JSON.stringify(to) + \")\") : void 0;\n\n if (allowTx(nextAction, nextLocation, retry)) {\n entries[index] = nextLocation;\n applyTx(nextAction, nextLocation);\n }\n }\n\n function go(delta) {\n var nextIndex = clamp(index + delta, 0, entries.length - 1);\n var nextAction = Action.Pop;\n var nextLocation = entries[nextIndex];\n\n function retry() {\n go(delta);\n }\n\n if (allowTx(nextAction, nextLocation, retry)) {\n index = nextIndex;\n applyTx(nextAction, nextLocation);\n }\n }\n\n var history = {\n get index() {\n return index;\n },\n\n get action() {\n return action;\n },\n\n get location() {\n return location;\n },\n\n createHref: createHref,\n push: push,\n replace: replace,\n go: go,\n back: function back() {\n go(-1);\n },\n forward: function forward() {\n go(1);\n },\n listen: function listen(listener) {\n return listeners.push(listener);\n },\n block: function block(blocker) {\n return blockers.push(blocker);\n }\n };\n return history;\n} ////////////////////////////////////////////////////////////////////////////////\n// UTILS\n////////////////////////////////////////////////////////////////////////////////\n\nfunction clamp(n, lowerBound, upperBound) {\n return Math.min(Math.max(n, lowerBound), upperBound);\n}\n\nfunction promptBeforeUnload(event) {\n // Cancel the event.\n event.preventDefault(); // Chrome (and legacy IE) requires returnValue to be set.\n\n event.returnValue = '';\n}\n\nfunction createEvents() {\n var handlers = [];\n return {\n get length() {\n return handlers.length;\n },\n\n push: function push(fn) {\n handlers.push(fn);\n return function () {\n handlers = handlers.filter(function (handler) {\n return handler !== fn;\n });\n };\n },\n call: function call(arg) {\n handlers.forEach(function (fn) {\n return fn && fn(arg);\n });\n }\n };\n}\n\nfunction createKey() {\n return Math.random().toString(36).substr(2, 8);\n}\n/**\r\n * Creates a string URL path from the given pathname, search, and hash components.\r\n *\r\n * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#createpath\r\n */\n\n\nfunction createPath(_ref) {\n var _ref$pathname = _ref.pathname,\n pathname = _ref$pathname === void 0 ? '/' : _ref$pathname,\n _ref$search = _ref.search,\n search = _ref$search === void 0 ? '' : _ref$search,\n _ref$hash = _ref.hash,\n hash = _ref$hash === void 0 ? '' : _ref$hash;\n if (search && search !== '?') pathname += search.charAt(0) === '?' ? search : '?' + search;\n if (hash && hash !== '#') pathname += hash.charAt(0) === '#' ? hash : '#' + hash;\n return pathname;\n}\n/**\r\n * Parses a string URL path into its separate pathname, search, and hash components.\r\n *\r\n * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#parsepath\r\n */\n\nfunction parsePath(path) {\n var parsedPath = {};\n\n if (path) {\n var hashIndex = path.indexOf('#');\n\n if (hashIndex >= 0) {\n parsedPath.hash = path.substr(hashIndex);\n path = path.substr(0, hashIndex);\n }\n\n var searchIndex = path.indexOf('?');\n\n if (searchIndex >= 0) {\n parsedPath.search = path.substr(searchIndex);\n path = path.substr(0, searchIndex);\n }\n\n if (path) {\n parsedPath.pathname = path;\n }\n }\n\n return parsedPath;\n}\n\nexport { Action, createBrowserHistory, createHashHistory, createMemoryHistory, createPath, parsePath };\n//# sourceMappingURL=index.js.map\n","/*!\n * JavaScript Cookie v2.2.1\n * https://github.com/js-cookie/js-cookie\n *\n * Copyright 2006, 2015 Klaus Hartl & Fagner Brack\n * Released under the MIT license\n */\n;(function (factory) {\n\tvar registeredInModuleLoader;\n\tif (typeof define === 'function' && define.amd) {\n\t\tdefine(factory);\n\t\tregisteredInModuleLoader = true;\n\t}\n\tif (typeof exports === 'object') {\n\t\tmodule.exports = factory();\n\t\tregisteredInModuleLoader = true;\n\t}\n\tif (!registeredInModuleLoader) {\n\t\tvar OldCookies = window.Cookies;\n\t\tvar api = window.Cookies = factory();\n\t\tapi.noConflict = function () {\n\t\t\twindow.Cookies = OldCookies;\n\t\t\treturn api;\n\t\t};\n\t}\n}(function () {\n\tfunction extend () {\n\t\tvar i = 0;\n\t\tvar result = {};\n\t\tfor (; i < arguments.length; i++) {\n\t\t\tvar attributes = arguments[ i ];\n\t\t\tfor (var key in attributes) {\n\t\t\t\tresult[key] = attributes[key];\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}\n\n\tfunction decode (s) {\n\t\treturn s.replace(/(%[0-9A-Z]{2})+/g, decodeURIComponent);\n\t}\n\n\tfunction init (converter) {\n\t\tfunction api() {}\n\n\t\tfunction set (key, value, attributes) {\n\t\t\tif (typeof document === 'undefined') {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tattributes = extend({\n\t\t\t\tpath: '/'\n\t\t\t}, api.defaults, attributes);\n\n\t\t\tif (typeof attributes.expires === 'number') {\n\t\t\t\tattributes.expires = new Date(new Date() * 1 + attributes.expires * 864e+5);\n\t\t\t}\n\n\t\t\t// We're using \"expires\" because \"max-age\" is not supported by IE\n\t\t\tattributes.expires = attributes.expires ? attributes.expires.toUTCString() : '';\n\n\t\t\ttry {\n\t\t\t\tvar result = JSON.stringify(value);\n\t\t\t\tif (/^[\\{\\[]/.test(result)) {\n\t\t\t\t\tvalue = result;\n\t\t\t\t}\n\t\t\t} catch (e) {}\n\n\t\t\tvalue = converter.write ?\n\t\t\t\tconverter.write(value, key) :\n\t\t\t\tencodeURIComponent(String(value))\n\t\t\t\t\t.replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent);\n\n\t\t\tkey = encodeURIComponent(String(key))\n\t\t\t\t.replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent)\n\t\t\t\t.replace(/[\\(\\)]/g, escape);\n\n\t\t\tvar stringifiedAttributes = '';\n\t\t\tfor (var attributeName in attributes) {\n\t\t\t\tif (!attributes[attributeName]) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tstringifiedAttributes += '; ' + attributeName;\n\t\t\t\tif (attributes[attributeName] === true) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\t// Considers RFC 6265 section 5.2:\n\t\t\t\t// ...\n\t\t\t\t// 3. If the remaining unparsed-attributes contains a %x3B (\";\")\n\t\t\t\t// character:\n\t\t\t\t// Consume the characters of the unparsed-attributes up to,\n\t\t\t\t// not including, the first %x3B (\";\") character.\n\t\t\t\t// ...\n\t\t\t\tstringifiedAttributes += '=' + attributes[attributeName].split(';')[0];\n\t\t\t}\n\n\t\t\treturn (document.cookie = key + '=' + value + stringifiedAttributes);\n\t\t}\n\n\t\tfunction get (key, json) {\n\t\t\tif (typeof document === 'undefined') {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar jar = {};\n\t\t\t// To prevent the for loop in the first place assign an empty array\n\t\t\t// in case there are no cookies at all.\n\t\t\tvar cookies = document.cookie ? document.cookie.split('; ') : [];\n\t\t\tvar i = 0;\n\n\t\t\tfor (; i < cookies.length; i++) {\n\t\t\t\tvar parts = cookies[i].split('=');\n\t\t\t\tvar cookie = parts.slice(1).join('=');\n\n\t\t\t\tif (!json && cookie.charAt(0) === '\"') {\n\t\t\t\t\tcookie = cookie.slice(1, -1);\n\t\t\t\t}\n\n\t\t\t\ttry {\n\t\t\t\t\tvar name = decode(parts[0]);\n\t\t\t\t\tcookie = (converter.read || converter)(cookie, name) ||\n\t\t\t\t\t\tdecode(cookie);\n\n\t\t\t\t\tif (json) {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tcookie = JSON.parse(cookie);\n\t\t\t\t\t\t} catch (e) {}\n\t\t\t\t\t}\n\n\t\t\t\t\tjar[name] = cookie;\n\n\t\t\t\t\tif (key === name) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t} catch (e) {}\n\t\t\t}\n\n\t\t\treturn key ? jar[key] : jar;\n\t\t}\n\n\t\tapi.set = set;\n\t\tapi.get = function (key) {\n\t\t\treturn get(key, false /* read as raw */);\n\t\t};\n\t\tapi.getJSON = function (key) {\n\t\t\treturn get(key, true /* read as json */);\n\t\t};\n\t\tapi.remove = function (key, attributes) {\n\t\t\tset(key, '', extend(attributes, {\n\t\t\t\texpires: -1\n\t\t\t}));\n\t\t};\n\n\t\tapi.defaults = {};\n\n\t\tapi.withConverter = init;\n\n\t\treturn api;\n\t}\n\n\treturn init(function () {});\n}));\n","/**\n * lodash (Custom Build) \n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors \n * Released under MIT license \n * Based on Underscore.js 1.8.3 \n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n result = wait - timeSinceLastCall;\n\n return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = debounce;\n","/**\n * lodash (Custom Build) \n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors \n * Released under MIT license \n * Based on Underscore.js 1.8.3 \n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** `Object#toString` result references. */\nvar funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]';\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\n/**\n * Checks if `value` is a host object in IE < 9.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a host object, else `false`.\n */\nfunction isHostObject(value) {\n // Many host objects are `Object` objects that can coerce to strings\n // despite having improperly defined `toString` methods.\n var result = false;\n if (value != null && typeof value.toString != 'function') {\n try {\n result = !!(value + '');\n } catch (e) {}\n }\n return result;\n}\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype,\n funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map'),\n nativeCreate = getNative(Object, 'create');\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries ? entries.length : 0;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n}\n\n/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n return this.has(key) && delete this.__data__[key];\n}\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? data[key] !== undefined : hasOwnProperty.call(data, key);\n}\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries ? entries.length : 0;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n}\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n return true;\n}\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries ? entries.length : 0;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n return getMapData(this, key)['delete'](key);\n}\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n getMapData(this, key).set(key, value);\n return this;\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = (isFunction(value) || isHostObject(value)) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\n/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to process.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\n/**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\nfunction memoize(func, resolver) {\n if (typeof func != 'function' || (resolver && typeof resolver != 'function')) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result);\n return result;\n };\n memoized.cache = new (memoize.Cache || MapCache);\n return memoized;\n}\n\n// Assign cache to `_.memoize`.\nmemoize.Cache = MapCache;\n\n/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 8-9 which returns 'object' for typed array and other constructors.\n var tag = isObject(value) ? objectToString.call(value) : '';\n return tag == funcTag || tag == genTag;\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n\nmodule.exports = memoize;\n","/**\n * lodash (Custom Build) \n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors \n * Released under MIT license \n * Based on Underscore.js 1.8.3 \n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n result = wait - timeSinceLastCall;\n\n return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\n/**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\nfunction throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = throttle;\n","/**\n * SimpleBar.js - v5.3.9\n * Scrollbars, simpler.\n * https://grsmto.github.io/simplebar/\n *\n * Made by Adrien Denat from a fork by Jonathan Nicol\n * Under MIT License\n */\n\nimport 'core-js/modules/es.object.to-string.js';\nimport 'core-js/modules/web.dom-collections.for-each.js';\nimport canUseDOM from 'can-use-dom';\nimport 'core-js/modules/es.parse-int.js';\nimport 'core-js/modules/es.object.assign.js';\nimport 'core-js/modules/es.array.filter.js';\nimport 'core-js/modules/es.array.iterator.js';\nimport 'core-js/modules/es.string.iterator.js';\nimport 'core-js/modules/es.weak-map.js';\nimport 'core-js/modules/web.dom-collections.iterator.js';\nimport throttle from 'lodash.throttle';\nimport debounce from 'lodash.debounce';\nimport memoize from 'lodash.memoize';\nimport { ResizeObserver } from '@juggle/resize-observer';\nimport 'core-js/modules/es.array.reduce.js';\nimport 'core-js/modules/es.regexp.exec.js';\nimport 'core-js/modules/es.string.match.js';\nimport 'core-js/modules/es.function.name.js';\nimport 'core-js/modules/es.string.replace.js';\n\n// Helper function to retrieve options from element attributes\nvar getOptions = function getOptions(obj) {\n var options = Array.prototype.reduce.call(obj, function (acc, attribute) {\n var option = attribute.name.match(/data-simplebar-(.+)/);\n\n if (option) {\n var key = option[1].replace(/\\W+(.)/g, function (x, chr) {\n return chr.toUpperCase();\n });\n\n switch (attribute.value) {\n case 'true':\n acc[key] = true;\n break;\n\n case 'false':\n acc[key] = false;\n break;\n\n case undefined:\n acc[key] = true;\n break;\n\n default:\n acc[key] = attribute.value;\n }\n }\n\n return acc;\n }, {});\n return options;\n};\nfunction getElementWindow(element) {\n if (!element || !element.ownerDocument || !element.ownerDocument.defaultView) {\n return window;\n }\n\n return element.ownerDocument.defaultView;\n}\nfunction getElementDocument(element) {\n if (!element || !element.ownerDocument) {\n return document;\n }\n\n return element.ownerDocument;\n}\n\nvar cachedScrollbarWidth = null;\nvar cachedDevicePixelRatio = null;\n\nif (canUseDOM) {\n window.addEventListener('resize', function () {\n if (cachedDevicePixelRatio !== window.devicePixelRatio) {\n cachedDevicePixelRatio = window.devicePixelRatio;\n cachedScrollbarWidth = null;\n }\n });\n}\n\nfunction scrollbarWidth(el) {\n if (cachedScrollbarWidth === null) {\n var document = getElementDocument(el);\n\n if (typeof document === 'undefined') {\n cachedScrollbarWidth = 0;\n return cachedScrollbarWidth;\n }\n\n var body = document.body;\n var box = document.createElement('div');\n box.classList.add('simplebar-hide-scrollbar');\n body.appendChild(box);\n var width = box.getBoundingClientRect().right;\n body.removeChild(box);\n cachedScrollbarWidth = width;\n }\n\n return cachedScrollbarWidth;\n}\n\nvar SimpleBar = /*#__PURE__*/function () {\n function SimpleBar(element, options) {\n var _this = this;\n\n this.onScroll = function () {\n var elWindow = getElementWindow(_this.el);\n\n if (!_this.scrollXTicking) {\n elWindow.requestAnimationFrame(_this.scrollX);\n _this.scrollXTicking = true;\n }\n\n if (!_this.scrollYTicking) {\n elWindow.requestAnimationFrame(_this.scrollY);\n _this.scrollYTicking = true;\n }\n };\n\n this.scrollX = function () {\n if (_this.axis.x.isOverflowing) {\n _this.showScrollbar('x');\n\n _this.positionScrollbar('x');\n }\n\n _this.scrollXTicking = false;\n };\n\n this.scrollY = function () {\n if (_this.axis.y.isOverflowing) {\n _this.showScrollbar('y');\n\n _this.positionScrollbar('y');\n }\n\n _this.scrollYTicking = false;\n };\n\n this.onMouseEnter = function () {\n _this.showScrollbar('x');\n\n _this.showScrollbar('y');\n };\n\n this.onMouseMove = function (e) {\n _this.mouseX = e.clientX;\n _this.mouseY = e.clientY;\n\n if (_this.axis.x.isOverflowing || _this.axis.x.forceVisible) {\n _this.onMouseMoveForAxis('x');\n }\n\n if (_this.axis.y.isOverflowing || _this.axis.y.forceVisible) {\n _this.onMouseMoveForAxis('y');\n }\n };\n\n this.onMouseLeave = function () {\n _this.onMouseMove.cancel();\n\n if (_this.axis.x.isOverflowing || _this.axis.x.forceVisible) {\n _this.onMouseLeaveForAxis('x');\n }\n\n if (_this.axis.y.isOverflowing || _this.axis.y.forceVisible) {\n _this.onMouseLeaveForAxis('y');\n }\n\n _this.mouseX = -1;\n _this.mouseY = -1;\n };\n\n this.onWindowResize = function () {\n // Recalculate scrollbarWidth in case it's a zoom\n _this.scrollbarWidth = _this.getScrollbarWidth();\n\n _this.hideNativeScrollbar();\n };\n\n this.hideScrollbars = function () {\n _this.axis.x.track.rect = _this.axis.x.track.el.getBoundingClientRect();\n _this.axis.y.track.rect = _this.axis.y.track.el.getBoundingClientRect();\n\n if (!_this.isWithinBounds(_this.axis.y.track.rect)) {\n _this.axis.y.scrollbar.el.classList.remove(_this.classNames.visible);\n\n _this.axis.y.isVisible = false;\n }\n\n if (!_this.isWithinBounds(_this.axis.x.track.rect)) {\n _this.axis.x.scrollbar.el.classList.remove(_this.classNames.visible);\n\n _this.axis.x.isVisible = false;\n }\n };\n\n this.onPointerEvent = function (e) {\n var isWithinTrackXBounds, isWithinTrackYBounds;\n _this.axis.x.track.rect = _this.axis.x.track.el.getBoundingClientRect();\n _this.axis.y.track.rect = _this.axis.y.track.el.getBoundingClientRect();\n\n if (_this.axis.x.isOverflowing || _this.axis.x.forceVisible) {\n isWithinTrackXBounds = _this.isWithinBounds(_this.axis.x.track.rect);\n }\n\n if (_this.axis.y.isOverflowing || _this.axis.y.forceVisible) {\n isWithinTrackYBounds = _this.isWithinBounds(_this.axis.y.track.rect);\n } // If any pointer event is called on the scrollbar\n\n\n if (isWithinTrackXBounds || isWithinTrackYBounds) {\n // Preventing the event's default action stops text being\n // selectable during the drag.\n e.preventDefault(); // Prevent event leaking\n\n e.stopPropagation();\n\n if (e.type === 'mousedown') {\n if (isWithinTrackXBounds) {\n _this.axis.x.scrollbar.rect = _this.axis.x.scrollbar.el.getBoundingClientRect();\n\n if (_this.isWithinBounds(_this.axis.x.scrollbar.rect)) {\n _this.onDragStart(e, 'x');\n } else {\n _this.onTrackClick(e, 'x');\n }\n }\n\n if (isWithinTrackYBounds) {\n _this.axis.y.scrollbar.rect = _this.axis.y.scrollbar.el.getBoundingClientRect();\n\n if (_this.isWithinBounds(_this.axis.y.scrollbar.rect)) {\n _this.onDragStart(e, 'y');\n } else {\n _this.onTrackClick(e, 'y');\n }\n }\n }\n }\n };\n\n this.drag = function (e) {\n var eventOffset;\n var track = _this.axis[_this.draggedAxis].track;\n var trackSize = track.rect[_this.axis[_this.draggedAxis].sizeAttr];\n var scrollbar = _this.axis[_this.draggedAxis].scrollbar;\n var contentSize = _this.contentWrapperEl[_this.axis[_this.draggedAxis].scrollSizeAttr];\n var hostSize = parseInt(_this.elStyles[_this.axis[_this.draggedAxis].sizeAttr], 10);\n e.preventDefault();\n e.stopPropagation();\n\n if (_this.draggedAxis === 'y') {\n eventOffset = e.pageY;\n } else {\n eventOffset = e.pageX;\n } // Calculate how far the user's mouse is from the top/left of the scrollbar (minus the dragOffset).\n\n\n var dragPos = eventOffset - track.rect[_this.axis[_this.draggedAxis].offsetAttr] - _this.axis[_this.draggedAxis].dragOffset; // Convert the mouse position into a percentage of the scrollbar height/width.\n\n var dragPerc = dragPos / (trackSize - scrollbar.size); // Scroll the content by the same percentage.\n\n var scrollPos = dragPerc * (contentSize - hostSize); // Fix browsers inconsistency on RTL\n\n if (_this.draggedAxis === 'x') {\n scrollPos = _this.isRtl && SimpleBar.getRtlHelpers().isRtlScrollbarInverted ? scrollPos - (trackSize + scrollbar.size) : scrollPos;\n scrollPos = _this.isRtl && SimpleBar.getRtlHelpers().isRtlScrollingInverted ? -scrollPos : scrollPos;\n }\n\n _this.contentWrapperEl[_this.axis[_this.draggedAxis].scrollOffsetAttr] = scrollPos;\n };\n\n this.onEndDrag = function (e) {\n var elDocument = getElementDocument(_this.el);\n var elWindow = getElementWindow(_this.el);\n e.preventDefault();\n e.stopPropagation();\n\n _this.el.classList.remove(_this.classNames.dragging);\n\n elDocument.removeEventListener('mousemove', _this.drag, true);\n elDocument.removeEventListener('mouseup', _this.onEndDrag, true);\n _this.removePreventClickId = elWindow.setTimeout(function () {\n // Remove these asynchronously so we still suppress click events\n // generated simultaneously with mouseup.\n elDocument.removeEventListener('click', _this.preventClick, true);\n elDocument.removeEventListener('dblclick', _this.preventClick, true);\n _this.removePreventClickId = null;\n });\n };\n\n this.preventClick = function (e) {\n e.preventDefault();\n e.stopPropagation();\n };\n\n this.el = element;\n this.minScrollbarWidth = 20;\n this.options = Object.assign({}, SimpleBar.defaultOptions, options);\n this.classNames = Object.assign({}, SimpleBar.defaultOptions.classNames, this.options.classNames);\n this.axis = {\n x: {\n scrollOffsetAttr: 'scrollLeft',\n sizeAttr: 'width',\n scrollSizeAttr: 'scrollWidth',\n offsetSizeAttr: 'offsetWidth',\n offsetAttr: 'left',\n overflowAttr: 'overflowX',\n dragOffset: 0,\n isOverflowing: true,\n isVisible: false,\n forceVisible: false,\n track: {},\n scrollbar: {}\n },\n y: {\n scrollOffsetAttr: 'scrollTop',\n sizeAttr: 'height',\n scrollSizeAttr: 'scrollHeight',\n offsetSizeAttr: 'offsetHeight',\n offsetAttr: 'top',\n overflowAttr: 'overflowY',\n dragOffset: 0,\n isOverflowing: true,\n isVisible: false,\n forceVisible: false,\n track: {},\n scrollbar: {}\n }\n };\n this.removePreventClickId = null; // Don't re-instantiate over an existing one\n\n if (SimpleBar.instances.has(this.el)) {\n return;\n }\n\n this.recalculate = throttle(this.recalculate.bind(this), 64);\n this.onMouseMove = throttle(this.onMouseMove.bind(this), 64);\n this.hideScrollbars = debounce(this.hideScrollbars.bind(this), this.options.timeout);\n this.onWindowResize = debounce(this.onWindowResize.bind(this), 64, {\n leading: true\n });\n SimpleBar.getRtlHelpers = memoize(SimpleBar.getRtlHelpers);\n this.init();\n }\n /**\n * Static properties\n */\n\n /**\n * Helper to fix browsers inconsistency on RTL:\n * - Firefox inverts the scrollbar initial position\n * - IE11 inverts both scrollbar position and scrolling offset\n * Directly inspired by @KingSora's OverlayScrollbars https://github.com/KingSora/OverlayScrollbars/blob/master/js/OverlayScrollbars.js#L1634\n */\n\n\n SimpleBar.getRtlHelpers = function getRtlHelpers() {\n var dummyDiv = document.createElement('div');\n dummyDiv.innerHTML = '
    ';\n var scrollbarDummyEl = dummyDiv.firstElementChild;\n document.body.appendChild(scrollbarDummyEl);\n var dummyContainerChild = scrollbarDummyEl.firstElementChild;\n scrollbarDummyEl.scrollLeft = 0;\n var dummyContainerOffset = SimpleBar.getOffset(scrollbarDummyEl);\n var dummyContainerChildOffset = SimpleBar.getOffset(dummyContainerChild);\n scrollbarDummyEl.scrollLeft = 999;\n var dummyContainerScrollOffsetAfterScroll = SimpleBar.getOffset(dummyContainerChild);\n return {\n // determines if the scrolling is responding with negative values\n isRtlScrollingInverted: dummyContainerOffset.left !== dummyContainerChildOffset.left && dummyContainerChildOffset.left - dummyContainerScrollOffsetAfterScroll.left !== 0,\n // determines if the origin scrollbar position is inverted or not (positioned on left or right)\n isRtlScrollbarInverted: dummyContainerOffset.left !== dummyContainerChildOffset.left\n };\n };\n\n SimpleBar.getOffset = function getOffset(el) {\n var rect = el.getBoundingClientRect();\n var elDocument = getElementDocument(el);\n var elWindow = getElementWindow(el);\n return {\n top: rect.top + (elWindow.pageYOffset || elDocument.documentElement.scrollTop),\n left: rect.left + (elWindow.pageXOffset || elDocument.documentElement.scrollLeft)\n };\n };\n\n var _proto = SimpleBar.prototype;\n\n _proto.init = function init() {\n // Save a reference to the instance, so we know this DOM node has already been instancied\n SimpleBar.instances.set(this.el, this); // We stop here on server-side\n\n if (canUseDOM) {\n this.initDOM();\n this.setAccessibilityAttributes();\n this.scrollbarWidth = this.getScrollbarWidth();\n this.recalculate();\n this.initListeners();\n }\n };\n\n _proto.initDOM = function initDOM() {\n var _this2 = this;\n\n // make sure this element doesn't have the elements yet\n if (Array.prototype.filter.call(this.el.children, function (child) {\n return child.classList.contains(_this2.classNames.wrapper);\n }).length) {\n // assume that element has his DOM already initiated\n this.wrapperEl = this.el.querySelector(\".\" + this.classNames.wrapper);\n this.contentWrapperEl = this.options.scrollableNode || this.el.querySelector(\".\" + this.classNames.contentWrapper);\n this.contentEl = this.options.contentNode || this.el.querySelector(\".\" + this.classNames.contentEl);\n this.offsetEl = this.el.querySelector(\".\" + this.classNames.offset);\n this.maskEl = this.el.querySelector(\".\" + this.classNames.mask);\n this.placeholderEl = this.findChild(this.wrapperEl, \".\" + this.classNames.placeholder);\n this.heightAutoObserverWrapperEl = this.el.querySelector(\".\" + this.classNames.heightAutoObserverWrapperEl);\n this.heightAutoObserverEl = this.el.querySelector(\".\" + this.classNames.heightAutoObserverEl);\n this.axis.x.track.el = this.findChild(this.el, \".\" + this.classNames.track + \".\" + this.classNames.horizontal);\n this.axis.y.track.el = this.findChild(this.el, \".\" + this.classNames.track + \".\" + this.classNames.vertical);\n } else {\n // Prepare DOM\n this.wrapperEl = document.createElement('div');\n this.contentWrapperEl = document.createElement('div');\n this.offsetEl = document.createElement('div');\n this.maskEl = document.createElement('div');\n this.contentEl = document.createElement('div');\n this.placeholderEl = document.createElement('div');\n this.heightAutoObserverWrapperEl = document.createElement('div');\n this.heightAutoObserverEl = document.createElement('div');\n this.wrapperEl.classList.add(this.classNames.wrapper);\n this.contentWrapperEl.classList.add(this.classNames.contentWrapper);\n this.offsetEl.classList.add(this.classNames.offset);\n this.maskEl.classList.add(this.classNames.mask);\n this.contentEl.classList.add(this.classNames.contentEl);\n this.placeholderEl.classList.add(this.classNames.placeholder);\n this.heightAutoObserverWrapperEl.classList.add(this.classNames.heightAutoObserverWrapperEl);\n this.heightAutoObserverEl.classList.add(this.classNames.heightAutoObserverEl);\n\n while (this.el.firstChild) {\n this.contentEl.appendChild(this.el.firstChild);\n }\n\n this.contentWrapperEl.appendChild(this.contentEl);\n this.offsetEl.appendChild(this.contentWrapperEl);\n this.maskEl.appendChild(this.offsetEl);\n this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl);\n this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl);\n this.wrapperEl.appendChild(this.maskEl);\n this.wrapperEl.appendChild(this.placeholderEl);\n this.el.appendChild(this.wrapperEl);\n }\n\n if (!this.axis.x.track.el || !this.axis.y.track.el) {\n var track = document.createElement('div');\n var scrollbar = document.createElement('div');\n track.classList.add(this.classNames.track);\n scrollbar.classList.add(this.classNames.scrollbar);\n track.appendChild(scrollbar);\n this.axis.x.track.el = track.cloneNode(true);\n this.axis.x.track.el.classList.add(this.classNames.horizontal);\n this.axis.y.track.el = track.cloneNode(true);\n this.axis.y.track.el.classList.add(this.classNames.vertical);\n this.el.appendChild(this.axis.x.track.el);\n this.el.appendChild(this.axis.y.track.el);\n }\n\n this.axis.x.scrollbar.el = this.axis.x.track.el.querySelector(\".\" + this.classNames.scrollbar);\n this.axis.y.scrollbar.el = this.axis.y.track.el.querySelector(\".\" + this.classNames.scrollbar);\n\n if (!this.options.autoHide) {\n this.axis.x.scrollbar.el.classList.add(this.classNames.visible);\n this.axis.y.scrollbar.el.classList.add(this.classNames.visible);\n }\n\n this.el.setAttribute('data-simplebar', 'init');\n };\n\n _proto.setAccessibilityAttributes = function setAccessibilityAttributes() {\n var ariaLabel = this.options.ariaLabel || 'scrollable content';\n this.contentWrapperEl.setAttribute('tabindex', '0');\n this.contentWrapperEl.setAttribute('role', 'region');\n this.contentWrapperEl.setAttribute('aria-label', ariaLabel);\n };\n\n _proto.initListeners = function initListeners() {\n var _this3 = this;\n\n var elWindow = getElementWindow(this.el); // Event listeners\n\n if (this.options.autoHide) {\n this.el.addEventListener('mouseenter', this.onMouseEnter);\n }\n\n ['mousedown', 'click', 'dblclick'].forEach(function (e) {\n _this3.el.addEventListener(e, _this3.onPointerEvent, true);\n });\n ['touchstart', 'touchend', 'touchmove'].forEach(function (e) {\n _this3.el.addEventListener(e, _this3.onPointerEvent, {\n capture: true,\n passive: true\n });\n });\n this.el.addEventListener('mousemove', this.onMouseMove);\n this.el.addEventListener('mouseleave', this.onMouseLeave);\n this.contentWrapperEl.addEventListener('scroll', this.onScroll); // Browser zoom triggers a window resize\n\n elWindow.addEventListener('resize', this.onWindowResize); // Hack for https://github.com/WICG/ResizeObserver/issues/38\n\n var resizeObserverStarted = false;\n var resizeAnimationFrameId = null;\n var resizeObserver = elWindow.ResizeObserver || ResizeObserver;\n this.resizeObserver = new resizeObserver(function () {\n if (!resizeObserverStarted || resizeAnimationFrameId !== null) return;\n resizeAnimationFrameId = elWindow.requestAnimationFrame(function () {\n _this3.recalculate();\n\n resizeAnimationFrameId = null;\n });\n });\n this.resizeObserver.observe(this.el);\n this.resizeObserver.observe(this.contentEl);\n elWindow.requestAnimationFrame(function () {\n resizeObserverStarted = true;\n }); // This is required to detect horizontal scroll. Vertical scroll only needs the resizeObserver.\n\n this.mutationObserver = new elWindow.MutationObserver(this.recalculate);\n this.mutationObserver.observe(this.contentEl, {\n childList: true,\n subtree: true,\n characterData: true\n });\n };\n\n _proto.recalculate = function recalculate() {\n var elWindow = getElementWindow(this.el);\n this.elStyles = elWindow.getComputedStyle(this.el);\n this.isRtl = this.elStyles.direction === 'rtl';\n var isHeightAuto = this.heightAutoObserverEl.offsetHeight <= 1;\n var isWidthAuto = this.heightAutoObserverEl.offsetWidth <= 1;\n var contentElOffsetWidth = this.contentEl.offsetWidth;\n var contentWrapperElOffsetWidth = this.contentWrapperEl.offsetWidth;\n var elOverflowX = this.elStyles.overflowX;\n var elOverflowY = this.elStyles.overflowY;\n this.contentEl.style.padding = this.elStyles.paddingTop + \" \" + this.elStyles.paddingRight + \" \" + this.elStyles.paddingBottom + \" \" + this.elStyles.paddingLeft;\n this.wrapperEl.style.margin = \"-\" + this.elStyles.paddingTop + \" -\" + this.elStyles.paddingRight + \" -\" + this.elStyles.paddingBottom + \" -\" + this.elStyles.paddingLeft;\n var contentElScrollHeight = this.contentEl.scrollHeight;\n var contentElScrollWidth = this.contentEl.scrollWidth;\n this.contentWrapperEl.style.height = isHeightAuto ? 'auto' : '100%'; // Determine placeholder size\n\n this.placeholderEl.style.width = isWidthAuto ? contentElOffsetWidth + \"px\" : 'auto';\n this.placeholderEl.style.height = contentElScrollHeight + \"px\";\n var contentWrapperElOffsetHeight = this.contentWrapperEl.offsetHeight;\n this.axis.x.isOverflowing = contentElScrollWidth > contentElOffsetWidth;\n this.axis.y.isOverflowing = contentElScrollHeight > contentWrapperElOffsetHeight; // Set isOverflowing to false if user explicitely set hidden overflow\n\n this.axis.x.isOverflowing = elOverflowX === 'hidden' ? false : this.axis.x.isOverflowing;\n this.axis.y.isOverflowing = elOverflowY === 'hidden' ? false : this.axis.y.isOverflowing;\n this.axis.x.forceVisible = this.options.forceVisible === 'x' || this.options.forceVisible === true;\n this.axis.y.forceVisible = this.options.forceVisible === 'y' || this.options.forceVisible === true;\n this.hideNativeScrollbar(); // Set isOverflowing to false if scrollbar is not necessary (content is shorter than offset)\n\n var offsetForXScrollbar = this.axis.x.isOverflowing ? this.scrollbarWidth : 0;\n var offsetForYScrollbar = this.axis.y.isOverflowing ? this.scrollbarWidth : 0;\n this.axis.x.isOverflowing = this.axis.x.isOverflowing && contentElScrollWidth > contentWrapperElOffsetWidth - offsetForYScrollbar;\n this.axis.y.isOverflowing = this.axis.y.isOverflowing && contentElScrollHeight > contentWrapperElOffsetHeight - offsetForXScrollbar;\n this.axis.x.scrollbar.size = this.getScrollbarSize('x');\n this.axis.y.scrollbar.size = this.getScrollbarSize('y');\n this.axis.x.scrollbar.el.style.width = this.axis.x.scrollbar.size + \"px\";\n this.axis.y.scrollbar.el.style.height = this.axis.y.scrollbar.size + \"px\";\n this.positionScrollbar('x');\n this.positionScrollbar('y');\n this.toggleTrackVisibility('x');\n this.toggleTrackVisibility('y');\n }\n /**\n * Calculate scrollbar size\n */\n ;\n\n _proto.getScrollbarSize = function getScrollbarSize(axis) {\n if (axis === void 0) {\n axis = 'y';\n }\n\n if (!this.axis[axis].isOverflowing) {\n return 0;\n }\n\n var contentSize = this.contentEl[this.axis[axis].scrollSizeAttr];\n var trackSize = this.axis[axis].track.el[this.axis[axis].offsetSizeAttr];\n var scrollbarSize;\n var scrollbarRatio = trackSize / contentSize; // Calculate new height/position of drag handle.\n\n scrollbarSize = Math.max(~~(scrollbarRatio * trackSize), this.options.scrollbarMinSize);\n\n if (this.options.scrollbarMaxSize) {\n scrollbarSize = Math.min(scrollbarSize, this.options.scrollbarMaxSize);\n }\n\n return scrollbarSize;\n };\n\n _proto.positionScrollbar = function positionScrollbar(axis) {\n if (axis === void 0) {\n axis = 'y';\n }\n\n if (!this.axis[axis].isOverflowing) {\n return;\n }\n\n var contentSize = this.contentWrapperEl[this.axis[axis].scrollSizeAttr];\n var trackSize = this.axis[axis].track.el[this.axis[axis].offsetSizeAttr];\n var hostSize = parseInt(this.elStyles[this.axis[axis].sizeAttr], 10);\n var scrollbar = this.axis[axis].scrollbar;\n var scrollOffset = this.contentWrapperEl[this.axis[axis].scrollOffsetAttr];\n scrollOffset = axis === 'x' && this.isRtl && SimpleBar.getRtlHelpers().isRtlScrollingInverted ? -scrollOffset : scrollOffset;\n var scrollPourcent = scrollOffset / (contentSize - hostSize);\n var handleOffset = ~~((trackSize - scrollbar.size) * scrollPourcent);\n handleOffset = axis === 'x' && this.isRtl && SimpleBar.getRtlHelpers().isRtlScrollbarInverted ? handleOffset + (trackSize - scrollbar.size) : handleOffset;\n scrollbar.el.style.transform = axis === 'x' ? \"translate3d(\" + handleOffset + \"px, 0, 0)\" : \"translate3d(0, \" + handleOffset + \"px, 0)\";\n };\n\n _proto.toggleTrackVisibility = function toggleTrackVisibility(axis) {\n if (axis === void 0) {\n axis = 'y';\n }\n\n var track = this.axis[axis].track.el;\n var scrollbar = this.axis[axis].scrollbar.el;\n\n if (this.axis[axis].isOverflowing || this.axis[axis].forceVisible) {\n track.style.visibility = 'visible';\n this.contentWrapperEl.style[this.axis[axis].overflowAttr] = 'scroll';\n } else {\n track.style.visibility = 'hidden';\n this.contentWrapperEl.style[this.axis[axis].overflowAttr] = 'hidden';\n } // Even if forceVisible is enabled, scrollbar itself should be hidden\n\n\n if (this.axis[axis].isOverflowing) {\n scrollbar.style.display = 'block';\n } else {\n scrollbar.style.display = 'none';\n }\n };\n\n _proto.hideNativeScrollbar = function hideNativeScrollbar() {\n this.offsetEl.style[this.isRtl ? 'left' : 'right'] = this.axis.y.isOverflowing || this.axis.y.forceVisible ? \"-\" + this.scrollbarWidth + \"px\" : 0;\n this.offsetEl.style.bottom = this.axis.x.isOverflowing || this.axis.x.forceVisible ? \"-\" + this.scrollbarWidth + \"px\" : 0;\n }\n /**\n * On scroll event handling\n */\n ;\n\n _proto.onMouseMoveForAxis = function onMouseMoveForAxis(axis) {\n if (axis === void 0) {\n axis = 'y';\n }\n\n this.axis[axis].track.rect = this.axis[axis].track.el.getBoundingClientRect();\n this.axis[axis].scrollbar.rect = this.axis[axis].scrollbar.el.getBoundingClientRect();\n var isWithinScrollbarBoundsX = this.isWithinBounds(this.axis[axis].scrollbar.rect);\n\n if (isWithinScrollbarBoundsX) {\n this.axis[axis].scrollbar.el.classList.add(this.classNames.hover);\n } else {\n this.axis[axis].scrollbar.el.classList.remove(this.classNames.hover);\n }\n\n if (this.isWithinBounds(this.axis[axis].track.rect)) {\n this.showScrollbar(axis);\n this.axis[axis].track.el.classList.add(this.classNames.hover);\n } else {\n this.axis[axis].track.el.classList.remove(this.classNames.hover);\n }\n };\n\n _proto.onMouseLeaveForAxis = function onMouseLeaveForAxis(axis) {\n if (axis === void 0) {\n axis = 'y';\n }\n\n this.axis[axis].track.el.classList.remove(this.classNames.hover);\n this.axis[axis].scrollbar.el.classList.remove(this.classNames.hover);\n };\n\n /**\n * Show scrollbar\n */\n _proto.showScrollbar = function showScrollbar(axis) {\n if (axis === void 0) {\n axis = 'y';\n }\n\n var scrollbar = this.axis[axis].scrollbar.el;\n\n if (!this.axis[axis].isVisible) {\n scrollbar.classList.add(this.classNames.visible);\n this.axis[axis].isVisible = true;\n }\n\n if (this.options.autoHide) {\n this.hideScrollbars();\n }\n }\n /**\n * Hide Scrollbar\n */\n ;\n\n /**\n * on scrollbar handle drag movement starts\n */\n _proto.onDragStart = function onDragStart(e, axis) {\n if (axis === void 0) {\n axis = 'y';\n }\n\n var elDocument = getElementDocument(this.el);\n var elWindow = getElementWindow(this.el);\n var scrollbar = this.axis[axis].scrollbar; // Measure how far the user's mouse is from the top of the scrollbar drag handle.\n\n var eventOffset = axis === 'y' ? e.pageY : e.pageX;\n this.axis[axis].dragOffset = eventOffset - scrollbar.rect[this.axis[axis].offsetAttr];\n this.draggedAxis = axis;\n this.el.classList.add(this.classNames.dragging);\n elDocument.addEventListener('mousemove', this.drag, true);\n elDocument.addEventListener('mouseup', this.onEndDrag, true);\n\n if (this.removePreventClickId === null) {\n elDocument.addEventListener('click', this.preventClick, true);\n elDocument.addEventListener('dblclick', this.preventClick, true);\n } else {\n elWindow.clearTimeout(this.removePreventClickId);\n this.removePreventClickId = null;\n }\n }\n /**\n * Drag scrollbar handle\n */\n ;\n\n _proto.onTrackClick = function onTrackClick(e, axis) {\n var _this4 = this;\n\n if (axis === void 0) {\n axis = 'y';\n }\n\n if (!this.options.clickOnTrack) return;\n var elWindow = getElementWindow(this.el);\n this.axis[axis].scrollbar.rect = this.axis[axis].scrollbar.el.getBoundingClientRect();\n var scrollbar = this.axis[axis].scrollbar;\n var scrollbarOffset = scrollbar.rect[this.axis[axis].offsetAttr];\n var hostSize = parseInt(this.elStyles[this.axis[axis].sizeAttr], 10);\n var scrolled = this.contentWrapperEl[this.axis[axis].scrollOffsetAttr];\n var t = axis === 'y' ? this.mouseY - scrollbarOffset : this.mouseX - scrollbarOffset;\n var dir = t < 0 ? -1 : 1;\n var scrollSize = dir === -1 ? scrolled - hostSize : scrolled + hostSize;\n\n var scrollTo = function scrollTo() {\n if (dir === -1) {\n if (scrolled > scrollSize) {\n var _this4$contentWrapper;\n\n scrolled -= _this4.options.clickOnTrackSpeed;\n\n _this4.contentWrapperEl.scrollTo((_this4$contentWrapper = {}, _this4$contentWrapper[_this4.axis[axis].offsetAttr] = scrolled, _this4$contentWrapper));\n\n elWindow.requestAnimationFrame(scrollTo);\n }\n } else {\n if (scrolled < scrollSize) {\n var _this4$contentWrapper2;\n\n scrolled += _this4.options.clickOnTrackSpeed;\n\n _this4.contentWrapperEl.scrollTo((_this4$contentWrapper2 = {}, _this4$contentWrapper2[_this4.axis[axis].offsetAttr] = scrolled, _this4$contentWrapper2));\n\n elWindow.requestAnimationFrame(scrollTo);\n }\n }\n };\n\n scrollTo();\n }\n /**\n * Getter for content element\n */\n ;\n\n _proto.getContentElement = function getContentElement() {\n return this.contentEl;\n }\n /**\n * Getter for original scrolling element\n */\n ;\n\n _proto.getScrollElement = function getScrollElement() {\n return this.contentWrapperEl;\n };\n\n _proto.getScrollbarWidth = function getScrollbarWidth() {\n // Try/catch for FF 56 throwing on undefined computedStyles\n try {\n // Detect browsers supporting CSS scrollbar styling and do not calculate\n if (getComputedStyle(this.contentWrapperEl, '::-webkit-scrollbar').display === 'none' || 'scrollbarWidth' in document.documentElement.style || '-ms-overflow-style' in document.documentElement.style) {\n return 0;\n } else {\n return scrollbarWidth(this.el);\n }\n } catch (e) {\n return scrollbarWidth(this.el);\n }\n };\n\n _proto.removeListeners = function removeListeners() {\n var _this5 = this;\n\n var elWindow = getElementWindow(this.el); // Event listeners\n\n if (this.options.autoHide) {\n this.el.removeEventListener('mouseenter', this.onMouseEnter);\n }\n\n ['mousedown', 'click', 'dblclick'].forEach(function (e) {\n _this5.el.removeEventListener(e, _this5.onPointerEvent, true);\n });\n ['touchstart', 'touchend', 'touchmove'].forEach(function (e) {\n _this5.el.removeEventListener(e, _this5.onPointerEvent, {\n capture: true,\n passive: true\n });\n });\n this.el.removeEventListener('mousemove', this.onMouseMove);\n this.el.removeEventListener('mouseleave', this.onMouseLeave);\n\n if (this.contentWrapperEl) {\n this.contentWrapperEl.removeEventListener('scroll', this.onScroll);\n }\n\n elWindow.removeEventListener('resize', this.onWindowResize);\n\n if (this.mutationObserver) {\n this.mutationObserver.disconnect();\n }\n\n if (this.resizeObserver) {\n this.resizeObserver.disconnect();\n } // Cancel all debounced functions\n\n\n this.recalculate.cancel();\n this.onMouseMove.cancel();\n this.hideScrollbars.cancel();\n this.onWindowResize.cancel();\n }\n /**\n * UnMount mutation observer and delete SimpleBar instance from DOM element\n */\n ;\n\n _proto.unMount = function unMount() {\n this.removeListeners();\n SimpleBar.instances.delete(this.el);\n }\n /**\n * Check if mouse is within bounds\n */\n ;\n\n _proto.isWithinBounds = function isWithinBounds(bbox) {\n return this.mouseX >= bbox.left && this.mouseX <= bbox.left + bbox.width && this.mouseY >= bbox.top && this.mouseY <= bbox.top + bbox.height;\n }\n /**\n * Find element children matches query\n */\n ;\n\n _proto.findChild = function findChild(el, query) {\n var matches = el.matches || el.webkitMatchesSelector || el.mozMatchesSelector || el.msMatchesSelector;\n return Array.prototype.filter.call(el.children, function (child) {\n return matches.call(child, query);\n })[0];\n };\n\n return SimpleBar;\n}();\n\nSimpleBar.defaultOptions = {\n autoHide: true,\n forceVisible: false,\n clickOnTrack: true,\n clickOnTrackSpeed: 40,\n classNames: {\n contentEl: 'simplebar-content',\n contentWrapper: 'simplebar-content-wrapper',\n offset: 'simplebar-offset',\n mask: 'simplebar-mask',\n wrapper: 'simplebar-wrapper',\n placeholder: 'simplebar-placeholder',\n scrollbar: 'simplebar-scrollbar',\n track: 'simplebar-track',\n heightAutoObserverWrapperEl: 'simplebar-height-auto-observer-wrapper',\n heightAutoObserverEl: 'simplebar-height-auto-observer',\n visible: 'simplebar-visible',\n horizontal: 'simplebar-horizontal',\n vertical: 'simplebar-vertical',\n hover: 'simplebar-hover',\n dragging: 'simplebar-dragging'\n },\n scrollbarMinSize: 25,\n scrollbarMaxSize: 0,\n timeout: 1000\n};\nSimpleBar.instances = new WeakMap();\n\nSimpleBar.initDOMLoadedElements = function () {\n document.removeEventListener('DOMContentLoaded', this.initDOMLoadedElements);\n window.removeEventListener('load', this.initDOMLoadedElements);\n Array.prototype.forEach.call(document.querySelectorAll('[data-simplebar]'), function (el) {\n if (el.getAttribute('data-simplebar') !== 'init' && !SimpleBar.instances.has(el)) new SimpleBar(el, getOptions(el.attributes));\n });\n};\n\nSimpleBar.removeObserver = function () {\n this.globalObserver.disconnect();\n};\n\nSimpleBar.initHtmlApi = function () {\n this.initDOMLoadedElements = this.initDOMLoadedElements.bind(this); // MutationObserver is IE11+\n\n if (typeof MutationObserver !== 'undefined') {\n // Mutation observer to observe dynamically added elements\n this.globalObserver = new MutationObserver(SimpleBar.handleMutations);\n this.globalObserver.observe(document, {\n childList: true,\n subtree: true\n });\n } // Taken from jQuery `ready` function\n // Instantiate elements already present on the page\n\n\n if (document.readyState === 'complete' || document.readyState !== 'loading' && !document.documentElement.doScroll) {\n // Handle it asynchronously to allow scripts the opportunity to delay init\n window.setTimeout(this.initDOMLoadedElements);\n } else {\n document.addEventListener('DOMContentLoaded', this.initDOMLoadedElements);\n window.addEventListener('load', this.initDOMLoadedElements);\n }\n};\n\nSimpleBar.handleMutations = function (mutations) {\n mutations.forEach(function (mutation) {\n Array.prototype.forEach.call(mutation.addedNodes, function (addedNode) {\n if (addedNode.nodeType === 1) {\n if (addedNode.hasAttribute('data-simplebar')) {\n !SimpleBar.instances.has(addedNode) && document.documentElement.contains(addedNode) && new SimpleBar(addedNode, getOptions(addedNode.attributes));\n } else {\n Array.prototype.forEach.call(addedNode.querySelectorAll('[data-simplebar]'), function (el) {\n if (el.getAttribute('data-simplebar') !== 'init' && !SimpleBar.instances.has(el) && document.documentElement.contains(el)) new SimpleBar(el, getOptions(el.attributes));\n });\n }\n }\n });\n Array.prototype.forEach.call(mutation.removedNodes, function (removedNode) {\n if (removedNode.nodeType === 1) {\n if (removedNode.getAttribute('data-simplebar') === 'init') {\n SimpleBar.instances.has(removedNode) && !document.documentElement.contains(removedNode) && SimpleBar.instances.get(removedNode).unMount();\n } else {\n Array.prototype.forEach.call(removedNode.querySelectorAll('[data-simplebar=\"init\"]'), function (el) {\n SimpleBar.instances.has(el) && !document.documentElement.contains(el) && SimpleBar.instances.get(el).unMount();\n });\n }\n }\n });\n });\n};\n\nSimpleBar.getOptions = getOptions;\n/**\n * HTML API\n * Called only in a browser env.\n */\n\nif (canUseDOM) {\n SimpleBar.initHtmlApi();\n}\n\nexport default SimpleBar;\n//# sourceMappingURL=simplebar.esm.js.map\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n if (isCallable(argument)) return argument;\n throw new $TypeError(tryToString(argument) + ' is not a function');\n};\n","'use strict';\nvar isPossiblePrototype = require('../internals/is-possible-prototype');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument) {\n if (isPossiblePrototype(argument)) return argument;\n throw new $TypeError(\"Can't set \" + $String(argument) + ' as a prototype');\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar create = require('../internals/object-create');\nvar defineProperty = require('../internals/object-define-property').f;\n\nvar UNSCOPABLES = wellKnownSymbol('unscopables');\nvar ArrayPrototype = Array.prototype;\n\n// Array.prototype[@@unscopables]\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\nif (ArrayPrototype[UNSCOPABLES] === undefined) {\n defineProperty(ArrayPrototype, UNSCOPABLES, {\n configurable: true,\n value: create(null)\n });\n}\n\n// add a key to Array.prototype[@@unscopables]\nmodule.exports = function (key) {\n ArrayPrototype[UNSCOPABLES][key] = true;\n};\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\n\n// `AdvanceStringIndex` abstract operation\n// https://tc39.es/ecma262/#sec-advancestringindex\nmodule.exports = function (S, index, unicode) {\n return index + (unicode ? charAt(S, index).length : 1);\n};\n","'use strict';\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (it, Prototype) {\n if (isPrototypeOf(Prototype, it)) return it;\n throw new $TypeError('Incorrect invocation');\n};\n","'use strict';\nvar isObject = require('../internals/is-object');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n if (isObject(argument)) return argument;\n throw new $TypeError($String(argument) + ' is not an object');\n};\n","'use strict';\n// FF26- bug: ArrayBuffers are non-extensible, but Object.isExtensible does not report it\nvar fails = require('../internals/fails');\n\nmodule.exports = fails(function () {\n if (typeof ArrayBuffer == 'function') {\n var buffer = new ArrayBuffer(8);\n // eslint-disable-next-line es/no-object-isextensible, es/no-object-defineproperty -- safe\n if (Object.isExtensible(buffer)) Object.defineProperty(buffer, 'a', { value: 8 });\n }\n});\n","'use strict';\nvar $forEach = require('../internals/array-iteration').forEach;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar STRICT_METHOD = arrayMethodIsStrict('forEach');\n\n// `Array.prototype.forEach` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\nmodule.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {\n return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n// eslint-disable-next-line es/no-array-prototype-foreach -- safe\n} : [].forEach;\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = lengthOfArrayLike(O);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el !== el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value !== value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","'use strict';\nvar bind = require('../internals/function-bind-context');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IndexedObject = require('../internals/indexed-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\nvar push = uncurryThis([].push);\n\n// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation\nvar createMethod = function (TYPE) {\n var IS_MAP = TYPE === 1;\n var IS_FILTER = TYPE === 2;\n var IS_SOME = TYPE === 3;\n var IS_EVERY = TYPE === 4;\n var IS_FIND_INDEX = TYPE === 6;\n var IS_FILTER_REJECT = TYPE === 7;\n var NO_HOLES = TYPE === 5 || IS_FIND_INDEX;\n return function ($this, callbackfn, that, specificCreate) {\n var O = toObject($this);\n var self = IndexedObject(O);\n var length = lengthOfArrayLike(self);\n var boundFunction = bind(callbackfn, that);\n var index = 0;\n var create = specificCreate || arraySpeciesCreate;\n var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;\n var value, result;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n value = self[index];\n result = boundFunction(value, index, O);\n if (TYPE) {\n if (IS_MAP) target[index] = result; // map\n else if (result) switch (TYPE) {\n case 3: return true; // some\n case 5: return value; // find\n case 6: return index; // findIndex\n case 2: push(target, value); // filter\n } else switch (TYPE) {\n case 4: return false; // every\n case 7: push(target, value); // filterReject\n }\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.forEach` method\n // https://tc39.es/ecma262/#sec-array.prototype.foreach\n forEach: createMethod(0),\n // `Array.prototype.map` method\n // https://tc39.es/ecma262/#sec-array.prototype.map\n map: createMethod(1),\n // `Array.prototype.filter` method\n // https://tc39.es/ecma262/#sec-array.prototype.filter\n filter: createMethod(2),\n // `Array.prototype.some` method\n // https://tc39.es/ecma262/#sec-array.prototype.some\n some: createMethod(3),\n // `Array.prototype.every` method\n // https://tc39.es/ecma262/#sec-array.prototype.every\n every: createMethod(4),\n // `Array.prototype.find` method\n // https://tc39.es/ecma262/#sec-array.prototype.find\n find: createMethod(5),\n // `Array.prototype.findIndex` method\n // https://tc39.es/ecma262/#sec-array.prototype.findIndex\n findIndex: createMethod(6),\n // `Array.prototype.filterReject` method\n // https://github.com/tc39/proposal-array-filtering\n filterReject: createMethod(7)\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (METHOD_NAME) {\n // We can't use this feature detection in V8 since it causes\n // deoptimization and serious performance degradation\n // https://github.com/zloirock/core-js/issues/677\n return V8_VERSION >= 51 || !fails(function () {\n var array = [];\n var constructor = array.constructor = {};\n constructor[SPECIES] = function () {\n return { foo: 1 };\n };\n return array[METHOD_NAME](Boolean).foo !== 1;\n });\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = function (METHOD_NAME, argument) {\n var method = [][METHOD_NAME];\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call -- required for testing\n method.call(null, argument || function () { return 1; }, 1);\n });\n};\n","'use strict';\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\nvar $TypeError = TypeError;\n\n// `Array.prototype.{ reduce, reduceRight }` methods implementation\nvar createMethod = function (IS_RIGHT) {\n return function (that, callbackfn, argumentsLength, memo) {\n var O = toObject(that);\n var self = IndexedObject(O);\n var length = lengthOfArrayLike(O);\n aCallable(callbackfn);\n var index = IS_RIGHT ? length - 1 : 0;\n var i = IS_RIGHT ? -1 : 1;\n if (argumentsLength < 2) while (true) {\n if (index in self) {\n memo = self[index];\n index += i;\n break;\n }\n index += i;\n if (IS_RIGHT ? index < 0 : length <= index) {\n throw new $TypeError('Reduce of empty array with no initial value');\n }\n }\n for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {\n memo = callbackfn(memo, self[index], index, O);\n }\n return memo;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.reduce` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduce\n left: createMethod(false),\n // `Array.prototype.reduceRight` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduceright\n right: createMethod(true)\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis([].slice);\n","'use strict';\nvar isArray = require('../internals/is-array');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\nvar $Array = Array;\n\n// a part of `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray) {\n var C;\n if (isArray(originalArray)) {\n C = originalArray.constructor;\n // cross-realm fallback\n if (isConstructor(C) && (C === $Array || isArray(C.prototype))) C = undefined;\n else if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? $Array : C;\n};\n","'use strict';\nvar arraySpeciesConstructor = require('../internals/array-species-constructor');\n\n// `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray, length) {\n return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n var called = 0;\n var iteratorWithReturn = {\n next: function () {\n return { done: !!called++ };\n },\n 'return': function () {\n SAFE_CLOSING = true;\n }\n };\n iteratorWithReturn[ITERATOR] = function () {\n return this;\n };\n // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing\n Array.from(iteratorWithReturn, function () { throw 2; });\n} catch (error) { /* empty */ }\n\nmodule.exports = function (exec, SKIP_CLOSING) {\n try {\n if (!SKIP_CLOSING && !SAFE_CLOSING) return false;\n } catch (error) { return false; } // workaround of old WebKit + `eval` bug\n var ITERATION_SUPPORT = false;\n try {\n var object = {};\n object[ITERATOR] = function () {\n return {\n next: function () {\n return { done: ITERATION_SUPPORT = true };\n }\n };\n };\n exec(object);\n } catch (error) { /* empty */ }\n return ITERATION_SUPPORT;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n return stringSlice(toString(it), 8, -1);\n};\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar isCallable = require('../internals/is-callable');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar $Object = Object;\n\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar defineBuiltIns = require('../internals/define-built-ins');\nvar getWeakData = require('../internals/internal-metadata').getWeakData;\nvar anInstance = require('../internals/an-instance');\nvar anObject = require('../internals/an-object');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar isObject = require('../internals/is-object');\nvar iterate = require('../internals/iterate');\nvar ArrayIterationModule = require('../internals/array-iteration');\nvar hasOwn = require('../internals/has-own-property');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar setInternalState = InternalStateModule.set;\nvar internalStateGetterFor = InternalStateModule.getterFor;\nvar find = ArrayIterationModule.find;\nvar findIndex = ArrayIterationModule.findIndex;\nvar splice = uncurryThis([].splice);\nvar id = 0;\n\n// fallback for uncaught frozen keys\nvar uncaughtFrozenStore = function (state) {\n return state.frozen || (state.frozen = new UncaughtFrozenStore());\n};\n\nvar UncaughtFrozenStore = function () {\n this.entries = [];\n};\n\nvar findUncaughtFrozen = function (store, key) {\n return find(store.entries, function (it) {\n return it[0] === key;\n });\n};\n\nUncaughtFrozenStore.prototype = {\n get: function (key) {\n var entry = findUncaughtFrozen(this, key);\n if (entry) return entry[1];\n },\n has: function (key) {\n return !!findUncaughtFrozen(this, key);\n },\n set: function (key, value) {\n var entry = findUncaughtFrozen(this, key);\n if (entry) entry[1] = value;\n else this.entries.push([key, value]);\n },\n 'delete': function (key) {\n var index = findIndex(this.entries, function (it) {\n return it[0] === key;\n });\n if (~index) splice(this.entries, index, 1);\n return !!~index;\n }\n};\n\nmodule.exports = {\n getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {\n var Constructor = wrapper(function (that, iterable) {\n anInstance(that, Prototype);\n setInternalState(that, {\n type: CONSTRUCTOR_NAME,\n id: id++,\n frozen: undefined\n });\n if (!isNullOrUndefined(iterable)) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n });\n\n var Prototype = Constructor.prototype;\n\n var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);\n\n var define = function (that, key, value) {\n var state = getInternalState(that);\n var data = getWeakData(anObject(key), true);\n if (data === true) uncaughtFrozenStore(state).set(key, value);\n else data[state.id] = value;\n return that;\n };\n\n defineBuiltIns(Prototype, {\n // `{ WeakMap, WeakSet }.prototype.delete(key)` methods\n // https://tc39.es/ecma262/#sec-weakmap.prototype.delete\n // https://tc39.es/ecma262/#sec-weakset.prototype.delete\n 'delete': function (key) {\n var state = getInternalState(this);\n if (!isObject(key)) return false;\n var data = getWeakData(key);\n if (data === true) return uncaughtFrozenStore(state)['delete'](key);\n return data && hasOwn(data, state.id) && delete data[state.id];\n },\n // `{ WeakMap, WeakSet }.prototype.has(key)` methods\n // https://tc39.es/ecma262/#sec-weakmap.prototype.has\n // https://tc39.es/ecma262/#sec-weakset.prototype.has\n has: function has(key) {\n var state = getInternalState(this);\n if (!isObject(key)) return false;\n var data = getWeakData(key);\n if (data === true) return uncaughtFrozenStore(state).has(key);\n return data && hasOwn(data, state.id);\n }\n });\n\n defineBuiltIns(Prototype, IS_MAP ? {\n // `WeakMap.prototype.get(key)` method\n // https://tc39.es/ecma262/#sec-weakmap.prototype.get\n get: function get(key) {\n var state = getInternalState(this);\n if (isObject(key)) {\n var data = getWeakData(key);\n if (data === true) return uncaughtFrozenStore(state).get(key);\n return data ? data[state.id] : undefined;\n }\n },\n // `WeakMap.prototype.set(key, value)` method\n // https://tc39.es/ecma262/#sec-weakmap.prototype.set\n set: function set(key, value) {\n return define(this, key, value);\n }\n } : {\n // `WeakSet.prototype.add(value)` method\n // https://tc39.es/ecma262/#sec-weakset.prototype.add\n add: function add(value) {\n return define(this, value, true);\n }\n });\n\n return Constructor;\n }\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isForced = require('../internals/is-forced');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar InternalMetadataModule = require('../internals/internal-metadata');\nvar iterate = require('../internals/iterate');\nvar anInstance = require('../internals/an-instance');\nvar isCallable = require('../internals/is-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar isObject = require('../internals/is-object');\nvar fails = require('../internals/fails');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar inheritIfRequired = require('../internals/inherit-if-required');\n\nmodule.exports = function (CONSTRUCTOR_NAME, wrapper, common) {\n var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;\n var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;\n var ADDER = IS_MAP ? 'set' : 'add';\n var NativeConstructor = global[CONSTRUCTOR_NAME];\n var NativePrototype = NativeConstructor && NativeConstructor.prototype;\n var Constructor = NativeConstructor;\n var exported = {};\n\n var fixMethod = function (KEY) {\n var uncurriedNativeMethod = uncurryThis(NativePrototype[KEY]);\n defineBuiltIn(NativePrototype, KEY,\n KEY === 'add' ? function add(value) {\n uncurriedNativeMethod(this, value === 0 ? 0 : value);\n return this;\n } : KEY === 'delete' ? function (key) {\n return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : KEY === 'get' ? function get(key) {\n return IS_WEAK && !isObject(key) ? undefined : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : KEY === 'has' ? function has(key) {\n return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : function set(key, value) {\n uncurriedNativeMethod(this, key === 0 ? 0 : key, value);\n return this;\n }\n );\n };\n\n var REPLACE = isForced(\n CONSTRUCTOR_NAME,\n !isCallable(NativeConstructor) || !(IS_WEAK || NativePrototype.forEach && !fails(function () {\n new NativeConstructor().entries().next();\n }))\n );\n\n if (REPLACE) {\n // create collection constructor\n Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);\n InternalMetadataModule.enable();\n } else if (isForced(CONSTRUCTOR_NAME, true)) {\n var instance = new Constructor();\n // early implementations not supports chaining\n var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) !== instance;\n // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\n var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });\n // most early implementations doesn't supports iterables, most modern - not close it correctly\n // eslint-disable-next-line no-new -- required for testing\n var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); });\n // for early implementations -0 and +0 not the same\n var BUGGY_ZERO = !IS_WEAK && fails(function () {\n // V8 ~ Chromium 42- fails only with 5+ elements\n var $instance = new NativeConstructor();\n var index = 5;\n while (index--) $instance[ADDER](index, index);\n return !$instance.has(-0);\n });\n\n if (!ACCEPT_ITERABLES) {\n Constructor = wrapper(function (dummy, iterable) {\n anInstance(dummy, NativePrototype);\n var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor);\n if (!isNullOrUndefined(iterable)) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n return that;\n });\n Constructor.prototype = NativePrototype;\n NativePrototype.constructor = Constructor;\n }\n\n if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {\n fixMethod('delete');\n fixMethod('has');\n IS_MAP && fixMethod('get');\n }\n\n if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);\n\n // weak collections should not contains .clear method\n if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear;\n }\n\n exported[CONSTRUCTOR_NAME] = Constructor;\n $({ global: true, constructor: true, forced: Constructor !== NativeConstructor }, exported);\n\n setToStringTag(Constructor, CONSTRUCTOR_NAME);\n\n if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP);\n\n return Constructor;\n};\n","'use strict';\nvar hasOwn = require('../internals/has-own-property');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source, exceptions) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n function F() { /* empty */ }\n F.prototype.constructor = null;\n // eslint-disable-next-line es/no-object-getprototypeof -- required for testing\n return Object.getPrototypeOf(new F()) !== F.prototype;\n});\n","'use strict';\n// `CreateIterResultObject` abstract operation\n// https://tc39.es/ecma262/#sec-createiterresultobject\nmodule.exports = function (value, done) {\n return { value: value, done: done };\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","'use strict';\nmodule.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","'use strict';\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineProperty = require('../internals/object-define-property');\n\nmodule.exports = function (target, name, descriptor) {\n if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });\n if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });\n return defineProperty.f(target, name, descriptor);\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar definePropertyModule = require('../internals/object-define-property');\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nmodule.exports = function (O, key, value, options) {\n if (!options) options = {};\n var simple = options.enumerable;\n var name = options.name !== undefined ? options.name : key;\n if (isCallable(value)) makeBuiltIn(value, name, options);\n if (options.global) {\n if (simple) O[key] = value;\n else defineGlobalProperty(key, value);\n } else {\n try {\n if (!options.unsafe) delete O[key];\n else if (O[key]) simple = true;\n } catch (error) { /* empty */ }\n if (simple) O[key] = value;\n else definePropertyModule.f(O, key, {\n value: value,\n enumerable: false,\n configurable: !options.nonConfigurable,\n writable: !options.nonWritable\n });\n } return O;\n};\n","'use strict';\nvar defineBuiltIn = require('../internals/define-built-in');\n\nmodule.exports = function (target, src, options) {\n for (var key in src) defineBuiltIn(target, key, src[key], options);\n return target;\n};\n","'use strict';\nvar global = require('../internals/global');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n try {\n defineProperty(global, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n global[key] = value;\n } return value;\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;\n});\n","'use strict';\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","'use strict';\n// iterable DOM collections\n// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods\nmodule.exports = {\n CSSRuleList: 0,\n CSSStyleDeclaration: 0,\n CSSValueList: 0,\n ClientRectList: 0,\n DOMRectList: 0,\n DOMStringList: 0,\n DOMTokenList: 1,\n DataTransferItemList: 0,\n FileList: 0,\n HTMLAllCollection: 0,\n HTMLCollection: 0,\n HTMLFormElement: 0,\n HTMLSelectElement: 0,\n MediaList: 0,\n MimeTypeArray: 0,\n NamedNodeMap: 0,\n NodeList: 1,\n PaintRequestList: 0,\n Plugin: 0,\n PluginArray: 0,\n SVGLengthList: 0,\n SVGNumberList: 0,\n SVGPathSegList: 0,\n SVGPointList: 0,\n SVGStringList: 0,\n SVGTransformList: 0,\n SourceBufferList: 0,\n StyleSheetList: 0,\n TextTrackCueList: 0,\n TextTrackList: 0,\n TouchList: 0\n};\n","'use strict';\n// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`\nvar documentCreateElement = require('../internals/document-create-element');\n\nvar classList = documentCreateElement('span').classList;\nvar DOMTokenListPrototype = classList && classList.constructor && classList.constructor.prototype;\n\nmodule.exports = DOMTokenListPrototype === Object.prototype ? undefined : DOMTokenListPrototype;\n","'use strict';\nvar global = require('../internals/global');\nvar classof = require('../internals/classof-raw');\n\nmodule.exports = classof(global.process) === 'process';\n","'use strict';\nmodule.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';\n","'use strict';\nvar global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","'use strict';\n// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","'use strict';\nvar global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.dontCallGetSet - prevent calling a getter on target\n options.name - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || defineGlobalProperty(TARGET, {});\n } else {\n target = global[TARGET] && global[TARGET].prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.dontCallGetSet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty == typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n defineBuiltIn(target, key, sourceProperty, options);\n }\n};\n","'use strict';\nmodule.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","'use strict';\n// TODO: Remove from `core-js@4` since it's moved to entry points\nrequire('../modules/es.regexp.exec');\nvar call = require('../internals/function-call');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar regexpExec = require('../internals/regexp-exec');\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nvar SPECIES = wellKnownSymbol('species');\nvar RegExpPrototype = RegExp.prototype;\n\nmodule.exports = function (KEY, exec, FORCED, SHAM) {\n var SYMBOL = wellKnownSymbol(KEY);\n\n var DELEGATES_TO_SYMBOL = !fails(function () {\n // String methods call symbol-named RegExp methods\n var O = {};\n O[SYMBOL] = function () { return 7; };\n return ''[KEY](O) !== 7;\n });\n\n var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {\n // Symbol-named RegExp methods call .exec\n var execCalled = false;\n var re = /a/;\n\n if (KEY === 'split') {\n // We can't use real regex here since it causes deoptimization\n // and serious performance degradation in V8\n // https://github.com/zloirock/core-js/issues/306\n re = {};\n // RegExp[@@split] doesn't call the regex's exec method, but first creates\n // a new one. We need to return the patched regex when creating the new one.\n re.constructor = {};\n re.constructor[SPECIES] = function () { return re; };\n re.flags = '';\n re[SYMBOL] = /./[SYMBOL];\n }\n\n re.exec = function () {\n execCalled = true;\n return null;\n };\n\n re[SYMBOL]('');\n return !execCalled;\n });\n\n if (\n !DELEGATES_TO_SYMBOL ||\n !DELEGATES_TO_EXEC ||\n FORCED\n ) {\n var nativeRegExpMethod = /./[SYMBOL];\n var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {\n var $exec = regexp.exec;\n if ($exec === regexpExec || $exec === RegExpPrototype.exec) {\n if (DELEGATES_TO_SYMBOL && !forceStringMethod) {\n // The native String method already delegates to @@method (this\n // polyfilled function), leasing to infinite recursion.\n // We avoid it by directly calling the native @@method method.\n return { done: true, value: call(nativeRegExpMethod, regexp, str, arg2) };\n }\n return { done: true, value: call(nativeMethod, str, regexp, arg2) };\n }\n return { done: false };\n });\n\n defineBuiltIn(String.prototype, KEY, methods[0]);\n defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);\n }\n\n if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing\n return Object.isExtensible(Object.preventExtensions({}));\n});\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar apply = FunctionPrototype.apply;\nvar call = FunctionPrototype.call;\n\n// eslint-disable-next-line es/no-reflect -- safe\nmodule.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {\n return call.apply(apply, arguments);\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar aCallable = require('../internals/a-callable');\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar bind = uncurryThis(uncurryThis.bind);\n\n// optional / simple context binding\nmodule.exports = function (fn, that) {\n aCallable(fn);\n return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-function-prototype-bind -- safe\n var test = (function () { /* empty */ }).bind();\n // eslint-disable-next-line no-prototype-builtins -- safe\n return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar hasOwn = require('../internals/has-own-property');\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n EXISTS: EXISTS,\n PROPER: PROPER,\n CONFIGURABLE: CONFIGURABLE\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\n\nmodule.exports = function (object, key, method) {\n try {\n // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\n return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));\n } catch (error) { /* empty */ }\n};\n","'use strict';\nvar classofRaw = require('../internals/classof-raw');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = function (fn) {\n // Nashorn bug:\n // https://github.com/zloirock/core-js/issues/1128\n // https://github.com/zloirock/core-js/issues/1130\n if (classofRaw(fn) === 'Function') return uncurryThis(fn);\n};\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar call = FunctionPrototype.call;\nvar uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {\n return function () {\n return call.apply(fn, arguments);\n };\n};\n","'use strict';\nvar global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (argument) {\n return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];\n};\n","'use strict';\nvar classof = require('../internals/classof');\nvar getMethod = require('../internals/get-method');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar Iterators = require('../internals/iterators');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = function (it) {\n if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)\n || getMethod(it, '@@iterator')\n || Iterators[classof(it)];\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument, usingIterator) {\n var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;\n if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));\n throw new $TypeError(tryToString(argument) + ' is not iterable');\n};\n","'use strict';\nvar aCallable = require('../internals/a-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n var func = V[P];\n return isNullOrUndefined(func) ? undefined : aCallable(func);\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar floor = Math.floor;\nvar charAt = uncurryThis(''.charAt);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\n// eslint-disable-next-line redos/no-vulnerable -- safe\nvar SUBSTITUTION_SYMBOLS = /\\$([$&'`]|\\d{1,2}|<[^>]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&'`]|\\d{1,2})/g;\n\n// `GetSubstitution` abstract operation\n// https://tc39.es/ecma262/#sec-getsubstitution\nmodule.exports = function (matched, str, position, captures, namedCaptures, replacement) {\n var tailPos = position + matched.length;\n var m = captures.length;\n var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n if (namedCaptures !== undefined) {\n namedCaptures = toObject(namedCaptures);\n symbols = SUBSTITUTION_SYMBOLS;\n }\n return replace(replacement, symbols, function (match, ch) {\n var capture;\n switch (charAt(ch, 0)) {\n case '$': return '$';\n case '&': return matched;\n case '`': return stringSlice(str, 0, position);\n case \"'\": return stringSlice(str, tailPos);\n case '<':\n capture = namedCaptures[stringSlice(ch, 1, -1)];\n break;\n default: // \\d\\d?\n var n = +ch;\n if (n === 0) return match;\n if (n > m) {\n var f = floor(n / 10);\n if (f === 0) return match;\n if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);\n return match;\n }\n capture = captures[n - 1];\n }\n return capture === undefined ? '' : capture;\n });\n};\n","'use strict';\nvar check = function (it) {\n return it && it.Math === Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line es/no-global-this -- safe\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n // eslint-disable-next-line no-restricted-globals -- safe\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n check(typeof this == 'object' && this) ||\n // eslint-disable-next-line no-new-func -- fallback\n (function () { return this; })() || Function('return this')();\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\n// eslint-disable-next-line es/no-object-hasown -- safe\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty(toObject(it), key);\n};\n","'use strict';\nmodule.exports = {};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a !== 7;\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar $Object = Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !$Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) === 'String' ? split(it, '') : $Object(it);\n} : $Object;\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// makes subclassing work correct for wrapped built-ins\nmodule.exports = function ($this, dummy, Wrapper) {\n var NewTarget, NewTargetPrototype;\n if (\n // it can work only with native `setPrototypeOf`\n setPrototypeOf &&\n // we haven't completely correct pre-ES6 way for getting `new.target`, so use this\n isCallable(NewTarget = dummy.constructor) &&\n NewTarget !== Wrapper &&\n isObject(NewTargetPrototype = NewTarget.prototype) &&\n NewTargetPrototype !== Wrapper.prototype\n ) setPrototypeOf($this, NewTargetPrototype);\n return $this;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar store = require('../internals/shared-store');\n\nvar functionToString = uncurryThis(Function.toString);\n\n// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n store.inspectSource = function (it) {\n return functionToString(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar isObject = require('../internals/is-object');\nvar hasOwn = require('../internals/has-own-property');\nvar defineProperty = require('../internals/object-define-property').f;\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertyNamesExternalModule = require('../internals/object-get-own-property-names-external');\nvar isExtensible = require('../internals/object-is-extensible');\nvar uid = require('../internals/uid');\nvar FREEZING = require('../internals/freezing');\n\nvar REQUIRED = false;\nvar METADATA = uid('meta');\nvar id = 0;\n\nvar setMetadata = function (it) {\n defineProperty(it, METADATA, { value: {\n objectID: 'O' + id++, // object ID\n weakData: {} // weak collections IDs\n } });\n};\n\nvar fastKey = function (it, create) {\n // return a primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMetadata(it);\n // return object ID\n } return it[METADATA].objectID;\n};\n\nvar getWeakData = function (it, create) {\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMetadata(it);\n // return the store of weak collections IDs\n } return it[METADATA].weakData;\n};\n\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZING && REQUIRED && isExtensible(it) && !hasOwn(it, METADATA)) setMetadata(it);\n return it;\n};\n\nvar enable = function () {\n meta.enable = function () { /* empty */ };\n REQUIRED = true;\n var getOwnPropertyNames = getOwnPropertyNamesModule.f;\n var splice = uncurryThis([].splice);\n var test = {};\n test[METADATA] = 1;\n\n // prevent exposing of metadata key\n if (getOwnPropertyNames(test).length) {\n getOwnPropertyNamesModule.f = function (it) {\n var result = getOwnPropertyNames(it);\n for (var i = 0, length = result.length; i < length; i++) {\n if (result[i] === METADATA) {\n splice(result, i, 1);\n break;\n }\n } return result;\n };\n\n $({ target: 'Object', stat: true, forced: true }, {\n getOwnPropertyNames: getOwnPropertyNamesExternalModule.f\n });\n }\n};\n\nvar meta = module.exports = {\n enable: enable,\n fastKey: fastKey,\n getWeakData: getWeakData,\n onFreeze: onFreeze\n};\n\nhiddenKeys[METADATA] = true;\n","'use strict';\nvar NATIVE_WEAK_MAP = require('../internals/weak-map-basic-detection');\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = global.TypeError;\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw new TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n var store = shared.state || (shared.state = new WeakMap());\n /* eslint-disable no-self-assign -- prototype methods protection */\n store.get = store.get;\n store.has = store.has;\n store.set = store.set;\n /* eslint-enable no-self-assign -- prototype methods protection */\n set = function (it, metadata) {\n if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n store.set(it, metadata);\n return metadata;\n };\n get = function (it) {\n return store.get(it) || {};\n };\n has = function (it) {\n return store.has(it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return hasOwn(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return hasOwn(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar ArrayPrototype = Array.prototype;\n\n// check on default Array iterator\nmodule.exports = function (it) {\n return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);\n};\n","'use strict';\nvar classof = require('../internals/classof-raw');\n\n// `IsArray` abstract operation\n// https://tc39.es/ecma262/#sec-isarray\n// eslint-disable-next-line es/no-array-isarray -- safe\nmodule.exports = Array.isArray || function isArray(argument) {\n return classof(argument) === 'Array';\n};\n","'use strict';\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\nvar documentAll = typeof document == 'object' && document.all;\n\n// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\n// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing\nmodule.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {\n return typeof argument == 'function' || argument === documentAll;\n} : function (argument) {\n return typeof argument == 'function';\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof');\nvar getBuiltIn = require('../internals/get-built-in');\nvar inspectSource = require('../internals/inspect-source');\n\nvar noop = function () { /* empty */ };\nvar construct = getBuiltIn('Reflect', 'construct');\nvar constructorRegExp = /^\\s*(?:class|function)\\b/;\nvar exec = uncurryThis(constructorRegExp.exec);\nvar INCORRECT_TO_STRING = !constructorRegExp.test(noop);\n\nvar isConstructorModern = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n try {\n construct(noop, [], argument);\n return true;\n } catch (error) {\n return false;\n }\n};\n\nvar isConstructorLegacy = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n switch (classof(argument)) {\n case 'AsyncFunction':\n case 'GeneratorFunction':\n case 'AsyncGeneratorFunction': return false;\n }\n try {\n // we can't check .prototype since constructors produced by .bind haven't it\n // `Function#toString` throws on some built-it function in some legacy engines\n // (for example, `DOMQuad` and similar in FF41-)\n return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));\n } catch (error) {\n return true;\n }\n};\n\nisConstructorLegacy.sham = true;\n\n// `IsConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-isconstructor\nmodule.exports = !construct || fails(function () {\n var called;\n return isConstructorModern(isConstructorModern.call)\n || !isConstructorModern(Object)\n || !isConstructorModern(function () { called = true; })\n || called;\n}) ? isConstructorLegacy : isConstructorModern;\n","'use strict';\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value === POLYFILL ? true\n : value === NATIVE ? false\n : isCallable(detection) ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","'use strict';\n// we can't use just `it == null` since of `document.all` special case\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec\nmodule.exports = function (it) {\n return it === null || it === undefined;\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\n\nmodule.exports = function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","'use strict';\nvar isObject = require('../internals/is-object');\n\nmodule.exports = function (argument) {\n return isObject(argument) || argument === null;\n};\n","'use strict';\nmodule.exports = false;\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar $Object = Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n var $Symbol = getBuiltIn('Symbol');\n return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));\n};\n","'use strict';\nvar bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar iteratorClose = require('../internals/iterator-close');\n\nvar $TypeError = TypeError;\n\nvar Result = function (stopped, result) {\n this.stopped = stopped;\n this.result = result;\n};\n\nvar ResultPrototype = Result.prototype;\n\nmodule.exports = function (iterable, unboundFunction, options) {\n var that = options && options.that;\n var AS_ENTRIES = !!(options && options.AS_ENTRIES);\n var IS_RECORD = !!(options && options.IS_RECORD);\n var IS_ITERATOR = !!(options && options.IS_ITERATOR);\n var INTERRUPTED = !!(options && options.INTERRUPTED);\n var fn = bind(unboundFunction, that);\n var iterator, iterFn, index, length, result, next, step;\n\n var stop = function (condition) {\n if (iterator) iteratorClose(iterator, 'normal', condition);\n return new Result(true, condition);\n };\n\n var callFn = function (value) {\n if (AS_ENTRIES) {\n anObject(value);\n return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);\n } return INTERRUPTED ? fn(value, stop) : fn(value);\n };\n\n if (IS_RECORD) {\n iterator = iterable.iterator;\n } else if (IS_ITERATOR) {\n iterator = iterable;\n } else {\n iterFn = getIteratorMethod(iterable);\n if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable');\n // optimisation for array iterators\n if (isArrayIteratorMethod(iterFn)) {\n for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {\n result = callFn(iterable[index]);\n if (result && isPrototypeOf(ResultPrototype, result)) return result;\n } return new Result(false);\n }\n iterator = getIterator(iterable, iterFn);\n }\n\n next = IS_RECORD ? iterable.next : iterator.next;\n while (!(step = call(next, iterator)).done) {\n try {\n result = callFn(step.value);\n } catch (error) {\n iteratorClose(iterator, 'throw', error);\n }\n if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;\n } return new Result(false);\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar getMethod = require('../internals/get-method');\n\nmodule.exports = function (iterator, kind, value) {\n var innerResult, innerError;\n anObject(iterator);\n try {\n innerResult = getMethod(iterator, 'return');\n if (!innerResult) {\n if (kind === 'throw') throw value;\n return value;\n }\n innerResult = call(innerResult, iterator);\n } catch (error) {\n innerError = true;\n innerResult = error;\n }\n if (kind === 'throw') throw value;\n if (innerError) throw innerResult;\n anObject(innerResult);\n return value;\n};\n","'use strict';\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar Iterators = require('../internals/iterators');\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {\n var TO_STRING_TAG = NAME + ' Iterator';\n IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });\n setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);\n Iterators[TO_STRING_TAG] = returnThis;\n return IteratorConstructor;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar IS_PURE = require('../internals/is-pure');\nvar FunctionName = require('../internals/function-name');\nvar isCallable = require('../internals/is-callable');\nvar createIteratorConstructor = require('../internals/iterator-create-constructor');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\nvar IteratorsCore = require('../internals/iterators-core');\n\nvar PROPER_FUNCTION_NAME = FunctionName.PROPER;\nvar CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;\nvar IteratorPrototype = IteratorsCore.IteratorPrototype;\nvar BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;\nvar ITERATOR = wellKnownSymbol('iterator');\nvar KEYS = 'keys';\nvar VALUES = 'values';\nvar ENTRIES = 'entries';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {\n createIteratorConstructor(IteratorConstructor, NAME, next);\n\n var getIterationMethod = function (KIND) {\n if (KIND === DEFAULT && defaultIterator) return defaultIterator;\n if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND];\n\n switch (KIND) {\n case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };\n case VALUES: return function values() { return new IteratorConstructor(this, KIND); };\n case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };\n }\n\n return function () { return new IteratorConstructor(this); };\n };\n\n var TO_STRING_TAG = NAME + ' Iterator';\n var INCORRECT_VALUES_NAME = false;\n var IterablePrototype = Iterable.prototype;\n var nativeIterator = IterablePrototype[ITERATOR]\n || IterablePrototype['@@iterator']\n || DEFAULT && IterablePrototype[DEFAULT];\n var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);\n var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;\n var CurrentIteratorPrototype, methods, KEY;\n\n // fix native\n if (anyNativeIterator) {\n CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));\n if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {\n if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {\n if (setPrototypeOf) {\n setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);\n } else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) {\n defineBuiltIn(CurrentIteratorPrototype, ITERATOR, returnThis);\n }\n }\n // Set @@toStringTag to native iterators\n setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);\n if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;\n }\n }\n\n // fix Array.prototype.{ values, @@iterator }.name in V8 / FF\n if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {\n if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) {\n createNonEnumerableProperty(IterablePrototype, 'name', VALUES);\n } else {\n INCORRECT_VALUES_NAME = true;\n defaultIterator = function values() { return call(nativeIterator, this); };\n }\n }\n\n // export additional methods\n if (DEFAULT) {\n methods = {\n values: getIterationMethod(VALUES),\n keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),\n entries: getIterationMethod(ENTRIES)\n };\n if (FORCED) for (KEY in methods) {\n if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {\n defineBuiltIn(IterablePrototype, KEY, methods[KEY]);\n }\n } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);\n }\n\n // define iterator\n if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {\n defineBuiltIn(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT });\n }\n Iterators[NAME] = defaultIterator;\n\n return methods;\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar create = require('../internals/object-create');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar BUGGY_SAFARI_ITERATORS = false;\n\n// `%IteratorPrototype%` object\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-object\nvar IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;\n\n/* eslint-disable es/no-array-prototype-keys -- safe */\nif ([].keys) {\n arrayIterator = [].keys();\n // Safari 8 has buggy iterators w/o `next`\n if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;\n else {\n PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));\n if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;\n }\n}\n\nvar NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () {\n var test = {};\n // FF44- legacy iterators case\n return IteratorPrototype[ITERATOR].call(test) !== test;\n});\n\nif (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};\nelse if (IS_PURE) IteratorPrototype = create(IteratorPrototype);\n\n// `%IteratorPrototype%[@@iterator]()` method\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator\nif (!isCallable(IteratorPrototype[ITERATOR])) {\n defineBuiltIn(IteratorPrototype, ITERATOR, function () {\n return this;\n });\n}\n\nmodule.exports = {\n IteratorPrototype: IteratorPrototype,\n BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS\n};\n","'use strict';\nmodule.exports = {};\n","'use strict';\nvar toLength = require('../internals/to-length');\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n return toLength(obj.length);\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar $String = String;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\nvar stringSlice = uncurryThis(''.slice);\nvar replace = uncurryThis(''.replace);\nvar join = uncurryThis([].join);\n\nvar CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {\n return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;\n});\n\nvar TEMPLATE = String(String).split('String');\n\nvar makeBuiltIn = module.exports = function (value, name, options) {\n if (stringSlice($String(name), 0, 7) === 'Symbol(') {\n name = '[' + replace($String(name), /^Symbol\\(([^)]*)\\).*$/, '$1') + ']';\n }\n if (options && options.getter) name = 'get ' + name;\n if (options && options.setter) name = 'set ' + name;\n if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });\n else value.name = name;\n }\n if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {\n defineProperty(value, 'length', { value: options.arity });\n }\n try {\n if (options && hasOwn(options, 'constructor') && options.constructor) {\n if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });\n // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable\n } else if (value.prototype) value.prototype = undefined;\n } catch (error) { /* empty */ }\n var state = enforceInternalState(value);\n if (!hasOwn(state, 'source')) {\n state.source = join(TEMPLATE, typeof name == 'string' ? name : '');\n } return value;\n};\n\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n// eslint-disable-next-line no-extend-native -- required\nFunction.prototype.toString = makeBuiltIn(function toString() {\n return isCallable(this) && getInternalState(this).source || inspectSource(this);\n}, 'toString');\n","'use strict';\nvar ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n// eslint-disable-next-line es/no-math-trunc -- safe\nmodule.exports = Math.trunc || function trunc(x) {\n var n = +x;\n return (n > 0 ? floor : ceil)(n);\n};\n","'use strict';\nvar global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar trim = require('../internals/string-trim').trim;\nvar whitespaces = require('../internals/whitespaces');\n\nvar $parseInt = global.parseInt;\nvar Symbol = global.Symbol;\nvar ITERATOR = Symbol && Symbol.iterator;\nvar hex = /^[+-]?0x/i;\nvar exec = uncurryThis(hex.exec);\nvar FORCED = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22\n // MS Edge 18- broken with boxed symbols\n || (ITERATOR && !fails(function () { $parseInt(Object(ITERATOR)); }));\n\n// `parseInt` method\n// https://tc39.es/ecma262/#sec-parseint-string-radix\nmodule.exports = FORCED ? function parseInt(string, radix) {\n var S = trim(toString(string));\n return $parseInt(S, (radix >>> 0) || (exec(hex, S) ? 16 : 10));\n} : $parseInt;\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar call = require('../internals/function-call');\nvar fails = require('../internals/fails');\nvar objectKeys = require('../internals/object-keys');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\n\n// eslint-disable-next-line es/no-object-assign -- safe\nvar $assign = Object.assign;\n// eslint-disable-next-line es/no-object-defineproperty -- required for testing\nvar defineProperty = Object.defineProperty;\nvar concat = uncurryThis([].concat);\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\nmodule.exports = !$assign || fails(function () {\n // should have correct order of operations (Edge bug)\n if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {\n enumerable: true,\n get: function () {\n defineProperty(this, 'b', {\n value: 3,\n enumerable: false\n });\n }\n }), { b: 2 })).b !== 1) return true;\n // should work with symbols and should have deterministic property order (V8 bug)\n var A = {};\n var B = {};\n // eslint-disable-next-line es/no-symbol -- safe\n var symbol = Symbol('assign detection');\n var alphabet = 'abcdefghijklmnopqrst';\n A[symbol] = 7;\n alphabet.split('').forEach(function (chr) { B[chr] = chr; });\n return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`\n var T = toObject(target);\n var argumentsLength = arguments.length;\n var index = 1;\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n var propertyIsEnumerable = propertyIsEnumerableModule.f;\n while (argumentsLength > index) {\n var S = IndexedObject(arguments[index++]);\n var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);\n var length = keys.length;\n var j = 0;\n var key;\n while (length > j) {\n key = keys[j++];\n if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];\n }\n } return T;\n} : $assign;\n","'use strict';\n/* global ActiveXObject -- old IE, WSH */\nvar anObject = require('../internals/an-object');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n activeXDocument.write(scriptTag(''));\n activeXDocument.close();\n var temp = activeXDocument.parentWindow.Object;\n activeXDocument = null; // avoid memory leak\n return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = documentCreateElement('iframe');\n var JS = 'java' + SCRIPT + ':';\n var iframeDocument;\n iframe.style.display = 'none';\n html.appendChild(iframe);\n // https://github.com/zloirock/core-js/issues/475\n iframe.src = String(JS);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(scriptTag('document.F=Object'));\n iframeDocument.close();\n return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n try {\n activeXDocument = new ActiveXObject('htmlfile');\n } catch (error) { /* ignore */ }\n NullProtoObject = typeof document != 'undefined'\n ? document.domain && activeXDocument\n ? NullProtoObjectViaActiveX(activeXDocument) // old IE\n : NullProtoObjectViaIFrame()\n : NullProtoObjectViaActiveX(activeXDocument); // WSH\n var length = enumBugKeys.length;\n while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\n// eslint-disable-next-line es/no-object-create -- safe\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n EmptyConstructor[PROTOTYPE] = anObject(O);\n result = new EmptyConstructor();\n EmptyConstructor[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = NullProtoObject();\n return Properties === undefined ? result : definePropertiesModule.f(result, Properties);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es/no-object-defineproperties -- safe\nexports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var props = toIndexedObject(Properties);\n var keys = objectKeys(Properties);\n var length = keys.length;\n var index = 0;\n var key;\n while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);\n return O;\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n var current = $getOwnPropertyDescriptor(O, P);\n if (current && current[WRITABLE]) {\n O[P] = Attributes.value;\n Attributes = {\n configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n writable: false\n };\n }\n } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return $defineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar call = require('../internals/function-call');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPropertyKey(P);\n if (IE8_DOM_DEFINE) try {\n return $getOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n","'use strict';\n/* eslint-disable es/no-object-getownpropertynames -- safe */\nvar classof = require('../internals/classof-raw');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar $getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar arraySlice = require('../internals/array-slice');\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return $getOwnPropertyNames(it);\n } catch (error) {\n return arraySlice(windowNames);\n }\n};\n\n// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && classof(it) === 'Window'\n ? getWindowNames(it)\n : $getOwnPropertyNames(toIndexedObject(it));\n};\n","'use strict';\nvar internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","'use strict';\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","'use strict';\nvar hasOwn = require('../internals/has-own-property');\nvar isCallable = require('../internals/is-callable');\nvar toObject = require('../internals/to-object');\nvar sharedKey = require('../internals/shared-key');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar $Object = Object;\nvar ObjectPrototype = $Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n// eslint-disable-next-line es/no-object-getprototypeof -- safe\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {\n var object = toObject(O);\n if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];\n var constructor = object.constructor;\n if (isCallable(constructor) && object instanceof constructor) {\n return constructor.prototype;\n } return object instanceof $Object ? ObjectPrototype : null;\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar ARRAY_BUFFER_NON_EXTENSIBLE = require('../internals/array-buffer-non-extensible');\n\n// eslint-disable-next-line es/no-object-isextensible -- safe\nvar $isExtensible = Object.isExtensible;\nvar FAILS_ON_PRIMITIVES = fails(function () { $isExtensible(1); });\n\n// `Object.isExtensible` method\n// https://tc39.es/ecma262/#sec-object.isextensible\nmodule.exports = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) {\n if (!isObject(it)) return false;\n if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) === 'ArrayBuffer') return false;\n return $isExtensible ? $isExtensible(it) : true;\n} : $isExtensible;\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (hasOwn(O, key = names[i++])) {\n ~indexOf(result, key) || push(result, key);\n }\n return result;\n};\n","'use strict';\nvar internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n// eslint-disable-next-line es/no-object-keys -- safe\nmodule.exports = Object.keys || function keys(O) {\n return internalObjectKeys(O, enumBugKeys);\n};\n","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","'use strict';\n/* eslint-disable no-proto -- safe */\nvar uncurryThisAccessor = require('../internals/function-uncurry-this-accessor');\nvar anObject = require('../internals/an-object');\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n// eslint-disable-next-line es/no-object-setprototypeof -- safe\nmodule.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\n var CORRECT_SETTER = false;\n var test = {};\n var setter;\n try {\n setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');\n setter(test, []);\n CORRECT_SETTER = test instanceof Array;\n } catch (error) { /* empty */ }\n return function setPrototypeOf(O, proto) {\n anObject(O);\n aPossiblePrototype(proto);\n if (CORRECT_SETTER) setter(O, proto);\n else O.__proto__ = proto;\n return O;\n };\n}() : undefined);\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classof = require('../internals/classof');\n\n// `Object.prototype.toString` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nmodule.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {\n return '[object ' + classof(this) + ']';\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar $TypeError = TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n var fn, val;\n if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n throw new $TypeError(\"Can't convert object to primitive value\");\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof-raw');\nvar regexpExec = require('../internals/regexp-exec');\n\nvar $TypeError = TypeError;\n\n// `RegExpExec` abstract operation\n// https://tc39.es/ecma262/#sec-regexpexec\nmodule.exports = function (R, S) {\n var exec = R.exec;\n if (isCallable(exec)) {\n var result = call(exec, R, S);\n if (result !== null) anObject(result);\n return result;\n }\n if (classof(R) === 'RegExp') return call(regexpExec, R, S);\n throw new $TypeError('RegExp#exec called on incompatible receiver');\n};\n","'use strict';\n/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */\n/* eslint-disable regexp/no-useless-quantifier -- testing */\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar regexpFlags = require('../internals/regexp-flags');\nvar stickyHelpers = require('../internals/regexp-sticky-helpers');\nvar shared = require('../internals/shared');\nvar create = require('../internals/object-create');\nvar getInternalState = require('../internals/internal-state').get;\nvar UNSUPPORTED_DOT_ALL = require('../internals/regexp-unsupported-dot-all');\nvar UNSUPPORTED_NCG = require('../internals/regexp-unsupported-ncg');\n\nvar nativeReplace = shared('native-string-replace', String.prototype.replace);\nvar nativeExec = RegExp.prototype.exec;\nvar patchedExec = nativeExec;\nvar charAt = uncurryThis(''.charAt);\nvar indexOf = uncurryThis(''.indexOf);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\n\nvar UPDATES_LAST_INDEX_WRONG = (function () {\n var re1 = /a/;\n var re2 = /b*/g;\n call(nativeExec, re1, 'a');\n call(nativeExec, re2, 'a');\n return re1.lastIndex !== 0 || re2.lastIndex !== 0;\n})();\n\nvar UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET;\n\n// nonparticipating capturing group, copied from es5-shim's String#split patch.\nvar NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;\n\nvar PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;\n\nif (PATCH) {\n patchedExec = function exec(string) {\n var re = this;\n var state = getInternalState(re);\n var str = toString(string);\n var raw = state.raw;\n var result, reCopy, lastIndex, match, i, object, group;\n\n if (raw) {\n raw.lastIndex = re.lastIndex;\n result = call(patchedExec, raw, str);\n re.lastIndex = raw.lastIndex;\n return result;\n }\n\n var groups = state.groups;\n var sticky = UNSUPPORTED_Y && re.sticky;\n var flags = call(regexpFlags, re);\n var source = re.source;\n var charsAdded = 0;\n var strCopy = str;\n\n if (sticky) {\n flags = replace(flags, 'y', '');\n if (indexOf(flags, 'g') === -1) {\n flags += 'g';\n }\n\n strCopy = stringSlice(str, re.lastIndex);\n // Support anchored sticky behavior.\n if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\\n')) {\n source = '(?: ' + source + ')';\n strCopy = ' ' + strCopy;\n charsAdded++;\n }\n // ^(? + rx + ) is needed, in combination with some str slicing, to\n // simulate the 'y' flag.\n reCopy = new RegExp('^(?:' + source + ')', flags);\n }\n\n if (NPCG_INCLUDED) {\n reCopy = new RegExp('^' + source + '$(?!\\\\s)', flags);\n }\n if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;\n\n match = call(nativeExec, sticky ? reCopy : re, strCopy);\n\n if (sticky) {\n if (match) {\n match.input = stringSlice(match.input, charsAdded);\n match[0] = stringSlice(match[0], charsAdded);\n match.index = re.lastIndex;\n re.lastIndex += match[0].length;\n } else re.lastIndex = 0;\n } else if (UPDATES_LAST_INDEX_WRONG && match) {\n re.lastIndex = re.global ? match.index + match[0].length : lastIndex;\n }\n if (NPCG_INCLUDED && match && match.length > 1) {\n // Fix browsers whose `exec` methods don't consistently return `undefined`\n // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/\n call(nativeReplace, match[0], reCopy, function () {\n for (i = 1; i < arguments.length - 2; i++) {\n if (arguments[i] === undefined) match[i] = undefined;\n }\n });\n }\n\n if (match && groups) {\n match.groups = object = create(null);\n for (i = 0; i < groups.length; i++) {\n group = groups[i];\n object[group[0]] = match[group[1]];\n }\n }\n\n return match;\n };\n}\n\nmodule.exports = patchedExec;\n","'use strict';\nvar anObject = require('../internals/an-object');\n\n// `RegExp.prototype.flags` getter implementation\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.hasIndices) result += 'd';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.dotAll) result += 's';\n if (that.unicode) result += 'u';\n if (that.unicodeSets) result += 'v';\n if (that.sticky) result += 'y';\n return result;\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nvar UNSUPPORTED_Y = fails(function () {\n var re = $RegExp('a', 'y');\n re.lastIndex = 2;\n return re.exec('abcd') !== null;\n});\n\n// UC Browser bug\n// https://github.com/zloirock/core-js/issues/1008\nvar MISSED_STICKY = UNSUPPORTED_Y || fails(function () {\n return !$RegExp('a', 'y').sticky;\n});\n\nvar BROKEN_CARET = UNSUPPORTED_Y || fails(function () {\n // https://bugzilla.mozilla.org/show_bug.cgi?id=773687\n var re = $RegExp('^r', 'gy');\n re.lastIndex = 2;\n return re.exec('str') !== null;\n});\n\nmodule.exports = {\n BROKEN_CARET: BROKEN_CARET,\n MISSED_STICKY: MISSED_STICKY,\n UNSUPPORTED_Y: UNSUPPORTED_Y\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nmodule.exports = fails(function () {\n var re = $RegExp('.', 's');\n return !(re.dotAll && re.test('\\n') && re.flags === 's');\n});\n","'use strict';\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('(?b)', 'g') -> /(?b)/g and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nmodule.exports = fails(function () {\n var re = $RegExp('(?b)', 'g');\n return re.exec('b').groups.a !== 'b' ||\n 'b'.replace(re, '$c') !== 'bc';\n});\n","'use strict';\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\nvar $TypeError = TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (isNullOrUndefined(it)) throw new $TypeError(\"Can't call method on \" + it);\n return it;\n};\n","'use strict';\nvar defineProperty = require('../internals/object-define-property').f;\nvar hasOwn = require('../internals/has-own-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nmodule.exports = function (target, TAG, STATIC) {\n if (target && !STATIC) target = target.prototype;\n if (target && !hasOwn(target, TO_STRING_TAG)) {\n defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG });\n }\n};\n","'use strict';\nvar shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","'use strict';\nvar global = require('../internals/global');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || defineGlobalProperty(SHARED, {});\n\nmodule.exports = store;\n","'use strict';\nvar IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.35.1',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar stringSlice = uncurryThis(''.slice);\n\nvar createMethod = function (CONVERT_TO_STRING) {\n return function ($this, pos) {\n var S = toString(requireObjectCoercible($this));\n var position = toIntegerOrInfinity(pos);\n var size = S.length;\n var first, second;\n if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n first = charCodeAt(S, position);\n return first < 0xD800 || first > 0xDBFF || position + 1 === size\n || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF\n ? CONVERT_TO_STRING\n ? charAt(S, position)\n : first\n : CONVERT_TO_STRING\n ? stringSlice(S, position, position + 2)\n : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n };\n};\n\nmodule.exports = {\n // `String.prototype.codePointAt` method\n // https://tc39.es/ecma262/#sec-string.prototype.codepointat\n codeAt: createMethod(false),\n // `String.prototype.at` method\n // https://github.com/mathiasbynens/String.prototype.at\n charAt: createMethod(true)\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar whitespaces = require('../internals/whitespaces');\n\nvar replace = uncurryThis(''.replace);\nvar ltrim = RegExp('^[' + whitespaces + ']+');\nvar rtrim = RegExp('(^|[^' + whitespaces + '])[' + whitespaces + ']+$');\n\n// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation\nvar createMethod = function (TYPE) {\n return function ($this) {\n var string = toString(requireObjectCoercible($this));\n if (TYPE & 1) string = replace(string, ltrim, '');\n if (TYPE & 2) string = replace(string, rtrim, '$1');\n return string;\n };\n};\n\nmodule.exports = {\n // `String.prototype.{ trimLeft, trimStart }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimstart\n start: createMethod(1),\n // `String.prototype.{ trimRight, trimEnd }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimend\n end: createMethod(2),\n // `String.prototype.trim` method\n // https://tc39.es/ecma262/#sec-string.prototype.trim\n trim: createMethod(3)\n};\n","'use strict';\n/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\nvar $String = global.String;\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol('symbol detection');\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,\n // of course, fail.\n return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toIntegerOrInfinity(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","'use strict';\n// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","'use strict';\nvar trunc = require('../internals/math-trunc');\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n var number = +argument;\n // eslint-disable-next-line no-self-compare -- NaN check\n return number !== number || number === 0 ? 0 : trunc(number);\n};\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n var len = toIntegerOrInfinity(argument);\n return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","'use strict';\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar $Object = Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return $Object(requireObjectCoercible(argument));\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar $TypeError = TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n if (!isObject(input) || isSymbol(input)) return input;\n var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n var result;\n if (exoticToPrim) {\n if (pref === undefined) pref = 'default';\n result = call(exoticToPrim, input, pref);\n if (!isObject(result) || isSymbol(result)) return result;\n throw new $TypeError(\"Can't convert object to primitive value\");\n }\n if (pref === undefined) pref = 'number';\n return ordinaryToPrimitive(input, pref);\n};\n","'use strict';\nvar toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n var key = toPrimitive(argument, 'string');\n return isSymbol(key) ? key : key + '';\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n","'use strict';\nvar classof = require('../internals/classof');\n\nvar $String = String;\n\nmodule.exports = function (argument) {\n if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');\n return $String(argument);\n};\n","'use strict';\nvar $String = String;\n\nmodule.exports = function (argument) {\n try {\n return $String(argument);\n } catch (error) {\n return 'Object';\n }\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.0.toString);\n\nmodule.exports = function (key) {\n return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n","'use strict';\n/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nmodule.exports = NATIVE_SYMBOL\n && !Symbol.sham\n && typeof Symbol.iterator == 'symbol';\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n value: 42,\n writable: false\n }).prototype !== 42;\n});\n","'use strict';\nvar global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));\n","'use strict';\nvar global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar Symbol = global.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name)) {\n WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n ? Symbol[name]\n : createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","'use strict';\n// a string of all valid unicode whitespaces\nmodule.exports = '\\u0009\\u000A\\u000B\\u000C\\u000D\\u0020\\u00A0\\u1680\\u2000\\u2001\\u2002' +\n '\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n","'use strict';\nvar $ = require('../internals/export');\nvar $filter = require('../internals/array-iteration').filter;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');\n\n// `Array.prototype.filter` method\n// https://tc39.es/ecma262/#sec-array.prototype.filter\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n filter: function filter(callbackfn /* , thisArg */) {\n return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar Iterators = require('../internals/iterators');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineProperty = require('../internals/object-define-property').f;\nvar defineIterator = require('../internals/iterator-define');\nvar createIterResultObject = require('../internals/create-iter-result-object');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar ARRAY_ITERATOR = 'Array Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);\n\n// `Array.prototype.entries` method\n// https://tc39.es/ecma262/#sec-array.prototype.entries\n// `Array.prototype.keys` method\n// https://tc39.es/ecma262/#sec-array.prototype.keys\n// `Array.prototype.values` method\n// https://tc39.es/ecma262/#sec-array.prototype.values\n// `Array.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-array.prototype-@@iterator\n// `CreateArrayIterator` internal method\n// https://tc39.es/ecma262/#sec-createarrayiterator\nmodule.exports = defineIterator(Array, 'Array', function (iterated, kind) {\n setInternalState(this, {\n type: ARRAY_ITERATOR,\n target: toIndexedObject(iterated), // target\n index: 0, // next index\n kind: kind // kind\n });\n// `%ArrayIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next\n}, function () {\n var state = getInternalState(this);\n var target = state.target;\n var index = state.index++;\n if (!target || index >= target.length) {\n state.target = undefined;\n return createIterResultObject(undefined, true);\n }\n switch (state.kind) {\n case 'keys': return createIterResultObject(index, false);\n case 'values': return createIterResultObject(target[index], false);\n } return createIterResultObject([index, target[index]], false);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values%\n// https://tc39.es/ecma262/#sec-createunmappedargumentsobject\n// https://tc39.es/ecma262/#sec-createmappedargumentsobject\nvar values = Iterators.Arguments = Iterators.Array;\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n\n// V8 ~ Chrome 45- bug\nif (!IS_PURE && DESCRIPTORS && values.name !== 'values') try {\n defineProperty(values, 'name', { value: 'values' });\n} catch (error) { /* empty */ }\n","'use strict';\nvar $ = require('../internals/export');\nvar $reduce = require('../internals/array-reduce').left;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar CHROME_VERSION = require('../internals/engine-v8-version');\nvar IS_NODE = require('../internals/engine-is-node');\n\n// Chrome 80-82 has a critical bug\n// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982\nvar CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;\nvar FORCED = CHROME_BUG || !arrayMethodIsStrict('reduce');\n\n// `Array.prototype.reduce` method\n// https://tc39.es/ecma262/#sec-array.prototype.reduce\n$({ target: 'Array', proto: true, forced: FORCED }, {\n reduce: function reduce(callbackfn /* , initialValue */) {\n var length = arguments.length;\n return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar FUNCTION_NAME_EXISTS = require('../internals/function-name').EXISTS;\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\n\nvar FunctionPrototype = Function.prototype;\nvar functionToString = uncurryThis(FunctionPrototype.toString);\nvar nameRE = /function\\b(?:\\s|\\/\\*[\\S\\s]*?\\*\\/|\\/\\/[^\\n\\r]*[\\n\\r]+)*([^\\s(/]*)/;\nvar regExpExec = uncurryThis(nameRE.exec);\nvar NAME = 'name';\n\n// Function instances `.name` property\n// https://tc39.es/ecma262/#sec-function-instances-name\nif (DESCRIPTORS && !FUNCTION_NAME_EXISTS) {\n defineBuiltInAccessor(FunctionPrototype, NAME, {\n configurable: true,\n get: function () {\n try {\n return regExpExec(nameRE, functionToString(this))[1];\n } catch (error) {\n return '';\n }\n }\n });\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar assign = require('../internals/object-assign');\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\n// eslint-disable-next-line es/no-object-assign -- required for testing\n$({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {\n assign: assign\n});\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar toString = require('../internals/object-to-string');\n\n// `Object.prototype.toString` method\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nif (!TO_STRING_TAG_SUPPORT) {\n defineBuiltIn(Object.prototype, 'toString', toString, { unsafe: true });\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar $parseInt = require('../internals/number-parse-int');\n\n// `parseInt` method\n// https://tc39.es/ecma262/#sec-parseint-string-radix\n$({ global: true, forced: parseInt !== $parseInt }, {\n parseInt: $parseInt\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar exec = require('../internals/regexp-exec');\n\n// `RegExp.prototype.exec` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.exec\n$({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {\n exec: exec\n});\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\nvar toString = require('../internals/to-string');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineIterator = require('../internals/iterator-define');\nvar createIterResultObject = require('../internals/create-iter-result-object');\n\nvar STRING_ITERATOR = 'String Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);\n\n// `String.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-string.prototype-@@iterator\ndefineIterator(String, 'String', function (iterated) {\n setInternalState(this, {\n type: STRING_ITERATOR,\n string: toString(iterated),\n index: 0\n });\n// `%StringIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next\n}, function next() {\n var state = getInternalState(this);\n var string = state.string;\n var index = state.index;\n var point;\n if (index >= string.length) return createIterResultObject(undefined, true);\n point = charAt(string, index);\n state.index += point.length;\n return createIterResultObject(point, false);\n});\n","'use strict';\nvar call = require('../internals/function-call');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar anObject = require('../internals/an-object');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar getMethod = require('../internals/get-method');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar regExpExec = require('../internals/regexp-exec-abstract');\n\n// @@match logic\nfixRegExpWellKnownSymbolLogic('match', function (MATCH, nativeMatch, maybeCallNative) {\n return [\n // `String.prototype.match` method\n // https://tc39.es/ecma262/#sec-string.prototype.match\n function match(regexp) {\n var O = requireObjectCoercible(this);\n var matcher = isNullOrUndefined(regexp) ? undefined : getMethod(regexp, MATCH);\n return matcher ? call(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString(O));\n },\n // `RegExp.prototype[@@match]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@match\n function (string) {\n var rx = anObject(this);\n var S = toString(string);\n var res = maybeCallNative(nativeMatch, rx, S);\n\n if (res.done) return res.value;\n\n if (!rx.global) return regExpExec(rx, S);\n\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n var A = [];\n var n = 0;\n var result;\n while ((result = regExpExec(rx, S)) !== null) {\n var matchStr = toString(result[0]);\n A[n] = matchStr;\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n n++;\n }\n return n === 0 ? null : A;\n }\n ];\n});\n","'use strict';\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar fails = require('../internals/fails');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar getMethod = require('../internals/get-method');\nvar getSubstitution = require('../internals/get-substitution');\nvar regExpExec = require('../internals/regexp-exec-abstract');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar REPLACE = wellKnownSymbol('replace');\nvar max = Math.max;\nvar min = Math.min;\nvar concat = uncurryThis([].concat);\nvar push = uncurryThis([].push);\nvar stringIndexOf = uncurryThis(''.indexOf);\nvar stringSlice = uncurryThis(''.slice);\n\nvar maybeToString = function (it) {\n return it === undefined ? it : String(it);\n};\n\n// IE <= 11 replaces $0 with the whole match, as if it was $&\n// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0\nvar REPLACE_KEEPS_$0 = (function () {\n // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing\n return 'a'.replace(/./, '$0') === '$0';\n})();\n\n// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string\nvar REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {\n if (/./[REPLACE]) {\n return /./[REPLACE]('a', '$0') === '';\n }\n return false;\n})();\n\nvar REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n var re = /./;\n re.exec = function () {\n var result = [];\n result.groups = { a: '7' };\n return result;\n };\n // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive\n return ''.replace(re, '$') !== '7';\n});\n\n// @@replace logic\nfixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {\n var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';\n\n return [\n // `String.prototype.replace` method\n // https://tc39.es/ecma262/#sec-string.prototype.replace\n function replace(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var replacer = isNullOrUndefined(searchValue) ? undefined : getMethod(searchValue, REPLACE);\n return replacer\n ? call(replacer, searchValue, O, replaceValue)\n : call(nativeReplace, toString(O), searchValue, replaceValue);\n },\n // `RegExp.prototype[@@replace]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace\n function (string, replaceValue) {\n var rx = anObject(this);\n var S = toString(string);\n\n if (\n typeof replaceValue == 'string' &&\n stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&\n stringIndexOf(replaceValue, '$<') === -1\n ) {\n var res = maybeCallNative(nativeReplace, rx, S, replaceValue);\n if (res.done) return res.value;\n }\n\n var functionalReplace = isCallable(replaceValue);\n if (!functionalReplace) replaceValue = toString(replaceValue);\n\n var global = rx.global;\n var fullUnicode;\n if (global) {\n fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n }\n\n var results = [];\n var result;\n while (true) {\n result = regExpExec(rx, S);\n if (result === null) break;\n\n push(results, result);\n if (!global) break;\n\n var matchStr = toString(result[0]);\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n }\n\n var accumulatedResult = '';\n var nextSourcePosition = 0;\n for (var i = 0; i < results.length; i++) {\n result = results[i];\n\n var matched = toString(result[0]);\n var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);\n var captures = [];\n var replacement;\n // NOTE: This is equivalent to\n // captures = result.slice(1).map(maybeToString)\n // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j]));\n var namedCaptures = result.groups;\n if (functionalReplace) {\n var replacerArgs = concat([matched], captures, position, S);\n if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);\n replacement = toString(apply(replaceValue, undefined, replacerArgs));\n } else {\n replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n }\n if (position >= nextSourcePosition) {\n accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement;\n nextSourcePosition = position + matched.length;\n }\n }\n\n return accumulatedResult + stringSlice(S, nextSourcePosition);\n }\n ];\n}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);\n","'use strict';\nvar FREEZING = require('../internals/freezing');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar defineBuiltIns = require('../internals/define-built-ins');\nvar InternalMetadataModule = require('../internals/internal-metadata');\nvar collection = require('../internals/collection');\nvar collectionWeak = require('../internals/collection-weak');\nvar isObject = require('../internals/is-object');\nvar enforceInternalState = require('../internals/internal-state').enforce;\nvar fails = require('../internals/fails');\nvar NATIVE_WEAK_MAP = require('../internals/weak-map-basic-detection');\n\nvar $Object = Object;\n// eslint-disable-next-line es/no-array-isarray -- safe\nvar isArray = Array.isArray;\n// eslint-disable-next-line es/no-object-isextensible -- safe\nvar isExtensible = $Object.isExtensible;\n// eslint-disable-next-line es/no-object-isfrozen -- safe\nvar isFrozen = $Object.isFrozen;\n// eslint-disable-next-line es/no-object-issealed -- safe\nvar isSealed = $Object.isSealed;\n// eslint-disable-next-line es/no-object-freeze -- safe\nvar freeze = $Object.freeze;\n// eslint-disable-next-line es/no-object-seal -- safe\nvar seal = $Object.seal;\n\nvar IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global;\nvar InternalWeakMap;\n\nvar wrapper = function (init) {\n return function WeakMap() {\n return init(this, arguments.length ? arguments[0] : undefined);\n };\n};\n\n// `WeakMap` constructor\n// https://tc39.es/ecma262/#sec-weakmap-constructor\nvar $WeakMap = collection('WeakMap', wrapper, collectionWeak);\nvar WeakMapPrototype = $WeakMap.prototype;\nvar nativeSet = uncurryThis(WeakMapPrototype.set);\n\n// Chakra Edge bug: adding frozen arrays to WeakMap unfreeze them\nvar hasMSEdgeFreezingBug = function () {\n return FREEZING && fails(function () {\n var frozenArray = freeze([]);\n nativeSet(new $WeakMap(), frozenArray, 1);\n return !isFrozen(frozenArray);\n });\n};\n\n// IE11 WeakMap frozen keys fix\n// We can't use feature detection because it crash some old IE builds\n// https://github.com/zloirock/core-js/issues/485\nif (NATIVE_WEAK_MAP) if (IS_IE11) {\n InternalWeakMap = collectionWeak.getConstructor(wrapper, 'WeakMap', true);\n InternalMetadataModule.enable();\n var nativeDelete = uncurryThis(WeakMapPrototype['delete']);\n var nativeHas = uncurryThis(WeakMapPrototype.has);\n var nativeGet = uncurryThis(WeakMapPrototype.get);\n defineBuiltIns(WeakMapPrototype, {\n 'delete': function (key) {\n if (isObject(key) && !isExtensible(key)) {\n var state = enforceInternalState(this);\n if (!state.frozen) state.frozen = new InternalWeakMap();\n return nativeDelete(this, key) || state.frozen['delete'](key);\n } return nativeDelete(this, key);\n },\n has: function has(key) {\n if (isObject(key) && !isExtensible(key)) {\n var state = enforceInternalState(this);\n if (!state.frozen) state.frozen = new InternalWeakMap();\n return nativeHas(this, key) || state.frozen.has(key);\n } return nativeHas(this, key);\n },\n get: function get(key) {\n if (isObject(key) && !isExtensible(key)) {\n var state = enforceInternalState(this);\n if (!state.frozen) state.frozen = new InternalWeakMap();\n return nativeHas(this, key) ? nativeGet(this, key) : state.frozen.get(key);\n } return nativeGet(this, key);\n },\n set: function set(key, value) {\n if (isObject(key) && !isExtensible(key)) {\n var state = enforceInternalState(this);\n if (!state.frozen) state.frozen = new InternalWeakMap();\n nativeHas(this, key) ? nativeSet(this, key, value) : state.frozen.set(key, value);\n } else nativeSet(this, key, value);\n return this;\n }\n });\n// Chakra Edge frozen keys fix\n} else if (hasMSEdgeFreezingBug()) {\n defineBuiltIns(WeakMapPrototype, {\n set: function set(key, value) {\n var arrayIntegrityLevel;\n if (isArray(key)) {\n if (isFrozen(key)) arrayIntegrityLevel = freeze;\n else if (isSealed(key)) arrayIntegrityLevel = seal;\n }\n nativeSet(this, key, value);\n if (arrayIntegrityLevel) arrayIntegrityLevel(key);\n return this;\n }\n });\n}\n","'use strict';\n// TODO: Remove this module from `core-js@4` since it's replaced to module below\nrequire('../modules/es.weak-map.constructor');\n","'use strict';\nvar global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar DOMTokenListPrototype = require('../internals/dom-token-list-prototype');\nvar forEach = require('../internals/array-for-each');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nvar handlePrototype = function (CollectionPrototype) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {\n createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);\n } catch (error) {\n CollectionPrototype.forEach = forEach;\n }\n};\n\nfor (var COLLECTION_NAME in DOMIterables) {\n if (DOMIterables[COLLECTION_NAME]) {\n handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype);\n }\n}\n\nhandlePrototype(DOMTokenListPrototype);\n","'use strict';\nvar global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar DOMTokenListPrototype = require('../internals/dom-token-list-prototype');\nvar ArrayIteratorMethods = require('../modules/es.array.iterator');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar ArrayValues = ArrayIteratorMethods.values;\n\nvar handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {\n if (CollectionPrototype) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype[ITERATOR] !== ArrayValues) try {\n createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);\n } catch (error) {\n CollectionPrototype[ITERATOR] = ArrayValues;\n }\n setToStringTag(CollectionPrototype, COLLECTION_NAME, true);\n if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {\n createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);\n } catch (error) {\n CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];\n }\n }\n }\n};\n\nfor (var COLLECTION_NAME in DOMIterables) {\n handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype, COLLECTION_NAME);\n}\n\nhandlePrototype(DOMTokenListPrototype, 'DOMTokenList');\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","export default function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}","import toPropertyKey from \"./toPropertyKey.js\";\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);\n }\n}\nexport default function _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}","import toPropertyKey from \"./toPropertyKey.js\";\nexport default function _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}","export default function _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}","import superPropBase from \"./superPropBase.js\";\nexport default function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get.bind();\n } else {\n _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n return desc.value;\n };\n }\n return _get.apply(this, arguments);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","import superPropBase from \"./superPropBase.js\";\nimport defineProperty from \"./defineProperty.js\";\nfunction set(target, property, value, receiver) {\n if (typeof Reflect !== \"undefined\" && Reflect.set) {\n set = Reflect.set;\n } else {\n set = function set(target, property, value, receiver) {\n var base = superPropBase(target, property);\n var desc;\n if (base) {\n desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.set) {\n desc.set.call(receiver, value);\n return true;\n } else if (!desc.writable) {\n return false;\n }\n }\n desc = Object.getOwnPropertyDescriptor(receiver, property);\n if (desc) {\n if (!desc.writable) {\n return false;\n }\n desc.value = value;\n Object.defineProperty(receiver, property, desc);\n } else {\n defineProperty(receiver, property, value);\n }\n return true;\n };\n }\n return set(target, property, value, receiver);\n}\nexport default function _set(target, property, value, receiver, isStrict) {\n var s = set(target, property, value, receiver || target);\n if (!s && isStrict) {\n throw new TypeError('failed to set property');\n }\n return value;\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nexport default function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import _typeof from \"./typeof.js\";\nexport default function toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nexport default function toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : String(i);\n}","export default function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, _typeof(o);\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","var getProto = Object.getPrototypeOf ? function(obj) { return Object.getPrototypeOf(obj); } : function(obj) { return obj.__proto__; };\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach(function(key) { def[key] = function() { return value[key]; }; });\n\t}\n\tdef['default'] = function() { return value; };\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = function(chunkId) {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"\" + chunkId + \".\" + {\"2\":\"modules/delegate\",\"3\":\"modules/firebase\",\"4\":\"modules/firebaseAuth\",\"5\":\"modules/myStribe\",\"6\":\"modules/parallaxMouse\",\"7\":\"modules/parallaxScroll\",\"8\":\"modules/quill\",\"9\":\"modules/select\",\"10\":\"modules/shop\",\"11\":\"modules/tooltip\",\"12\":\"modules/vimeo\",\"13\":\"polyfills/abortController\",\"14\":\"polyfills/fetch\",\"15\":\"polyfills/intersectionobserver\",\"16\":\"polyfills/smoothScroll\"}[chunkId] + \".\" + {\"2\":\"c6f77f0f878615b5006c\",\"3\":\"7426e398723ff3370ad0\",\"4\":\"0dc59881500dc96b3b1b\",\"5\":\"2f7d05a288293eb22dba\",\"6\":\"e5f513114e01f8296d12\",\"7\":\"f57a8d569b3336482a97\",\"8\":\"19b75e7ff8311151329f\",\"9\":\"1a4e9b1f6db2bb5c71d0\",\"10\":\"7b085bcb1bfc9ae9a454\",\"11\":\"c7cee0d799803693fe95\",\"12\":\"9a6684b32ff23adf8488\",\"13\":\"5d49f26cb45a9ece08ca\",\"14\":\"0b30923beb3f25257d7c\",\"15\":\"4cfd021a9eafe867bcda\",\"16\":\"26848d3d6b5b4d65d85b\"}[chunkId] + \".js\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","var inProgress = {};\nvar dataWebpackPrefix = \"@humandigital-agency/jointhestribe-frontend:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function(url, done, key, chunkId) {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function(prev, event) {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach(function(fn) { return fn(event); });\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.p = \"/scripts/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t0: 0\n};\n\n__webpack_require__.f.j = function(chunkId, promises) {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = function(event) {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n// no on chunks loaded\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunk_humandigital_agency_jointhestribe_frontend\"] = self[\"webpackChunk_humandigital_agency_jointhestribe_frontend\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","import './libraries/slimmageSettings';\r\nimport './libraries/slimmage';\r\n\r\n// App\r\nimport App from './app';\r\nimport PolyfillController from './controllers/polyfill';\r\n\r\n// Controllers\r\nimport HeaderController from './controllers/header';\r\nimport MediaController from './controllers/media';\r\nimport AVGController from './controllers/avg';\r\nimport TabsController from './controllers/tabs/controller';\r\nimport ToastController from './controllers/toast/controller';\r\n// import SearchController from './controllers/search';\r\nimport AccordeonController from './controllers/accordeon/controller';\r\nimport LandingController from './controllers/landing';\r\nimport ParallaxController from './controllers/parallax';\r\nimport ShareController from './controllers/share';\r\nimport LikeController from './controllers/like';\r\nimport TooltipController from './controllers/tooltip';\r\nimport JournalOverviewController from './controllers/journalsOverview';\r\nimport ProjectsOverviewController from './controllers/projectsOverview';\r\nimport CoursesOverviewController from './controllers/coursesOverview';\r\nimport StribersOverviewController from './controllers/stribersOverview';\r\nimport SliderController from './controllers/slider';\r\nimport HomepageController from './controllers/homepage';\r\nimport LoginController from './controllers/login';\r\nimport PartlyHiddenController from './controllers/partlyHiddenController';\r\n\r\n(() => {\r\n document.querySelector('html').classList.remove('no-js');\r\n\r\n const polyfills = new PolyfillController();\r\n\r\n polyfills.init().then(() => {\r\n const app = new App();\r\n window.app = app;\r\n\r\n app.resizeThrottle = 10;\r\n app.scrollThrottle = 100;\r\n\r\n app.addController('polyfillController', polyfills);\r\n\r\n app.addController('AVGController', new AVGController());\r\n\r\n if (!document.body.classList.contains('landingpage')) {\r\n app.addController('headerController', new HeaderController(false));\r\n app.headerController.init();\r\n }\r\n\r\n app.addController('mediaController', new MediaController(false));\r\n app.mediaController.init();\r\n\r\n app.addController('tabsController', new TabsController());\r\n app.addController('toastController', new ToastController());\r\n \r\n app.addController('shareController', new ShareController(false));\r\n app.shareController.tagTitle = 'Deel dit item via MEDIA';\r\n if (document.body.parentNode.hasAttribute('lang') && document.body.parentNode.getAttribute('lang').toLowerCase() == 'en') {\r\n app.shareController.medias.email.name = 'email';\r\n app.shareController.tagTitle = 'Share this item using MEDIA';\r\n }\r\n\r\n app.shareController.init();\r\n\r\n app.addController('likeController', new LikeController());\r\n\r\n if (document.body.classList.contains('landingpage')) {\r\n app.addController('landingController', new LandingController());\r\n }\r\n\r\n // app.addController('searchController', new SearchController());\r\n app.addController('accordeonController', new AccordeonController());\r\n app.addController('parallaxController', new ParallaxController());\r\n app.addController('tooltipController', new TooltipController());\r\n app.addController('journalsOverviewController', new JournalOverviewController());\r\n app.addController('projectsOverviewController', new ProjectsOverviewController());\r\n app.addController('coursesOverviewController', new CoursesOverviewController());\r\n app.addController('stribersOvervieController', new StribersOverviewController());\r\n app.addController('sliderController', new SliderController());\r\n app.addController('homepageController', new HomepageController());\r\n app.addController('partlyHiddenController', new PartlyHiddenController());\r\n\r\n if (document.body.getAttribute('class').indexOf('mystribe') > -1) {\r\n import( /* webpackChunkName: \"modules/myStribe\" */ './controllers/myStribe').then(module => {\r\n app.addController('myStribeController', new module.default());\r\n });\r\n }\r\n\r\n if (document.body.getAttribute('class').indexOf('shop') > -1) {\r\n // import ShopController from './controllers/shop/controller';\r\n import( /* webpackChunkName: \"modules/shop\" */ './controllers/shop/controller').then(module => {\r\n app.addController('shopController', new module.default());\r\n });\r\n }\r\n\r\n app.addController('loginController', new LoginController());\r\n\r\n console.log(`App initialized`);\r\n document.body.classList.remove('preventAnimations');\r\n });\r\n})();"],"names":["App","autoinit","arguments","length","undefined","_classCallCheck","_resizeFunctions","_resizeTimeout","resizeThrottle","_scrollFunctions","_scrollTimeout","scrollThrottle","init","_createClass","key","value","setEventListeners","resizeAnimationPreventer","detectBrowser","noteHeight","docEl","document","documentElement","style","setProperty","concat","window","innerHeight","addEventListener","resize","bind","passive","scroll","querySelector","querySelectorAll","forEach","input","label","parentNode","classList","add","e","remove","_this","i","setTimeout","registerResizeEvent","func","push","unregisterResizeEvent","_this2","resizeFunc","index","split","_this3","registerScrollEvent","unregisterScrollEvent","_this4","scrollFunc","addController","name","object","app","_this5","resizeTimer","windowWidth","innerWidth","body","clearTimeout","isOpera","opr","addons","opera","navigator","userAgent","indexOf","isFirefox","InstallTrigger","isSafari","test","HTMLElement","p","toString","safari","pushNotification","isIE","documentMode","isEdge","StyleMedia","isChrome","vendor","isBlink","CSS","default","Accordeon","container","items","activeClass","resetClass","selectors","header","content","item","contains","height","scrollHeight","toggleItem","closeButton","toLowerCase","inactive","active","setAttribute","filter","AccordeonController","selector","accordeons","accordeonElement","accordeon","Cookies","AVGController","avgPermissionsCookie","getJSON","cookieBar","dataLayer","AcceptedAnalyticsCookies","AcceptedTrackingCookies","checked","LoadAVGScripts","CheckOpen","SetupButtonClicks","get","Functional","Analytics","Tracking","SetOrUpdatePermissionsCookie","functional","analytics","tracking","set","expires","AgreeCookies","event","preventDefault","SavePreferences","noscript","LoadGoogleTagManager","dataset","gtmTag","gtmcode","w","d","s","l","Date","getTime","f","getElementsByTagName","j","createElement","dl","async","src","insertBefore","location","reload","href","getElementById","saveConfirmation","Filter","FilterGroup","Course","Pager","createBrowserHistory","CoursesOverviewController","filterGroup","dom","currentPage","totalPages","itemsPerPage","sort","api","apiCall","apiCallAbortController","AbortController","history","historyListener","labels","pagingNext","pagingOf","pagingPreviousTitle","pagingNextTitle","courseATitle","viewCourse","titleDate","titleAlphabetical","showXFilters","noResults","filtersContainer","targetsContainer","pagerContainer","filters","filterInput","expandable","additive","children","el","parseInt","parent","pagingLabelNext","pagingLabelOf","pagingLabelPreviousTitle","pagingLabelNextTitle","lang","pager","labelNext","labelOf","labelPreviousTitle","labelNextTitle","previousUrl","pathname","nextUrl","innerHTML","appendChild","generate","hideXFilters","element","update","sortInput","a","keyCode","display","toggle","listen","action","getURLParameters","page","createList","data","course","title","Title","author","AuthorName","url","Url","date","CreateDate","image","ImageUrl","originalPrice","OriginalPrice","discountedPrice","DiscountedPrice","isDiscounted","labelATitle","slimmage","cr","message","innerText","updatePager","filterData","striberid","updateUrl","clearList","updateHistory","sortOrder","queryString","Object","keys","map","encodeURIComponent","join","abort","fetch","signal","then","response","json","result","CurrentPage","TotalPages","Data","err","console","log","vars","parts","replace","m","show","hidden","listitem","tempDiv","firstChild","nextSibling","info","selection","selectedValues","inputs","Error","stopPropagation","hide","dispatchEvent","CustomEvent","formattedString","decide","shouldShow","hasAttribute","elementProperties","getAttribute","selectedValue","includes","id","selected","filterTargets","settings","filteredClass","loadSettings","updateFilterData","decideOnAllFilterTargets","decideOnFilterTarget","filterTarget","filterResults","target","setting","HeaderController","previousScroll","threshold","headerElement","menuButton","lightHeader","pageYOffset","toggleMenu","clickable","parentElement","clientHeight","mobileMenuActive","HomepagePager","PagedContainer","HomepageController","productFilter","productFilterGroup","pagedContainer","scrollOnNewPage","classToSkip","module","delegate","delegateTarget","showPage","Journal","JournalsOverviewController","journalATitle","titlePopular","journal","likes","Likes","tags","isVideo","IsVideo","LandingController","blurOn","focus","blurOff","resetNewsletterPopup","click","scrollTop","form","emailInput","trim","newsletterShowError","newsletterHideError","formData","FormData","append","$","serialize","method","text","popup","LikeController","cookie","checkLikes","likeContainer","pageId","like","headers","JSON","stringify","ok","LoginController","firebaseApp","firebase","firebaseConfig","apiKey","authDomain","databaseURL","projectId","storageBucket","messagingSenderId","appId","measurementId","initializeApp","addEventListeners","provider","auth","GoogleAuthProvider","signInWithPopup","currentUser","getIdToken","idToken","token","status","error","MediaController","youtube","vimeo","media","mediatype","tag","firstScriptTag","onYouTubeIframeAPIReady","YouTubeAPILoaded","Player","iframe","player","videoPoster","currentTarget","closest","play","YT","events","onReady","YouTubeIFrameLoaded","playVideo","embedIframe","type","imgtag","protocol","hostname","sourceRegex","imgsrc","match","imgElement","Image","embed","outerHTML","before","firstElementChild","_currentPage","_totalPages","pagedClass","childrenSelector","scrollOffset","_toConsumableArray","initPager","previous","showPrevious","next","showNext","pageNumber","instant","start","calculateTotalPages","firstIndex","lastIndex","Math","min","itemsToShow","hideAll","showItems","removeAttribute","dispatchUpdateEvent","scrollToTop","scrollIntoView","Promise","resolve","scrollTo","top","getBoundingClientRect","scrollY","behavior","_this6","_this7","ceil","detail","_this8","capitalizeFirstLetter","string","charAt","toUpperCase","slice","ParallaxController","mouseScenes","scrollScenes","runMouseParallax","runScrollParallax","Parallax","scene","center","PartlyHiddenController","selectorClass","showMoreText","maxHeight","showText","showMoreLink","PolyfillController","polyfills","loaded","loadPolyfills","all","intersectionObserver","abortController","customEvent","smoothScroll","NodeList","prototype","Array","Element","matches","msMatchesSelector","webkitMatchesSelector","nodeType","arr","hasOwnProperty","defineProperty","configurable","enumerable","writable","argArr","call","docFrag","createDocumentFragment","argItem","isNode","Node","createTextNode","String","CharacterData","DocumentType","removeChild","Event","_typeof","params","bubbles","cancelable","evt","createEvent","initCustomEvent","Project","ProjectsOverviewController","viewProject","project","ShareController","autoInit","description","tagTitle","mobile","order","medias","whatsapp","enabled","icon","mobileOnly","facebook","linkedin","twitter","email","autoObtainDescription","autoObtainMobile","createShareButtons","metaDescription","ogDescription","metaTags","head","metaIndex","obtainTagTitle","list","renderIcon","bindEvents","link","open","screen","width","_gat","_gaq","ga","SliderController","sliders","initDoubleSlider","slider","slick","dots","infinite","autoplay","autoplaySpeed","slidesToShow","fade","prevArrow","nextArrow","appendDots","slidesPerRow","mobileFirst","responsive","breakpoint","rows","selectorName","$main","$small","mainSlider","mainPrevious","find","$mainSlider","$mainPrevious","$mainNext","$smallSlider","$smallPrevious","$smallNext","asNavFor","slidesToScroll","focusOnSelect","StribersOverviewController","striber","Tabs","TabsController","tabs","tabsElement","contents","updateHash","watchHashUpdates","selectedIndex","checkHash","getLinkFromHeader","setAllTabsInactive","setTabActive","hash","matchFound","Toast","ToastController","defaultTimeout","animationDuration","checkForToasts","_new","timeout","toast","types","success","warning","getObject","html","TooltipController","tooltip","tooltips","theme","maxWidth","CustomHTMLElement","_CustomHTMLElement","_inherits","properties","_callSuper","setProperties","_template","require","setTitle","_property","setAuthor","setUrl","setDate","setImage","setIsVideo","setLabelATitle","setOriginalPrice","setDiscountedPrice","setIsDiscounted","defaultProperties","HTMLID","_id","_html","_object","_properties","forceRenew","containerElement","substring","PagerElement","HomepagePagerElement","_PagerElement","assign","pagesArray","setPagesArray","pagesHtml","_get","_getPrototypeOf","_set","updateArray","setLikes","setTags","setCurrentPage","blur","setTotalPages","setPreviousUrl","setNextUrl","setLabelNext","setLabelOf","setLabelPreviousTitle","setLabelNextTitle","setViewProject","apply","beginWebPTest","_testingWebP","WebP","onload","onerror","setAttr","elem","className","tabIndex","useMap","is_blank","v","hyphenProp","val","getComputedStyle","getPropertyValue","currentStyle","b","c","parseFloat","temp","overflow","visibility","cssFloat","pixels","offsetWidth","nodesToArray","nodeList","array","visitor","mutator","injector","exec","q","qr","newq","elementWidth","previousSrc","previousPixelWidth","previousElement","devicePixelRatio","high_density","low_density","idealWidth","round","finalWidth","u","newSrc","_","k","zoom","isNaN","toFixed","ratio","maxwidth","h","maxheight","img","cssMaxWidth","imageWidth","delay","il","jl","kl","timeoutid","webp_waiting","stopwatch","newImages","n","ns","div","textContent","ai","attributes","specified","childImages","ci","totalImages","images","each","attr","parents","changed","readyCalled","removeEventListener","attachEvent","verbose","tryWebP","widthStep","jpegQuality","jpegRetinaQuality","webpTimeout","JournalOverviewController","headerController","mediaController","shareController"],"sourceRoot":""}