{"version":3,"file":"index.js","mappings":";;;;;;;;;;;AAAA;;;;;;;;;;;;;ACAA;;;;;;;;;;;ACAA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;;ACTA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,8CAA8C;AAC9C;AACA,6CAA6C;;AAE7C;;AAEA;AACA;AACA;;AAEA,wBAAwB,2BAA2B;;AAEnD;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,SAAS;;AAET;AACA;AACA,SAAS;;AAET;AACA;AACA,SAAS;;AAET;AACA;AACA,SAAS;AACT,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,SAAS;AACT;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,SAAS;AACT;AACA;AACA;;AAEA,gCAAgC,8BAA8B;AAC9D;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,+FAA+F,2CAA2C;;AAE1I;AACA,mGAAmG,2CAA2C;AAC9I,qBAAqB;;AAErB;AACA;;AAEA,aAAa;;AAEb;AACA,SAAS;AACT;AACA;;AAEA;AACA;AACA;AACA,oEAAoE,qCAAqC;;AAEzG;AACA,wEAAwE,qCAAqC;AAC7G,qBAAqB;AACrB;;AAEA;AACA;;AAEA;AACA,SAAS;AACT;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,wDAAwD,0CAA0C;AAClG,wDAAwD,0CAA0C;;AAElG;;AAEA;AACA;;AAEA;AACA,SAAS;AACT;AACA;;AAEA;AACA,mCAAmC,yBAAyB,gCAAgC,IAAI,QAAQ,IAAI,QAAQ,IAAI,QAAQ,IAAI,iCAAiC,GAAG;AACxK;AACA;;AAEA;AACA,0DAA0D,sCAAsC;AAChG,yDAAyD,sDAAsD;AAC/G;;AAEA;;AAEA;AACA;AACA;AACA,uFAAuF,kCAAkC,EAAE,oEAAoE;;AAE/L;AACA,6CAA6C,+CAA+C;AAC5F,6CAA6C,oDAAoD;AACjG;;AAEA;AACA,8EAA8E,2CAA2C;AACzH,SAAS;;AAET;AACA,MAAM;AACN;AACA,uFAAuF,kCAAkC,EAAE,oEAAoE;AAC/L,iDAAiD,gDAAgD;AACjG,iDAAiD,gDAAgD;;AAEjG;AACA,8EAA8E,2CAA2C;AACzH,SAAS;;AAET;AACA;;AAEA;AACA;;AAEA,+DAAe;AACf;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;;;;;;;;;;;;;;AChND;AACA;AACA;AACA;AACA;AACA;;AAE6B;AACiB;AACA;AACL;AACQ;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gDAAgD;AAChD;AACA,+CAA+C;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,QAAQ,kEAAe;;AAEvB;AACA;AACA;AACA,yBAAyB,mEAAgB;;AAEzC;AACA,YAAY,mEAAgB;AAC5B,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC,iEAAwB;AAC3D;AACA;AACA;AACA;AACA,iBAAiB,mEAA0B;AAC3C;AACA;AACA,eAAe;AACf;AACA;AACA;;AAEA,0DAA0D,gBAAgB;AAC1E,gBAAgB,uEAAa;;AAE7B;AACA;;AAEA;AACA,4FAA4F,kEAAkE,EAAE;AAChK,2CAA2C,kCAAkC;AAC7E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;;AAEA;AACA;;AAEA;AACA,wBAAwB,uEAAa;AACrC,kFAAkF,wCAAwC;AAC1H,kHAAkH,mDAAmD;AACrK,qGAAqG,sGAAsG;AAC3M,0GAA0G,SAAS,GAAG,8EAA8E;AACpM;AACA,qDAAqD,gDAAgD;AACrG,qBAAqB;;AAErB,iBAAiB;AACjB;AACA,iBAAiB;AACjB;AACA;AACA,cAAc;AACd,UAAU;AACV;AACA;AACA;AACA,8DAA8D,sCAAsC;AACpG,UAAU;;AAEV;AACA;AACA;AACA;AACA,uCAAuC,mEAAgB;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oCAAoC,kBAAkB;AACtD;AACA;AACA;AACA;AACA,4DAA4D,gBAAgB;AAC5E,yBAAyB,uEAAa;AACtC,sBAAsB,uBAAuB;AAC7C;AACA,cAAc;AACd;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,8CAA8C,iEAAwB;AACtE;;AAEA;AACA;AACA,wBAAwB,mEAA0B;;AAElD;AACA,sBAAsB;;AAEtB,wBAAwB,mEAAgB;AACxC;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,mIAAmI,mCAAmC;AACtK;AACA,gIAAgI,oDAAoD;AACpL,6EAA6E,+CAA+C;;AAE5H;AACA;AACA;AACA;AACA,yBAAyB;AACzB;;AAEA;AACA,sFAAsF,oDAAoD;AAC1I,wGAAwG,mDAAmD;AAC3J;AACA;AACA,6BAA6B;AAC7B;AACA,yBAAyB;AACzB;AACA,yBAAyB;;AAEzB,qBAAqB;AACrB,iBAAiB;;AAEjB,aAAa;AACb;AACA;AACA;AACA;AACA,iDAAiD,mDAAmD;AACpG,oBAAoB,uEAAa;AACjC,0DAA0D,gBAAgB;AAC1E,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA,uEAAuE,mDAAmD;AAC1H,wBAAwB,uEAAa;AACrC,+DAA+D,gBAAgB;AAC/E,qBAAqB;AACrB;AACA;AACA,wBAAwB,mEAAgB;AACxC;AACA,iBAAiB;AACjB;AACA;AACA,2EAA2E,iCAAiC;AAC5G,iBAAiB;AACjB;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA,kBAAkB;AAClB;AACA;AACA;AACA;AACA;AACA,2EAA2E;AAC3E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;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,cAAc;AACd,UAAU;;AAEV;;AAEA;AACA;;AAEA;AACA;AACA;AACA,sCAAsC,iEAAwB;AAC9D;;AAEA;AACA;AACA,oBAAoB,mEAA0B;;AAE9C;AACA,kBAAkB;;AAElB;AACA;AACA;;AAEA;AACA;AACA,4CAA4C,iEAAwB;;AAEpE;AACA;AACA;AACA;AACA;;AAEA,8DAA8D,gBAAgB;AAC9E,oBAAoB,uEAAa;;AAEjC;AACA;AACA;AACA;AACA,gGAAgG,kEAAkE,EAAE;AACpK,+CAA+C,kCAAkC;;AAEjF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;;AAEA;AACA;;AAEA;AACA,4BAA4B,uEAAa;AACzC,yFAAyF,uCAAuC;AAChI,sHAAsH,mDAAmD;AACzK,6GAA6G,sGAAsG;AACnN,kHAAkH,SAAS,GAAG,+DAA+D;AAC7L;AACA,sDAAsD,4DAA4D;AAClH,yBAAyB;;AAEzB,qBAAqB;AACrB;AACA,qBAAqB;;AAErB,iBAAiB;AACjB,aAAa,EAAE;;AAEf,SAAS;AACT;AACA;AACA;AACA,8DAA8D,sCAAsC;AACpG,UAAU;AACV;AACA,UAAU,EAAE;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC,uCAAuC,mCAAmC,IAAI;AACjH;AACA,qDAAqD,iCAAiC;AACtF,2CAA2C,+CAA+C;AAC1F,mDAAmD,UAAU,GAAG,gGAAgG;AAChK,+CAA+C,mCAAmC;AAClF,cAAc;AACd;AACA;AACA;AACA;AACA,4CAA4C,sFAAsF;AAClI,uCAAuC,mCAAmC;AAC1E,4CAA4C,+CAA+C;AAC3F,iDAAiD,gCAAgC;AACjF;AACA,+BAA+B,uCAAuC,oCAAoC,IAAI;AAC9G;AACA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB;AACnB;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB;AACtB;AACA,cAAc;AACd;AACA,WAAW;;AAEX;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B;AAC9B;AACA;AACA,yBAAyB;AACzB,qBAAqB;;AAErB,iBAAiB;AACjB;AACA,aAAa;;AAEb,SAAS;AACT;AACA,MAAM,EAAE;AACR;AACA,CAAC;;;;;;;;;;;;;;ACxfgB;;;;;;;;;;;;;ACAjB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,GAAG;AACd,WAAW,GAAG;AACd,WAAW,GAAG;AACd;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,qBAAqB;AACrB;;AAEA,wEAAwE;AACxE;;AAEA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd;AACA;AACA;AACA;AACA,mBAAmB;AACnB,+BAA+B;;AAE/B;AACA,mCAAmC;AACnC;;AAEA;AACA,EAAE;;AAEF,+DAAe;AACf;AACA;AACA,CAAC;;;;;;;;;;;;;;;;ACnDD;AACA;AACA;AACA;AACA;;AAEsB;AACE;;;;;;;;;;;ACPxB;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACLA;AACA;AACA;AACA;AACA;;AAEyC;;AAEzC;;AAEA;AACA;AACA;AACA;;AAEA,6CAA6C,mEAAgB;AAC7D;AACA;AACA;AACA;;AAEA,cAAc,mEAAgB;AAC9B,aAAa,mEAAgB;AAC7B,aAAa,mEAAgB;;AAE7B;AACA,YAAY,mEAAgB;AAC5B,YAAY,mEAAgB;AAC5B,YAAY,mEAAgB;AAC5B;AACA;;AAEA,SAAS;;AAET;AACA;AACA;AACA,gBAAgB,mEAAgB;AAChC,gBAAgB,mEAAgB;AAChC,gBAAgB,mEAAgB;AAChC;;AAEA;AACA,YAAY,mEAAgB;AAC5B,YAAY,mEAAgB;AAC5B,YAAY,mEAAgB;AAC5B;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA,yBAAyB,mEAAgB;AACzC,SAAS;;AAET;AACA;AACA,yBAAyB,mEAAgB;AACzC,SAAS;;AAET;AACA;AACA,yBAAyB,mEAAgB;AACzC,SAAS;;AAET,KAAK;;AAEL;;AAEA,+DAAe;AACf;AACA,CAAC;;;;;;;;;;ACxED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,oCAAoC,gCAAgC;AACpE,EAAE;AACF;;AAEA;AACA,wBAAwB,aAAa;AACrC,0CAA0C,4DAA4D;AACtG;;;AAGA;AACA;AACA,iBAAiB;AACjB,6BAA6B;;AAE7B;AACA,8BAA8B;AAC9B;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA,gBAAgB;AAChB;AACA,sEAAsE;AACtE,GAAG;;AAEH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,MAAM;AACN;AACA,IAAI,EAAE;AACN,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,MAAM;AACN;AACA,IAAI,EAAE;AACN,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,MAAM;AACN;AACA;AACA,0BAA0B;AAC1B;AACA,IAAI,EAAE;AACN,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,6CAA6C,kBAAkB;AAC/D;AACA;AACA;AACA,MAAM;AACN;AACA,IAAI,EAAE;AACN,GAAG;;AAEH,GAAG;;AAEH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;;AAEJ;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;;AAEA;AACA,kCAAkC,+BAA+B;AACjE;AACA;AACA;AACA,kCAAkC,6BAA6B;AAC/D;AACA,GAAG;;AAEH,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,iBAAiB;AACnC;AACA,GAAG;AACH,GAAG;;AAEH;AACA;;AAEA;AACA;AACA,qCAAqC,gDAAgD;AACrF;AACA;AACA;AACA;AACA,qCAAqC,kDAAkD;AACvF;AACA,IAAI;AACJ;AACA;AACA,qCAAqC,4CAA4C;AACjF,IAAI;AACJ,GAAG;;AAEH,GAAG;;AAEH;;AAEA;AACA,sCAAsC,qDAAqD;AAC3F;AACA;AACA;AACA,qCAAqC,oDAAoD;AACzF;AACA;;AAEA;AACA;AACA;AACA,wCAAwC,yBAAyB;AACjE,8EAA8E,gDAAgD;;AAE9H;AACA,6CAA6C,gBAAgB;AAC7D;AACA;AACA,+EAA+E,kEAAkE;AACjJ;AACA;AACA,+EAA+E,mDAAmD;AAClI;AACA;AACA;AACA,GAAG;;AAEH,kBAAkB;;AAElB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,6BAA6B,YAAY,iCAAiC,wBAAwB;AAClG;AACA;AACA;AACA,WAAW;;AAEX;AACA,MAAM;AACN;AACA,KAAK;AACL,IAAI;;AAEJ,GAAG;;AAEH;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,qCAAqC,YAAY;;AAEjD;;AAEA;AACA,UAAU,oBAAoB;AAC9B,UAAU;AACV;AACA;AACA;;AAEA,yCAAyC,oBAAoB,IAAI,kBAAkB;AACnF,8BAA8B,mBAAmB;AACjD,IAAI;;AAEJ,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,KAAK;AACL,IAAI;AACJ;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,GAAG;;AAEH;;AAEA;AACA,+BAA+B,sBAAsB,IAAI,iDAAiD;AAC1G,GAAG;;AAEH,EAAE,EAAE;;AAEJ,CAAC;;;;;;;;;;;;;;;;;;;;AC1WD;AACA;AACA;;AAEkB;AACO;AACJ;AACC;AACL;;;;;;;;;;;;;;;;;;;;;;;;ACRjB;AACA;AACA;AACA;AACA;;AAEuB;AACN;AACa;AACR;AACL;AACA;AACjB;AACA;;;;;;;;;;ACbA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA,0BAA0B,sDAAsD;AAChF,2CAA2C,8BAA8B;AACzE,uGAAuG,sDAAsD;AAC7J,kCAAkC,iCAAiC;AACnE;AACA;AACA,kCAAkC,gCAAgC;AAClE,0CAA0C,mCAAmC;AAC7E,uGAAuG,uDAAuD;AAC9J,0BAA0B,oDAAoD;AAC9E;AACA;AACA,GAAG;;AAEH,EAAE,GAAG;AACL,CAAC;;;;;;;;;;;;;AC5BD;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA,+BAA+B,qDAAqD;AACpF;AACA,GAAG;AACH,+BAA+B,oDAAoD;AACnF;AACA;AACA;;AAEA,CAAC,+DAAe;AAChB;AACA,CAAC,EAAC;;;;;;;;;;;ACpBF;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;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;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAY,QAAQ;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAY,QAAQ;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,QAAQ;AACpB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,SAAS,2BAA2B;AACpC;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA,CAAC;;;;;;;;;;;ACzHD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAY,QAAQ;AACpB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;AC5FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ,GAAG;AACH,EAAE;AACF,CAAC;;;;;;;;;;;ACjCD;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,EAAE;;AAEF;AACA;AACA;AACA;AACA;AACA,YAAY,QAAQ;AACpB;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA,CAAC;;;;;;;;;;;ACjCD;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;ACPA;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA,eAAe,4BAA4B;WAC3C,eAAe;WACf,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA,8CAA8C;;;;;WCA9C;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;;;;;;;;;;;ACNA;AACA;;AAE8B;AACH;AACP;;AAEpB","sources":["webpack://prophet_asia/./src/scss/index.scss?c669","webpack://prophet_asia/./src/scss/tailwind.scss?88cc","webpack://prophet_asia/./src/js/acf-blocks/index.js","webpack://prophet_asia/./src/js/forms/form-method.js","webpack://prophet_asia/./src/js/forms/forms.js","webpack://prophet_asia/./src/js/forms/index.js","webpack://prophet_asia/./src/js/global/cookie.js","webpack://prophet_asia/./src/js/global/index.js","webpack://prophet_asia/./src/js/global/js-enabled.js","webpack://prophet_asia/./src/js/global/utm-params.js","webpack://prophet_asia/./src/js/global/window-ready.js","webpack://prophet_asia/./src/js/index.js","webpack://prophet_asia/./src/js/template-tags/index.js","webpack://prophet_asia/./src/js/template-tags/mobile-menu.js","webpack://prophet_asia/./src/js/template-tags/modal.js","webpack://prophet_asia/./src/js/template-tags/navigation-primary.js","webpack://prophet_asia/./src/js/template-tags/off-canvas.js","webpack://prophet_asia/./src/js/template-tags/table.js","webpack://prophet_asia/./src/js/template-tags/video.js","webpack://prophet_asia/./src/js/templates/index.js","webpack://prophet_asia/external window \"jQuery\"","webpack://prophet_asia/webpack/bootstrap","webpack://prophet_asia/webpack/runtime/compat get default export","webpack://prophet_asia/webpack/runtime/define property getters","webpack://prophet_asia/webpack/runtime/hasOwnProperty shorthand","webpack://prophet_asia/webpack/runtime/make namespace object","webpack://prophet_asia/./src/index.js"],"sourcesContent":["// extracted by mini-css-extract-plugin\nexport {};","// extracted by mini-css-extract-plugin\nexport {};","/**\n * Gutenberg Block JS\n *\n * Import JS for Gutenberg blocks.\n */\n\n// Custom Gutenberg Blocks.\n// import './carousel/index';\n// import './tabs/index';\n// import './questionnaire/index';\n","let $ = jQuery;\nlet $window = $(window);\n\nlet phone \t\t = 650;\nlet portrait \t = 768;\nlet landscape \t = 1024;\nlet desktop \t = 1500;\nlet widescreen \t = 2160;\nlet windowHeight = window.innerHeight; //get height of the window\nlet windowHalfHeight = window.innerHeight / 2;\nlet windowWidth = window.innerWidth; //get width of window\n\nlet rgxWhiteSpace = /\\s/;\n\nfunction checkForm(form_name, fields){\n let field_list = fields;\n let valid_fields = false;\n\n for (let index = 0; index < field_list.length; index++) {\n\n if ( field_list[index].indexOf('first_name') !== -1 ||\n field_list[index].indexOf('last_name') !== -1 ){\n valid_fields = addValidation(form_name).name(field_list[index]);\n }// if\n\n if ( field_list[index].indexOf('email') !== -1 ){\n valid_fields = addValidation(form_name).email(field_list[index]);\n }// if\n\n if ( field_list[index].indexOf('inquiry_type') !== -1 ||\n field_list[index].indexOf('seniority') !== -1 ||\n field_list[index].indexOf('job_function') !== -1 ||\n field_list[index].indexOf('country') !== -1 ||\n field_list[index].indexOf('state_province') !== -1 ||\n field_list[index].indexOf('company') !== -1 ||\n field_list[index].indexOf('title') !== -1 ||\n field_list[index].indexOf('message') !== -1 ||\n field_list[index].indexOf('referral') !== -1 ||\n field_list[index].indexOf('referral_details') !== -1 ||\n field_list[index].indexOf('phase_question') !== -1 ){\n\n valid_fields = addValidation(form_name).defaultText(field_list[index]);\n }// if\n\n if ( field_list[index].indexOf('radio-button') !== -1 ){\n valid_fields = addValidation(form_name).radioButton(field_list[index]);\n }// if\n\n if ( field_list[index].indexOf('file_attachment') !== -1 ){\n valid_fields = addValidation(form_name).fileAttachment(field_list[index]);\n }// if\n\n if ( !valid_fields ){\n break;\n }// if\n }// for\n\n return valid_fields;\n};\n\nfunction addValidation(form_name){\n return {\n name: (id_name) => {\n\n let name = $(form_name).find('#'+id_name);\n let split_text = $(name).val().split('');\n\n // Invalid when white space is found at the beginning of the text\n if ( split_text[0] == ' ' || $(name).val().length < 1){\n // console.log('name ', name);\n invalidField(name);\n\n return false;\n }\n\n return true;\n },\n email: (id_name) =>{\n let email = $(form_name).find('#'+id_name);\n\n if ( !validateEmail( $(email).val() ) ){\n // console.log('email');\n invalidField(email);\n\n return false;\n }\n\n return true;\n },\n radioButton: (name) =>{\n let radio_buttons = $(form_name).find('#'+name).find('input[type=\"radio\"]');\n let radio_button_checked = 0;\n\n for (let index = 0; index < radio_buttons.length; index++) {\n // console.log('radio_buttons ', radio_buttons[index]);\n\n if ( !$(radio_buttons[index]).prop('checked') ){\n /* Increment if radio button isn't checked */\n radio_button_checked++;\n }\n\n /* if radio_button_checked equals to the total of radio button there is in the form then display error message */\n if ( radio_buttons.length == radio_button_checked ){\n\n TweenMax.to( $(form_name).find('#'+name).find('.radio-content span'), .4, {borderColor: '#f00', ease: Power3.easeOut} );\n\n setTimeout(function(){\n TweenMax.to( $(form_name).find('#'+name).find('.radio-content span'), .4, {borderColor: '#000', ease: Power3.easeOut} );\n }, 5000);\n\n return false;\n }\n\n }// for\n\n return true;\n },\n fileAttachment: (id_name) =>{\n let file_attachment = $(form_name).find('#'+id_name);\n\n if ( !$(file_attachment).val() ){\n // console.log('file_attachment ', file_attachment);\n if ( $(file_attachment).prop('id').indexOf('1') !== -1 ){\n TweenMax.to( $(file_attachment).parent(), .4, { color: '#f00', ease: Power3.easeOut} );\n\n setTimeout(function(){\n TweenMax.to( $(file_attachment).parent(), .4, { color: '#000', ease: Power3.easeOut} );\n }, 5000);\n }\n\n return false;\n }\n\n return true;\n },\n defaultText: (id_name) => {\n // Any field with the greater value length of 2\n let default_text = $(form_name).find('#'+id_name);\n let split_text = $(default_text).val().split('');\n\n // Invalid when white space is found at the beginning of the text and 2 should never be changed to any other number or validation will fail\n if ( split_text[0] == ' ' || $(default_text).val().length < 2 ){\n // console.log('default_text ', default_text);\n invalidField(default_text);\n\n let default_text_fail = new TimelineLite()\n .add(TweenMax.to(default_text, .4, {borderColor: '#f00', ease: Power3.easeOut}, '-=0.4'))\n .add(TweenMax.to(default_text, .4, {borderColor: '#000', ease: Power3.easeOut}, '+=1'));\n\n default_text_fail.play();\n\n return false;\n }\n\n return true;\n },\n };\n}\n\nfunction validateEmail(email) {\n let regExp = /^(([^<>()[\\]\\\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n return regExp.test(email); \n}\n\nfunction invalidField(field){\n TweenMax.to( $(field).siblings('.bottom-line'), .5, { width: '100%', ease: Power3.easeOut } );\n TweenMax.to( $(field).siblings('.bottom-line'), 0, { borderBottom: '1px solid red', ease: Power3.easeOut } );\n}\n\nfunction failMessage(submit_button, dark_mode=false) {\n\n // For forms with black layout\n if ( dark_mode ){\n let dark_button_fail = new TimelineLite()\n .add(TweenMax.fromTo( $(submit_button).siblings('.required-message'), .4, {y: '-20px', bottom: 0, opacity: 1},{y: '0px', opacity: 1, left: 0, ease: Elastic.easeOut.config(1, 0.2)}));\n\n if ( windowWidth <= phone ) {\n TweenMax.to(submit_button, .4, { backgroundColor: '#f00', ease: Power3.easeOut });\n TweenMax.to(submit_button, .4, { backgroundColor: color_green, ease: Power3.easeOut }).delay(.4);\n }\n\n setTimeout(function(){\n TweenMax.to( $(submit_button).siblings('.required-message'), .4, {opacity: 0, bottom: 0, ease: Power3.easeIn});\n }, 5000);\n\n dark_button_fail.play();\n } else {\n let button_fail = new TimelineLite()\n .add(TweenMax.fromTo( $(submit_button).siblings('.required-message'), .4, {y: '-20px', bottom: 0, opacity: 1},{y: '0px', opacity: 1, left: 0, ease: Elastic.easeOut.config(1, 0.2)})) \n .add(TweenMax.to(submit_button, .4, {backgroundColor: '#ff0000', ease: Power3.easeIn}, '-=0.4'))\n .add(TweenMax.to(submit_button, .4, {backgroundColor: '#22ffab', ease: Power3.easeIn}, '+=1'));\n\n setTimeout(function(){\n TweenMax.to( $(submit_button).siblings('.required-message'), .4, {opacity: 0, bottom: 0, ease: Power3.easeIn});\n }, 5000);\n\n button_fail.play();\n }\n\n return false;\n}\n\nexport default {\n checkForm: checkForm,\n addValidation: addValidation,\n validateEmail: validateEmail,\n invalidField: invalidField,\n failMessage: failMessage\n};","/**\n * Gutenberg Block JS\n *\n * Import JS for forms\n *\n */\n\nimport { css } from 'jquery';\nimport FormSubmission from './form-method.js';\nimport Modal from '../template-tags/modal.js';\nimport Cookie from '../global/cookie.js';\nimport ProphetUTM from '../global/utm-params.js';\n \n(function ($){\n \n let isTouch = 'ontouchstart' in document.documentElement;\n \n if ( !isTouch ){\n 'use strict';\n }\n \n let $window = $(window);\n let mobile;\n let gray200 = '#9CA3AF';\n \n let phone \t\t= 670;\n let portrait \t= 768;\n let landscape \t= 1024;\n let desktop \t= 1500;\n let widescreen \t= 2160;\n \n let windowHeight = window.innerHeight; //get height of the window\n let windowHalfHeight = window.innerHeight / 2;\n let windowWidth = window.innerWidth; //get width of window\n \n const iPadAgent = navigator.userAgent.match(/iPad/i) \t\t!= null;\n const iPodAgent = navigator.userAgent.match(/iPhone/i) \t\t!= null;\n const AndroidAgent = navigator.userAgent.match(/Android/i) \t!= null;\n const webOSAgent = navigator.userAgent.match(/webOS/i) \t\t!= null;\n \n \n /** Check to see if screen is mobile **/\n if (iPadAgent || iPodAgent || AndroidAgent || webOSAgent || windowWidth <= phone) {\n $('body').addClass('mobile');\n mobile = true;\n } else {\n mobile = false;\n }\n \n //===========================\n // DOM is \"ready\"\n // ===========================\n $(function() {\n\n /**\n * Set/Get UTM parameters to hidden field forms.\n */\n ProphetUTM.form();\n\n /**\n * Set/Get referrer to cookie.\n */\n const referrer = Cookie.getCookie( 'p_referrer' );\n\n if ( !referrer && document.referrer.length > 0 ) {\n Cookie.setCookie( 'p_referrer', document.referrer, 1, '/');\n }// if\n \n //===========================\n // BLOCK - CONTACT AUTHOR FORM\n //===========================\n $('.form-contact-author').on('submit', function(evt){\n evt.preventDefault();\n \n let _this_form = this;\n let validate_fields = [ 'email', 'message'];\n let valid_form = FormSubmission.checkForm(_this_form, validate_fields);\n let connect_submit = $(_this_form).find('.connect-submit-btn');\n \n if ( !valid_form ){\n console.log('form contact author not valid');\n FormSubmission.failMessage(connect_submit);\n \n return false;\n } else {\n \n // Disable submit button until page gets redirected\n connect_submit.disabled = true;\n\n gsap.to($( 'body > .modalOverlay'), .4, { 'z-index': 998} );\n Modal.overLay('show');\n\n document.querySelector('body').style.overflow = 'hidden';\n document.querySelector('.form-container.contact-author-block').style.transform = 'inherit';\n\n $('body > .modalOverlay').find('.circle-arrows').addClass('animate-spin');\n gsap.to( $('body > .modalOverlay').find('.loading-circle-container'), .3, { display: 'flex', opacity: 1, zIndex: '999', ease: Power3.easeIn } );// Displaying loading icon\n gsap.to( _this_form, .6, { opacity: 0, ease: Power3.easeIn } ).delay(.6);\n \n \n const FORM_HANDLER_URL = '/process/form-contact-author.php' \n let form_data = {\n 'email'\t\t\t : _this_form.querySelector('#email').value,\n 'message'\t\t : _this_form.querySelector('#message').value,\n 'send_to'\t\t\t : _this_form.querySelector('#send-to').value,\n 'utm_source' : _this_form.querySelector('.utm_source').value,\n 'utm_medium' : _this_form.querySelector('.utm_medium').value,\n 'utm_campaign' : _this_form.querySelector('.utm_campaign').value\n };\n\n $.ajax({\n method: 'POST',\n url: FORM_HANDLER_URL,\n data: form_data,\n }).done((data, status) => {\n // console.log('data ', JSON.parse(data) );\n\n // alert('Thank you. Your submission was successful and you will now be redirected.');\n _this_form.querySelector('#email').value = '';\n\n setTimeout(() => {\n Modal.overLay('hide');\n gsap.to( $('.form-container.contact-author-block'), .6, { height: '270px', ease: Power3.easeOut } )\n gsap.to( [$('body > .modalOverlay').find('.loading-circle-container'), _this_form], .4, { display: 'none', opacity: 0, ease: Power3.easeIn } );\n gsap.to( $('.form-container.contact-author-block .success-container'), .4, { display: 'flex', opacity: 1, width: '100%', height: '100%', bottom: 0, left: 0, ease: Power3.easeIn } ).delay(.6);\n gsap.fromTo( $('.form-container.contact-author-block .cta-success-message'), .4, {scale: 0},{ scale: 1, color: '#fff', display: 'block', opacity: 1, ease: Power3.easeOut } ).delay(.8);\n document.querySelector('body').style.overflow = 'scroll';\n // gsap.to( $(window), .6, { scrollTo: '#contact-form', ease: Power3.easeIn });\n }, 1000);\n\n }).fail(function (jqXHR, textStatus) {\n console.log('textStatus: ', textStatus);\n });\n \n \n }// if / else\n });\n \n $('.form-contact-author select, .form-contact-author input, .form-contact-author textarea').on('focus', function(){\n // $(this).addClass('focus-on');\n gsap.to( $(this).siblings('.bottom-line'), .4, { width: '0%', ease: Power3.easeInOut } );\n });\n\n //===========================\n // SUBSCRIBE POPUP FORM\n //===========================\n let subscribePopupSetTimeout;\n let disablePopUpCookie = Cookie.getCookie('disable_subscribe_popup_all_directories');\n let displayPopUpForm \t\t= $('.subscribe-form-popup').data('enable_subscribe_popup');\n let popUpTimer = $('.subscribe-form-popup').data('popup_timer');\n let subPopUpForm \t\t\t= $('.subscribe-form-popup');\n let currentPageUrl \t\t\t= window.location.href;\n \n if ( currentPageUrl.indexOf('connect') == -1 && currentPageUrl.indexOf('subscribe') == -1 ) {\n //Check the disable/enable cookie and popUp\n if ( disablePopUpCookie !== \"1\" && displayPopUpForm === 1 ){\n \n if (!popUpTimer) { popUpTimer = 1; } //if timer is not set the default time is 1 min\n \n if ( displayPopUpForm ){ \n subscribePopupSetTimeout = window.setTimeout(function () {\n subPopUpForm.fadeToggle();\n gsap.to($( '.modalOverlay'), .4, { 'z-index': 998} );\n Modal.overLay('show');\n }, 10000 * popUpTimer );// 1 min. * popUpTimer\n }\n }// if\n \n const popSubForm = document.getElementById('popup-sub-form');\n\n if ( popSubForm ) {\n\n popSubForm.addEventListener( 'submit', ( evt ) => {\n evt.preventDefault();\n let _this_form = evt.target;\n let validate_fields = ['popup-country', 'email'];\n let valid_form = FormSubmission.checkForm(_this_form, validate_fields);\n let subscribe_submit = $(_this_form).children('.subscribe-button')[0];\n\n if ( !valid_form ){\n // console.log('#popup-sub-form not valid');\n FormSubmission.failMessage(subscribe_submit);\n\n return false;\n } else {\n\n Cookie.setCookie(\"disable_subscribe_popup_all_directories\", \"1\", 5000, \"/\");\n const FORM_HANDLER_URL = '/process/form-subscribe-popup.php';\n let guide_page = false;\n\n if ( $('#popup-sub-form #guide_subscribe_popup').length > 0 ){\n guide_page = true;\n }\n\n let form_data = {\n 'theme' : $('#popup-sub-form .theme').val(),\n 'email' : $('#popup-sub-form #email').val(),\n 'country' : $('#popup-sub-form #popup-country').val(),\n 'page_title' : $('#popup-sub-form #subscribe_popup_page_title').val(),\n 'site_language' : $('#popup-sub-form .site_language').val(),\n 'utm_source' : _this_form.querySelector('.utm_source').value,\n 'utm_medium' : _this_form.querySelector('.utm_medium').value,\n 'utm_campaign' : _this_form.querySelector('.utm_campaign').value\n };\n\n // Transition of load/success content after submit\n gsap.to([$(_this_form).parent('.subscribe-form-wrapper'), '.subscribe-form-popup .no-show-wrapper'], .4, { opacity: 0, ease: Power3.easeOut } );\n // Spin Circle\n gsap.to(['.subscribe-form-popup .wrapper-circle-arrows', '.subscribe-form-popup .circle-arrows'], .4, { display: 'block', opacity: 1, ease: Power3.easeIn } );\n gsap.to('.subscribe-form-popup .circle-arrows', 1, { rotation:360, ease:Linear.easeNone, repeat:-1} );\n\n $.ajax({\n method: 'POST',\n url: FORM_HANDLER_URL,\n data: form_data,\n }).done((data, status) =>{\n console.log('data ', JSON.parse(data) );\n\n setTimeout(() => {\n gsap.to('.subscribe-form-popup .circle-arrows', .4, { display: 'none', opacity: 0, ease: Power3.easeOut } );\n gsap.to('.subscribe-form-popup .subscribe-popup-success-message', .4, { display: 'flex', opacity: 1, ease: Power3.easeIn } );\n // Remove spinning Circle\n $('.subscribe-form-popup .circle-arrows').remove();\n }, 1000);\n \n }).fail(function (jqXHR, textStatus) {\n console.log('textStatus: ', textStatus);\n });\n\n }// if - else\n });\n\n }// if\n \n if ($('.subscribe-form-popup').length > 0) {\n $('.subscribe-form-popup .close').on('click', function(e) {\n subPopUpForm.fadeOut();\n gsap.to( subPopUpForm, .4, { opacity: 0, display: 'none', ease: Power3.easeOut });\n Modal.overLay('hide');\n // gsap.to($( '.modalOverlay'), .4, { 'z-index': 451} );\n });\n \n document.querySelector('.subscribe-form-popup .no-show-checkbox').addEventListener('click', (evt) => {\n let isChecked = document.querySelector('.no-show-checkbox').checked;\n \n setTimeout(() => {\n TweenMax.to( $('.subscribe-form-popup'), .4, { opacity: 0, display: 'none', ease: Power3.easeOut });\n Modal.overLay('hide');\n TweenMax.to($( '.modalOverlay'), .4, { 'z-index': 451} );\n }, 1000);\n \n if ( isChecked ) {\n Cookie.setCookie(\"disable_subscribe_popup_all_directories\", \"1\", 5000, \"/\");\n }\n });\n \n $('#popup-sub-form input, #popup-sub-form select').on('focus', function(){\n gsap.to( $(this).siblings('.bottom-line.trans'), .4, { width: 0, ease: Power3.easeOut } );\n })\n }\n \n \n }// if !connect || !subscribe\n \n // FILE SIZE VALIDATION\n $('.career-application-block .file_attachment').on('change', function(e) {\n var files \t\t\t = this.files;\n var file_size \t\t = files[0].size;\n var file_name\t\t = files[0].name;\n var $file_placeholder = $(this).siblings( '.file-placeholder-text' );\n var $file_content \t = $(this).siblings( '.total-file' );\n var $clear_button\t = $(this).prev( '.clear-btn' );\n \n if ( file_size > 3145728 ){\n // console.log((file_size/1048576).toFixed(1) + ' MB');\n alert('File size exceeds 3MB');\n // Reset file input from containing large file that exceed the limit\n $(this).wrap('
').closest('form').get(0).reset();\n $(this).unwrap();\n } else {\n if ( windowWidth <= portrait ){\n var max_length = 8;\n var str_length = 8;\n }else{\n var max_length = 24;\n var str_length = 24;\n }\n // if file name contains more than the max legnth of string in it, need to trim file name\n if ( file_name.length > max_length ){\n var trimmed_file = file_name.substring(0, str_length);// File name will be trimmed to the str_lenght depending on window width\n \n file_name = trimmed_file + '...' + getFileExtension(file_name);\n }\n \n $file_content.html(file_name);\n // Disable field once file has been uploaded\n $(this).prop('disabled', true);\n $(this).prev().css('cursor', 'default');\n $clear_button.css('display', 'flex');\n $file_placeholder.hide();\n }\n \n });\n \n // Get the extension of the uploaded file\n function getFileExtension(fileName) {\n return fileName.slice((fileName.lastIndexOf(\".\") - 1 >>> 0) + 2);\n }\n \n //Clear uploaded file from input field\n $('.career-application-block .clear-btn').on('click', function(evt) {\n var input_field = $( '#'+$(this).parent().attr('for') );\n var input_label = $(this).parent();\n var clear_file_name = $(this).prev();\n var $file_placeholder = $(this).siblings( '.file-placeholder-text' );\n var $clear_button = $(this);\n // Clear existing file name\n clear_file_name.html('');\n $clear_button.css('display', 'none');\n $file_placeholder.show();\n // Reset file input from containing file\n input_field.wrap('').closest('form').get(0).reset();\n input_field.unwrap();\n // Without setTimeout, input['file'] is triggered right away when existing file is cleared.\n // So setTimeout prevents the triggering, it should only trigger when user decides to upload a file.\n setTimeout(function() {\n input_field.prop('disabled', false);\n input_label.css('cursor', 'pointer');\n }, 1000);\n });\n\n const formApplication = document.getElementById('form-application');\n\n if ( formApplication ) {\n formApplication.addEventListener( 'submit', ( evt ) => {\n\n evt.preventDefault();\n let _this_form = evt.target;\n let validate_fields = ['first_name', 'last_name', 'applicant_email', 'file_attachment_1'];\n let valid_form = FormSubmission.checkForm(_this_form, validate_fields);\n let submit_button = $(_this_form).find('.connect-submit-btn');\n\n if ( !valid_form ){ \n // console.log('Career application form not valid');\n FormSubmission.failMessage(submit_button);\n\n return false;\n } else {\n\n // Make sure input file fields are not diabled, or files wont be submitted\n $('#file_attachment_1').prop('disabled', false);\n $('#file_attachment_2').prop('disabled', false);\n\n let FORM_HANDLER_URL = '/process/form-application-handler.php';\n let formData = new FormData(_this_form);\n let file_2_empty \t = FormSubmission.checkForm(_this_form, ['file_attachment_2']);\n\n // Removes input#file_attachment_2 from formData, so it wont submitting an empty value \n if ( !file_2_empty ){\n // console.log('file_2_empty');\n formData.delete('file_attachment_2');\n }\n\n gsap.to($( 'body > .modalOverlay'), .4, { 'z-index': 998} );\n Modal.overLay('show');\n\n document.querySelector('body').style.overflow = 'hidden';\n document.querySelector('.form-container.career-application-block').style.transform = 'inherit';\n \n $('body > .modalOverlay').find('.circle-arrows').addClass('animate-spin');\n gsap.to( $('body > .modalOverlay').find('.loading-circle-container'), .3, { display: 'flex', opacity: 1, zIndex: '999', ease: Power3.easeIn } );// Displaying loading icon\n gsap.to( _this_form, .6, { opacity: 0, ease: Power3.easeIn } ).delay(.6);\n\n $.ajax({\n url: FORM_HANDLER_URL,\n type: 'POST',\n data: formData,\n mimeTypes: 'multipart/form-data',\n contentType: false,\n cache: false,\n processData: false,\n }).done((data, status) =>{\n // console.log('data ', JSON.parse(data) );\n\n // Clear form fields;\n $('#form-application').trigger('reset');\n\n setTimeout(() => {\n Modal.overLay('hide');\n gsap.to( $('.form-container.career-application-block'), .6, {height: '270px', ease: Power3.easeOut} )\n gsap.to( [$('body > .modalOverlay').find('.loading-circle-container'), _this_form], .4, { display: 'none', opacity: 0, ease: Power3.easeIn } );\n gsap.to( $('.form-container.career-application-block .success-container'), .4, { display: 'flex', opacity: 1, width: '100%', height: '100%', bottom: 0, left: 0, ease: Power3.easeIn } ).delay(.6);\n gsap.fromTo( $('.form-container.career-application-block .cta-success-message'), .4, {scale: 0},{ scale: 1, display: 'block', opacity: 1, ease: Power3.easeOut } ).delay(.8);\n document.querySelector('body').style.overflow = 'scroll';\n gsap.to( $(window), .6, { scrollTo: '.career-application-block', ease: Power3.easeIn });\n }, 1000);\n\n }).fail(function (jqXHR, textStatus) {\n console.log('textStatus: ', textStatus);\n });\n\n }// if - else\n });// Form Application Submit\n\n }// if\n \n $('#form-application input').on('focus', function(){\n // $(this).addClass('focus-on');\n gsap.to( $(this).siblings('.bottom-line'), .4, { width: '0%', ease: Power3.easeInOut } );\n }).on('focusout', function(){\n // $(this).removeClass('focus-on');\n });//focusout\n \n //===========================\n // COMMENTS\n //===========================\n if ( $('html').attr('lang') == 'de-DE' && $('body.single') ) {\n $('#comments h3.comment-reply-title').text('Schreiben Sie einen Kommentar');\n $('#comments .comment-form p.comment-notes').text('Ihre E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert. ');\n $('#comments .form-submit .submit').attr('value', 'Kommentar abschicken');\n }\n \n //===========================\n // SEARCH FORM\n //===========================\n let searchIcon = document.querySelector('.icon-search');\n let closeIcon = searchIcon.nextElementSibling;\n let searchForm = document.querySelector('.search-form');\n \n if ( searchForm ) {\n \n searchIcon.addEventListener( 'click', (evt) => {\n let _this = evt.currentTarget;\n \n if (mobile) { gsap.to( '.custom-logo-link img', .4, {width: '75%', ease: Power3.easeOut}); }//hide logo\n \n gsap.to( '#language-menu', .3, {opacity: 0, ease: Power3.easeOut});\n gsap.to( _this, .3, { opacity: 0, zIndex: -1, ease: Power3.easeOut } );\n gsap.fromTo( searchForm, .3, {width: 0 },{ opacity: 1, zIndex: 1, width: '100%', right: 0, display: 'inline-block', ease: Power3.easeOut } ).delay(.1);\n gsap.to( closeIcon, .3, { opacity: 1, ease: Power3.easeOut } ).delay(.1);\n });\n \n closeIcon.addEventListener( 'click', (evt) => {\n let _this = evt.currentTarget;\n \n gsap.to( searchForm, .3, { opacity: 0, width: 0, zIndex: -1, right: -20, display: 'none', ease: Power3.easeOut } );\n gsap.to( _this, .3, { opacity: 0, ease: Power3.easeOut } );\n gsap.to( searchIcon, .3, { opacity: 1, zIndex: 20, ease: Power3.easeOut } ).delay(.1);\n gsap.to( '#language-menu', .3, {opacity: 1, ease: Power3.easeIn}).delay(.1);\n \n if (mobile) { gsap.to( '.custom-logo-link img', .3, {width: '100%', ease: Power3.easeOut}); }//show logo\n \n });\n \n searchForm.addEventListener( 'submit', (evt) => {\n let _this_form = this;\n let searchField = _this_form.querySelector('.search-field');\n \n if ( searchField.value.length > 1 ) {\n \n } else {\n evt.preventDefault();\n console.log('error');\n searchField.style.borderBottomColor = '#f00';\n \n setTimeout(() => {\n searchField.style.borderBottomColor = '#fff';\n }, 400 );\n }\n })\n \n } // if searchForm\n\n let allForms = document.querySelectorAll('.form-wrapper form');\n\n if ( allForms.length > 0 ) {\n\n allForms.forEach( form => {\n let allSelectField = form.querySelectorAll('select');\n\n if ( allSelectField.length > 0 ) {\n\n allSelectField.forEach( select => {\n // Set text color to white when a dropdown item is selected.\n select.addEventListener('change', ( evt ) => {\n const _this = evt.target;\n const selectedValue = _this.value;\n \n if ( selectedValue ) {\n _this.style.color = '#FFF';\n } else {\n _this.style.color = '';\n }\n }); \n });\n\n }// if \n \n });\n\n }// if allForms\n \n });// document is \"ready\"\n \n}( jQuery ));\n","import './forms';\n","/**\n *\n * JS Cookies\n * \n */\n\n/**\n * Set Cookie\n * Redundant code, need to consolidate with master.js function()\n * \n * @param {*} name \n * @param {*} value \n * @param {*} days \n * @param {*} path \n * @returns \n */\nlet setCookie = (name, value, days, path) => {\n let expires = \"\";\n\n if ( days ) {\n let date = new Date();\n\n date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n expires = \"; expires=\" + date.toUTCString();\n }\n\n return document.cookie = name + \"=\" + (value || \"\") + expires + \"; path=\"+path;\n}\n\n/**\n * Get Cookie\n * Redundant code, need to consolidate with master.js function()\n * \n * @param {*} name \n * @returns \n */\nlet getCookie = (name) => {\n //Get cookie by name\n let value = \"; \" + document.cookie;\n let parts = value.split(\"; \" + name + \"=\");\n\n if ( parts.length == 2 ) {\n return parts.pop().split(\";\").shift();\n }\n\n return false;\n};// getCookie\n\nexport default {\n setCookie: setCookie,\n getCookie: getCookie,\n};","/**\n * Global JS\n *\n * Import JS that applies globally.\n */\n\nimport './js-enabled';\nimport './window-ready';\n","/**\n * File js-enabled.js\n *\n * If Javascript is enabled, replace the class \"no-js\".\n */\ndocument.body.className = document.body.className.replace('no-js', 'js');\n","/**\n *\n * UTM Parameter\n *\n */\n\nimport Cookie from '../global/cookie.js';\n\nlet form = () => {\n\n /**\n * Get utm params from URL \n */\n const searchUrlParams = window.location.search;\n\n if ( searchUrlParams.includes('utm_') || Cookie.getCookie( 'p_utm_source' ) ) {\n const urlParams = new URLSearchParams( searchUrlParams );\n let utm_source_ele = document.querySelectorAll('.utm_source');\n let utm_medium_ele = document.querySelectorAll('.utm_medium');\n let utm_campaign_ele = document.querySelectorAll('.utm_campaign');\n\n if ( !Cookie.getCookie( 'p_utm_source' ) && \n !Cookie.getCookie( 'p_utm_medium' ) && \n !Cookie.getCookie( 'p_utm_campaign' ) ) {\n\n // Set UTM cookies for 30 days.\n Cookie.setCookie( 'p_utm_source', urlParams.get( 'utm_source' ), 30, '/');\n Cookie.setCookie( 'p_utm_medium', urlParams.get( 'utm_medium' ), 30, '/');\n Cookie.setCookie( 'p_utm_campaign', urlParams.get( 'utm_campaign' ), 30, '/');\n console.log('Set cookies for the first time of UTM values.');\n // console.log('Cookie: ', Cookie.getCookie( 'p_utm_source' ) );\n\n }// if\n\n // If current cookie stored on browser is different from UTM params\n if ( searchUrlParams.includes('utm_') && \n (\n Cookie.getCookie( 'p_utm_source' ) !== urlParams.get( 'utm_source' ) || \n Cookie.getCookie( 'p_utm_medium' ) !== urlParams.get( 'utm_medium' ) || \n Cookie.getCookie( 'p_utm_campaign' ) !== urlParams.get( 'utm_campaign' ) \n ) ) {\n\n // Set cookies for 30 days of UTM values.\n Cookie.setCookie( 'p_utm_source', urlParams.get( 'utm_source' ), 30, '/');\n Cookie.setCookie( 'p_utm_medium', urlParams.get( 'utm_medium' ), 30, '/');\n Cookie.setCookie( 'p_utm_campaign', urlParams.get( 'utm_campaign' ), 30, '/');\n console.log('Overwrite UTM cookies with new UTM values.');\n // console.log('Cookie: ', Cookie.getCookie( 'p_utm_source' ) );\n }// if\n\n // Add UTM values to hidden fields\n utm_source_ele.forEach( elem => {\n // console.log('elem: ', elem);\n elem.value = Cookie.getCookie( 'p_utm_source' );\n });\n\n utm_medium_ele.forEach( elem => {\n // console.log('elem: ', elem);\n elem.value = Cookie.getCookie( 'p_utm_medium' );\n });\n\n utm_campaign_ele.forEach( elem => {\n // console.log('elem: ', elem);\n elem.value = Cookie.getCookie( 'p_utm_campaign' );\n });\n\n }// if\n\n};\n\nexport default {\n form: form,\n};","/**\n * File window-ready.js\n *\n * Add a \"ready\" class to when window is ready.\n *\n */\n\nfunction wdsWindowReady() {\n\tdocument.body.classList.add('ready');\n}\n\nif (\n\t('complete' === document.readyState || 'loading' !== document.readyState) &&\n\t!document.documentElement.doScroll\n) {\n\twdsWindowReady();\n} else {\n\tdocument.addEventListener('DOMContentLoaded', wdsWindowReady);\n}\n\n(function ($) {\n\tlet scrollDir;\n\tlet $window = $(window);\n\n\t//Scroll Magic Controller\n\tconst controller = new ScrollMagic.Controller();\n\n\t// ====== ALL PAGES\n\tsetTimeout(function(){\n\t\tTweenMax.to($('.site-main'), .3, {opacity: 1, ease: Power3.easeIn});\n\t}, 400);\n\t// ====== ALL PAGES\n\n\t// ====== HOME PAGE\n\t// $('#masthead').css({top: '-32px'});\n\tTweenMax.to( 'header.site-header', .4, { display: 'block', opacity: 1, top: 0, ease: Power3.easeOut }).delay(.6);\n\t// ====== HOME PAGE\n\n\n\tlet getCookie = (name) => {\n\t\t//Get cookie by name\n\t\tlet value = \"; \" + document.cookie;\n\t\tlet parts = value.split(\"; \" + name + \"=\");\n\n\t\tif (parts.length == 2) {\n\t\t\treturn parts.pop().split(\";\").shift();\n\t\t}\n\t};// getCookie\n\n\tlet setCookie = (name, value, days, path) => {\n\t\tlet expires = \"\";\n\t\tif (days) {\n\t\t\tlet date = new Date();\n\t\t\tdate.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n\t\t\texpires = \"; expires=\" + date.toUTCString();\n\t\t}\n\t\treturn document.cookie = name + \"=\" + (value || \"\") + expires + \"; path=\"+path;\n\t};// setCookie\n\n\tlet blockFadeIn = () => {\n\n\t\tsetTimeout(() => {\n\t\t\t$('.block-fade-in').each(function() {\n\t\t\t\tvar blockScene = new ScrollMagic.Scene({\n\t\t\t\t\ttriggerElement : this,\n\t\t\t\t\ttriggerHook : .9,\n\t\t\t\t\treverse : false\n\t\t\t\t}).setClassToggle(this, 'active')\n\t\t\t\t\t.setTween(TweenMax.from($(this), .7, {\n\t\t\t\t\t\topacity: 0,\n\t\t\t\t\t\tease: Power3.easeOut\n\t\t\t\t\t}))\n\t\t\t\t\t.addTo(controller);\n\t\t\t});//each\n\t\t}, 800);\n\n\t\tsetTimeout(() => {\n\t\t\t$('.scale-up').each(function() {\n\t\t\t\tvar blockScene = new ScrollMagic.Scene({\n\t\t\t\t\ttriggerElement : this,\n\t\t\t\t\ttriggerHook : .9,\n\t\t\t\t\treverse : false\n\t\t\t\t}).setClassToggle(this, 'active')\n\t\t\t\t\t.setTween(TweenMax.from($(this), .6, {\n\t\t\t\t\t\topacity: 0,\n\t\t\t\t\t\tscale: .5,\n\t\t\t\t\t\tease: Power3.easeOut\n\t\t\t\t\t}))\n\t\t\t\t\t.addTo(controller);\n\t\t\t});//each\n\t\t}, 900);\n\n\t\tsetTimeout(() => {\n\t\t\t$('.scale-down').each(function() {\n\t\t\t\tvar blockScene = new ScrollMagic.Scene({\n\t\t\t\t\ttriggerElement : this,\n\t\t\t\t\ttriggerHook : .5,\n\t\t\t\t\treverse : false\n\t\t\t\t}).setClassToggle(this, 'active')\n\t\t\t\t\t.setTween(TweenMax.fromTo($(this), 3, {\n\t\t\t\t\t\twidth: '150%'\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\twidth: '100%',\n\t\t\t\t\t\tease: Power3.easeIn}))\n\t\t\t\t\t.addTo(controller);\n\t\t\t});//each\n\t\t}, 900);\n\n\t\tsetTimeout(() => {\n\t\t\t$('.block-slide-up').each(function() {\n\t\t\t\tvar blockScene = new ScrollMagic.Scene({\n\t\t\t\t\ttriggerElement : this,\n\t\t\t\t\ttriggerHook : .9,\n\t\t\t\t\treverse : false\n\t\t\t\t}).setClassToggle(this, 'active')\n\t\t\t\t\t.setTween(TweenMax.fromTo($(this), .6, {opacity: 0, y: 50},{\n\t\t\t\t\t\topacity: 1,\n\t\t\t\t\t\ty: 0,\n\t\t\t\t\t\tease: Power3.easeOut\n\t\t\t\t\t}))\n\t\t\t\t\t.addTo(controller);\n\t\t\t});//each\n\t\t}, 400);\n\n\t};//blockFadeIn\n\n\tlet scrollEffects = () => {\n\t\tvar i1 = 0;\n\t\tvar i2 = 0;\n\n\t\tvar scene = new ScrollMagic.Scene()\n\t\t\t.addTo(controller)\n\t\t\t.on('update', function() {\n\t\t\t\tvar x1 = controller.info('scrollDirection');\n\t\t\t\tvar x2 = $window.scrollTop();\n\t\t\t\tvar x3 = 0;\n\n\t\t\t\tif ( x1 == 'REVERSE' && x2 >= x3 && i1 == 0) {\n\n\t\t\t\t\tscrollDir = x1;\n\t\t\t\t\t// if ( $('body.category') && windowWidth >= landscape ){\n\t\t\t\t\t// \tPAGINATION.OPEN_CLOSE_FILTER(scrollDir);\n\t\t\t\t\t// }\n\t\t\t\t\t\n\t\t\t\t\ti1++;\n\t\t\t\t\ti2 = 0;\n\t\t\t\t}\n\t\t\t\tif ( x1 == 'FORWARD' && x2 > x3 && i2 == 0) {\n\n\t\t\t\t\tscrollDir = x1;\n\t\t\t\t\t// if ( $('body.category') && windowWidth >= landscape ){\n\t\t\t\t\t// \tPAGINATION.OPEN_CLOSE_FILTER(scrollDir);\n\t\t\t\t\t// }\n\n\t\t\t\t\ti1 = 0;\n\t\t\t\t\ti2++;\n\t\t\t\t}\n\t\t\t});\n\n\t\t//===========================\n\t\t// Mouse scroller controller\n\t\t//===========================\n\t\tlet pageLang \t\t= document.documentElement.lang\n\t\tlet bodyTag \t\t= document.body.classList\n\t\tconst windowWidth \t= window.innerWidth\n\t\tlet hideHeight \t\t= 0\n\n\t\tif ( windowWidth > 675 ){\n\t\t\tbodyTag.contains('home') ? hideHeight = -88 : hideHeight = -60\n\t\t}\n\t\telse {\n\t\t\tbodyTag.contains('home') ? hideHeight = -71 : hideHeight = -140\n\t\t}// if - else\n\n\t\t$window.on(\"mousewheel DOMMouseScroll\", function(event) {\n\t\t\t//event.preventDefault();\n\t\t\t\n\t\t\tvar scrollTop \t= $window.scrollTop();\n\n\t\t\t//console.log(scrollDir);\n\n\t\t\tif ( scrollDir == 'FORWARD') {\n\t\t\t\tTweenMax.to('#masthead', .2, {top: -60, ease: Power3.easeOut});\n\t\t\t}\n\t\t\telse {\n\t\t\t\t$('#masthead').addClass('darken-bg');\n\t\t\t\tTweenMax.to('#masthead', .2, {top: 0, ease: Power3.easeOut});\n\t\t\t}\n\t\t});\n\n\t};//SCROLL_EFFECTS\n\n\tlet masonryTiles = () => {\n\t\t//console.log('Inside the Masonry Tiles');\n\n\t\t// Mouse over effect - SAME CODE IS IN THE posts-lazy-loader.js file\n\t\t$('.tile-item a').each(function () {\n\t\t\tif (\n\t\t\t\t$(this).attr('href') === '' ||\n\t\t\t\t$(this).attr('href') === undefined\n\t\t\t) {\n\t\t\t\t$(this).css({ display: 'none' });\n\t\t\t}\n\t\t});\n\t};// masonryTiles\n\n\tlet slideUpMessage = () => {\n\t\tlet consent_container = document.getElementById('cookie-consent-wrapper');\n\n\t\tif ( consent_container ) {\n\t\t\tif ( !getCookie('consent_accepted') ) {\n\t\t\t\tgsap.to( consent_container, .4, {bottom: '0px', opacity: 1, ease: Power3.easeOut}).delay(6);\n\t\t\t}\n\t\n\t\t\t$('#cookie-consent-wrapper .accept').on('click', evt => {\n\t\t\t\tevt.preventDefault()\n\t\t\t\tgsap.to( consent_container, .4, {opacity: 0, display: 'none', ease: Power3.easeOut});\n\t\t\t\tsetCookie('consent_accepted', true, 365, '/');\n\t\t\t});\n\t\n\t\t\t$('#cookie-consent-wrapper .close').on('click', () => {\n\t\t\t\tgsap.to( consent_container, .4, {y: '100%', opacity: 1, ease: Power3.easeOut});\n\t\t\t});\n\t\t}// if \n\n\t};// slideUpMessage\n\n\tlet modalOverlay = (mode, loading) => {\n\n\t\tif ( mode == 'show' ) {\n\t\t\tgsap.to($( '.modalOverlay'), .4, { display: 'block', opacity: 1, ease: Power3.easeOut } );\n\t\t\t$('.modalOverlay').addClass('active');\n\t\t}\n\t\telse {\n\t\t\tgsap.to($( '.modalOverlay'), .4, {display: 'none', opacity: 0, ease: Power3.easeOut } );\n\t\t\t$('.modalOverlay').removeClass('active');\n\t\t}\n\n\t\t//---------------------------\n\t\t// Initiate the circle rotation\n\t\t//---------------------------\n\t\tlet circle_rotation = gsap.timeline({repeat: -1, paused: true});\n\t\t\tcircle_rotation.to( $('body > .modalOverlay').find('.circle-arrows'), 1, { rotation:360, ease: Linear.easeNone, repeat:-1} );\n\n\t\tif ( loading ){\n\t\t\tgsap.to($( 'body > .modalOverlay'), .4, { 'z-index': 998} );\n\t\t\tdocument.querySelector('body').style.overflow = 'hidden';\n\t\t\tcircle_rotation.resume();\n\t\t\tgsap.to( $('body > .modalOverlay').find('.loading-circle-container'), .3, { display: 'flex', opacity: 1, zIndex: '999', ease: Power3.easeIn } );\n\t\t}\n\t\telse {\n\t\t\tgsap.to( $('body > .modalOverlay').find('.loading-circle-container'), .4, { display: 'none', opacity: 0, ease: Power3.easeIn } );\n\t\t\tcircle_rotation.pause().delay(1);\n\t\t\tdocument.querySelector('body').style.overflowY = 'scroll';\n\t\t}\n\t};// modalOverlay\n\n $(function() {//on ready - .ready() is deprecated\n\n\t\tmasonryTiles();\n\t\tslideUpMessage();\n\t\tscrollEffects();\n\t\tblockFadeIn();\n\n\t\t/**\n\t\t * Scroll to Section Triggers\n\t\t */\n\t\tlet getAllSetScroll = document.querySelectorAll('.set-scroll');\n\n\t\tif ( getAllSetScroll.length > 0 ) {\n\n\t\t\tgetAllSetScroll.forEach( (elem) => {\n\t\t\t\tlet getClassList = elem.classList;\n\t\n\t\t\t\telem.addEventListener( 'click', (evt) => {\n\t\t\t\t\tevt.preventDefault();\n\t\n\t\t\t\t\tgetClassList.forEach( (className) => {\n\t\t\t\t\t\t// console.log('class: ', className );\n\t\t\n\t\t\t\t\t\tif ( className.includes('to-scroll') ) {\n\t\t\t\t\t\t\tlet scrollToSection = document.querySelectorAll('.' + className)[1];\n\t\t\t\t\t\t\t// console.log('scrollToSection: ', scrollToSection);\n\n\t\t\t\t\t\t\tgsap.to( window, 1, { scrollTo: { y: scrollToSection, offsetY: 78 }, ease: Power3.easeOut });\n\t\t\t\t\t\t\t// scroll({\n\t\t\t\t\t\t\t// \ttop: scrollToSection.offsetTop - 72,\n\t\t\t\t\t\t\t// \tbehavior: 'smooth'\n\t\t\t\t\t\t\t// });\n\n\t\t\t\t\t\t}\t\n\t\t\t\t\t});\n\t\n\t\t\t\t});\n\t\t\t});\n\n\t\t}// if\n\n\t\t/**\n\t\t * Text Animation\n\t\t */\n\n\t\tlet textAnimationTexts = document.querySelector('.text-animation-slide');\n\t\tlet wpEditorBlockStyle = document.querySelectorAll('.editor-styles-wrapper');\n\n\t\tif ( textAnimationTexts && wpEditorBlockStyle.length == 0 ){\n\t\t\tlet textSlide = document.querySelectorAll('.text-slide');\n\t\t\t// let timeLine = new TimelineLite();\n\t\t\tlet timeLine = new TimelineLite({ repeat: -1 });\n\n\t\t\ttextSlide.forEach( (elem, i) => {\n\n\t\t\t\t// gsap.fromTo( elem, 2,\n\t\t\t\t// \t{ opacity: 0, y: -100},\n\t\t\t\t// \t{ opacity: 1, y: 0,\n\t\t\t\t// \t// repeat: -1,\n\t\t\t\t// \tease: Power3.easeOut }\n\t\t\t\t// );\n\n\t\t\t\ttimeLine.staggerFromTo( elem, 0.5, { opacity: 0, y: -30 }, { opacity: 1, y: 0 }, 1.5 )\n\t\t\t\t\t.staggerTo( elem, 0.5, { opacity: 0, y: 30 }, 1.5, '+=1' )\n\t\t\t})\n\n\t\t}// if\n\n\t\t/**\n\t\t * No Link Anchor Action\n\t\t */\n\t\tlet noLinkAnchor = document.querySelectorAll('.no-link-anchor');\n\n\t\tif ( noLinkAnchor.length > 0 ) {\n\n\t\t\tnoLinkAnchor.forEach( (elem) => {\n\t\t\t\telem.addEventListener('click', (evt) => {\n\t\t\t\t\tevt.preventDefault();\n\t\t\t\t})\n\t\t\t})\n\t\t}\n\n\t\t/**\n\t\t * Lang Menu\n\t\t */\n\n\t\tlet langMenu = document.querySelector('#language-menu');\n\n\t\tif ( langMenu ) {\n\t\t\tlet langSubMenu \t= langMenu.querySelector('.sub-menu');\n\t\t\tlet listItem \t\t= '
  • 中文
  • ';\n\t\t\t// console.log( langSubMenu );\n\n\t\t\tlangSubMenu.innerHTML = listItem + langSubMenu.innerHTML;\n\t\t}// if\n\n\t\tlet prideBar = document.querySelector('.pride-bar');\n\n\t\tif ( prideBar ) {\n\t\t\tgsap.fromTo( prideBar, 2, { opacity: 0, width: 0 }, { opacity: 1, width: '100%', ease: Power3.easeOut }).delay(1);\n\t\t}// if\n\n\t});// ready\n\n})(jQuery);\n","/**\n * Site JS\n */\n\nimport './global';\nimport './template-tags';\nimport './templates';\nimport './acf-blocks';\nimport './forms';\n","/**\n * Template Tag JS\n *\n * JS for functions in template-tags.php.\n */\n\nimport './mobile-menu';\nimport './modal';\nimport './navigation-primary';\nimport './off-canvas';\nimport './table';\nimport './video';\n// import './filter-nav';\n// import './social-sharing';","/**\n * File: mobile-menu.js\n *\n * Create an accordion style dropdown.\n */\n\n(function ($) {\n\t$(document).ready(function () {\n\n\t\t$(\".hamburger\").click(function(){\n\t\t\t$(this).toggleClass(\"is-active\");\n\n\t\t\tif ( $(this).hasClass(\"is-active\") ) {\n\t\t\t\tgsap.to('body', .4, { opacity: 1, overflowY: 'hidden', ease:Power3.easeOut });\n\t\t\t\tgsap.to('#hamburger-navigation', .4, { right: 0, ease:Power3.easeIn });\n\t\t\t\tgsap.to(['#site-navigation', '.main-nav-options .search', '.main-nav-options .weixin-item'], .3, { opacity: 0, visibility: 'hidden', ease:Power3.easeIn });\n\t\t\t\tgsap.to('#mobile-menu', .4, { opacity: 1, ease:Power3.easeOut }).delay(.6);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tgsap.to('#mobile-menu', .3, { opacity: 0, ease:Power3.easeIn });\n\t\t\t\tgsap.to('#hamburger-navigation', .4, {right: '-100%', ease:Power3.easeIn}).delay(0.4);\n\t\t\t\tgsap.to(['#site-navigation', '.main-nav-options .search', '.main-nav-options .weixin-item'], .3, { opacity: 1, visibility: 'visible', ease:Power3.easeIn }).delay(.7);\n\t\t\t\tgsap.to('body', .4, { opacity: 1, overflowY: 'auto', ease:Power3.easeOut }).delay(.9);\n\t\t\t}\n\t\t\t\n\t\t});\n\n\t}); // document.ready\n})(jQuery);\n","/**\n * File modal.js\n *\n * Deal with multiple modals and their media.\n */\n\n\nfunction overLay( mode ) {\n\tconst modalOverLay = document.querySelector( '.modalOverlay' );\n\tif ( mode == 'show' ) {\n\t\tgsap.to( modalOverLay, .4, { display: 'block', opacity: 1, ease: Power3.easeOut } );\n\t\tmodalOverLay.classList.add('active');\n\t} else {\n\t\tgsap.to( modalOverLay , .4, {display: 'none', opacity: 0, ease: Power3.easeOut } );\n\t\tmodalOverLay.classList.remove('active');\n\t}\n};\n\n export default {\n overLay: overLay,\n};\n","/**\n * File: navigation-primary.js\n *\n * Helpers for the primary navigation.\n */\n\n(function () {\n\tconst subMenuParentItem = document.querySelectorAll(\n\t\t'.main-navigation .menu-item-has-children'\n\t);\n\n\tdocument.addEventListener('DOMContentLoaded', addDownArrow);\n\tdocument.addEventListener('DOMContentLoaded', toggleFocusClass);\n\n\t/**\n\t * Adds the down arrow to parent menu items.\n\t *\n\t * @author Corey Collins\n\t * @since January 31, 2020\n\t */\n\tfunction addDownArrow() {\n\t\tsubMenuParentItem.forEach((parentItem) => {\n\t\t\tconst menuItem = parentItem.querySelector('a');\n\t\t\tmenuItem.innerHTML +=\n\t\t\t\t'';\n\t\t});\n\t}\n\n\t/**\n\t * Adds event listeners for tabbing in and out of parent items.\n\t *\n\t * @author Corey Collins\n\t * @since January 31, 2020\n\t */\n\tfunction toggleFocusClass() {\n\t\tsubMenuParentItem.forEach((parentItem) => {\n\t\t\tparentItem.addEventListener('focusin', toggleIn);\n\t\t\tparentItem.addEventListener('focusout', toggleOut);\n\t\t});\n\t}\n\n\t/**\n\t * Handle toggling a parent menu on.\n\t *\n\t * @author Corey Collins\n\t * @since January 31, 2020\n\t * @param {Object} event The triggered event.\n\t */\n\tfunction toggleIn(event) {\n\t\tconst parentMenuItems = getParents(\n\t\t\tevent.target.parentNode,\n\t\t\t'.menu-item-has-children'\n\t\t);\n\t\tparentMenuItems.forEach((parentItem) => {\n\t\t\tparentItem.classList.add('focus');\n\t\t});\n\t}\n\n\t/**\n\t * Handle toggling a parent menu off.\n\t *\n\t * @since January 31, 2020\n\t * @author Corey Collins\n\t * @param {Object} event The triggered event.\n\t */\n\tfunction toggleOut(event) {\n\t\tconst parentMenuItems = getParents(\n\t\t\tevent.target.parentNode,\n\t\t\t'.menu-item-has-children'\n\t\t);\n\t\tparentMenuItems.forEach((parentItem) => {\n\t\t\tparentItem.classList.remove('focus');\n\t\t});\n\t}\n\n\t/**\n\t * Get all of the parents for a matching element and selector.\n\t *\n\t * @author Corey Collins\n\t * @since January 31, 2020\n\t * @see https://gomakethings.com/climbing-up-and-down-the-dom-tree-with-vanilla-javascript/#getting-all-matches-up-the-tree\n\t * @param {Object} elem The parent menu item.\n\t * @param {string} selector The CSS class of the element.\n\t * @return {Array} Parents.\n\t */\n\tconst getParents = function (elem, selector) {\n\t\t// Element.matches() polyfill.\n\t\tif (!Element.prototype.matches) {\n\t\t\tElement.prototype.matches =\n\t\t\t\tElement.prototype.matchesSelector ||\n\t\t\t\tElement.prototype.mozMatchesSelector ||\n\t\t\t\tElement.prototype.msMatchesSelector ||\n\t\t\t\tElement.prototype.oMatchesSelector ||\n\t\t\t\tElement.prototype.webkitMatchesSelector ||\n\t\t\t\tfunction (s) {\n\t\t\t\t\tconst matches = (\n\t\t\t\t\t\tthis.document || this.ownerDocument\n\t\t\t\t\t).querySelectorAll(s);\n\t\t\t\t\tlet i = matches.length;\n\t\t\t\t\twhile (0 >= --i && matches.item(i) !== this) {}\n\t\t\t\t\treturn -1 > i;\n\t\t\t\t};\n\t\t}\n\n\t\t// Setup parents array.\n\t\tconst parents = [];\n\n\t\t// Get matching parent elements.\n\t\tfor (; elem && elem !== document; elem = elem.parentNode) {\n\t\t\t// Add matching parents to array.\n\t\t\tif (selector) {\n\t\t\t\tif (elem.matches(selector)) {\n\t\t\t\t\tparents.push(elem);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tparents.push(elem);\n\t\t\t}\n\t\t}\n\n\t\treturn parents;\n\t};\n})();\n","/**\n * File: off-canvas.js\n *\n * Help deal with the off-canvas mobile menu.\n */\n\n// Make sure everything is loaded first.\nif (\n\t('complete' === document.readyState || 'loading' !== document.readyState) &&\n\t!document.documentElement.doScroll\n) {\n\twdsOffCanvas();\n} else {\n\tdocument.addEventListener('DOMContentLoaded', wdsOffCanvas);\n}\n\n/**\n * Kick off our off canvas functions.\n *\n * @author Corey Collins\n * @since January 31, 2020\n */\nfunction wdsOffCanvas() {\n\tconst offCanvasScreen = document.querySelector('.off-canvas-screen');\n\n\tif (!offCanvasScreen) {\n\t\treturn;\n\t}\n\n\tconst offCanvasContainer = document.querySelector('.off-canvas-container'),\n\t\toffCanvasOpen = document.querySelector('.off-canvas-open');\n\n\toffCanvasOpen.addEventListener('click', toggleOffCanvas);\n\toffCanvasScreen.addEventListener('click', closeOffCanvas);\n\tdocument.body.addEventListener('keydown', closeOnEscape);\n\n\t/**\n\t * Close everything when we hit the escape key.\n\t *\n\t * @author Corey Collins\n\t * @since January 31, 2020\n\t * @param {Object} event The event trigger.\n\t */\n\tfunction closeOnEscape(event) {\n\t\tif (27 === event.keyCode) {\n\t\t\tcloseOffCanvas();\n\t\t}\n\t}\n\n\t/**\n\t * Handle closing the off-canvas overlay.\n\t *\n\t * @author Corey Collins\n\t * @since January 31, 2020\n\t */\n\tfunction closeOffCanvas() {\n\t\toffCanvasContainer.classList.remove('is-visible');\n\t\toffCanvasOpen.classList.remove('is-visible');\n\t\toffCanvasScreen.classList.remove('is-visible');\n\n\t\toffCanvasContainer.setAttribute('aria-hidden', true);\n\t\toffCanvasOpen.setAttribute('aria-expanded', false);\n\t}\n\n\t/**\n\t * Toggle the display of the off-canvas overlay.\n\t *\n\t * @author Corey Collins\n\t * @since January 31, 2020\n\t */\n\tfunction toggleOffCanvas() {\n\t\tif ('true' === offCanvasOpen.getAttribute('aria-expanded')) {\n\t\t\tcloseOffCanvas();\n\t\t} else {\n\t\t\topenOffCanvas();\n\t\t}\n\t}\n\n\t/**\n\t * Handle opening the off-canvas overlay.\n\t *\n\t * @author Corey Collins\n\t * @since January 31, 2020\n\t */\n\tfunction openOffCanvas() {\n\t\toffCanvasContainer.classList.add('is-visible');\n\t\toffCanvasOpen.classList.add('is-visible');\n\t\toffCanvasScreen.classList.add('is-visible');\n\n\t\toffCanvasContainer.setAttribute('aria-hidden', false);\n\t\toffCanvasOpen.setAttribute('aria-expanded', true);\n\t}\n}\n","/**\n * File table.js\n *\n * Make tables responsive.\n *\n * @author Haris Zulfiqar, Corey Collins\n * @since January 31, 2020\n */\n\n(function () {\n\tdocument.querySelectorAll('table').forEach((table) => {\n\t\tconst tableHeaders = table.querySelectorAll('th');\n\n\t\t// Bail if our table has no headers set.\n\t\tif (0 === tableHeaders.length) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst tableRow = table.querySelectorAll('tbody tr');\n\n\t\ttableRow.forEach((row) => {\n\t\t\tconst tableCell = row.querySelectorAll('td');\n\n\t\t\ttableCell.forEach((cell, index) => {\n\t\t\t\tif (tableHeaders[index].textContent) {\n\t\t\t\t\tcell.setAttribute(\n\t\t\t\t\t\t'data-label',\n\t\t\t\t\t\ttableHeaders[index].textContent\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t});\n})();\n","/**\n * File video.js\n *\n * Deal with video playback.\n */\n\n(function () {\n\tconst videoButtons = document.querySelectorAll('.video-toggle');\n\n\t// Toggle playback on background videos.\n\tvideoButtons.forEach((videoButton) => {\n\t\tvideoButton.addEventListener('click', toggleVideoPlayback);\n\t});\n\n\t/**\n\t * Toggle video playback when the button is pressed.\n\t *\n\t * @author Jo Murgel, Corey Collins\n\t * @since January 31, 2020\n\t * @param {Object} event The triggered event.\n\t */\n\tfunction toggleVideoPlayback(event) {\n\t\tconst targetParent = event.target.parentNode,\n\t\t\ttargetElement = targetParent.querySelector('.video-background');\n\n\t\ttargetParent.classList.toggle('video-toggled');\n\n\t\tif (targetParent.classList.contains('video-toggled')) {\n\t\t\ttargetElement.pause();\n\t\t} else {\n\t\t\ttargetElement.play();\n\t\t}\n\t}\n})();\n","/**\n * Template JS\n *\n * JS for WordPress template files.\n * See https://developer.wordpress.org/themes/basics/template-files/.\n */\n\n// import './template-name';\n","module.exports = window[\"jQuery\"];","// 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](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\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};","// 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__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// 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};","/* eslint eslint-comments/disable-enable-pair: error */\n/* eslint-disable no-undef, no-unused-vars */\n\nimport './scss/tailwind.scss';\nimport './scss/index.scss';\nimport './js/index';\n\n/* eslint-enable no-undef, no-unused-vars */\n"],"names":[],"sourceRoot":""}