{"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///webpack/bootstrap e6c9c21a4cc2a7404be5","webpack:///./src/javascripts/experience.js","webpack:///./src/javascripts/plugin-autoloader.js","webpack:///./src/javascripts/pluginizr.js","webpack:///./src/components/tabs/tabs.js","webpack:///./~/keycode/index.js","webpack:///./src/javascripts/eventr.js","webpack:///./src/components/in-page-nav/in-page-nav.js","webpack:///./src/javascripts/utils.js","webpack:///./src/javascripts/breakpoints.js","webpack:///./src/components/in-page-nav/in-page-nav.template.njk","webpack:///./~/nunjucks/browser/nunjucks-slim.js","webpack:///./~/nunjucks-loader/runtime-shim.js","webpack:///./src/javascripts/tracker.js","webpack:///test\\.).)*\\.js$/gi","webpack:///test\\.).)*\\.js$/gi?42c7"],"names":[],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;ACVA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,uBAAe;AACf;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;;;;;;;;;;;;;ACtCA;;AAEA;AACA;AACA,EAAC;AACD;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,GAAE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oC;;;;;;AC/EA;;AAEA;AACA;AACA,EAAC;AACD;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,UAAS;AACT;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,cAAa,mBAAmB;AAChC;AACA;AACA;AACA;AACA;AACA,GAAE;AACF;AACA;AACA,GAAE;AACF;AACA,GAAE,EAAE;AACJ;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,QAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;AACA,6CAA4C;AAC5C;AACA,KAAI;;AAEJ;AACA,IAAG;AACH,GAAE;AACF;;AAEA;AACA;AACA;AACA;AACA;AACA,G;;;;;;AC1EA;;AAEA;AACA;AACA,EAAC;;AAED,qGAAoG,mBAAmB,EAAE,mBAAmB,8HAA8H;;AAE1Q;AACA,oCAAmC;AACnC;;AAEA;AACA;AACA;AACA,aAAY,MAAM;AAClB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAY,OAAO;AACnB,aAAY,MAAM;AAClB;AACA;AACA,aAAY,YAAY;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA,gBAAe,wCAAwC,EAAE;;AAEzD;AACA;;AAEA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAI;AACJ,IAAG;AACH;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,0EAAyE;AACzE;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA,QAAO;AACP;AACA;AACA,KAAI;;AAEJ;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,G;;;;;;AC1HA;;AAEA;AACA;AACA,EAAC;;AAED,iCAAgC,2CAA2C,gBAAgB,kBAAkB,OAAO,2BAA2B,wDAAwD,gCAAgC,uDAAuD,2DAA2D,EAAE,EAAE,yDAAyD,qEAAqE,6DAA6D,oBAAoB,GAAG,EAAE,GAAG;;AAEpjB;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F,4CAA2C,kBAAkB,kCAAkC,qEAAqE,EAAE,EAAE,OAAO,kBAAkB,EAAE,YAAY;;AAE/M,kDAAiD,0CAA0C,0DAA0D,EAAE;;AAEvJ;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,EAAC;;AAED;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAE;;AAEF;AACA;;AAEA;;AAEA;;AAEA;AACA;;AAEA,6BAA4B;;AAE5B;AACA;AACA;AACA;;AAEA;;AAEA;AACA,IAAG;;AAEH;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,oBAAmB;AACnB;;AAEA;;AAEA,GAAE;AACF;AACA;AACA;AACA;;AAEA;AACA,eAAc,QAAQ;AACtB,eAAc,QAAQ;;AAEtB,GAAE;AACF;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA,eAAc,QAAQ;AACtB;;AAEA,GAAE;AACF;AACA;AACA;AACA;AACA;AACA,KAAI;AACJ;AACA;AACA;;AAEA;AACA;AACA,eAAc,QAAQ;AACtB;;AAEA,GAAE;AACF;AACA;AACA;AACA;AACA;AACA,KAAI;AACJ;AACA;AACA;;AAEA;AACA;AACA,eAAc,QAAQ;AACtB;;AAEA,GAAE;AACF;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAc,QAAQ;AACtB;;AAEA,GAAE;AACF;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA,GAAE;AACF;AACA;AACA;AACA;;AAEA;;AAEA,GAAE;AACF;AACA;AACA;AACA;;AAEA;;AAEA,GAAE;AACF;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA,GAAE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA,GAAE;AACF;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAE;;AAEF;AACA,EAAC;;AAED;;;AAGA;AACA,2C;;;;;;ACrRA;AACA;;AAEA;AACA;AACA;AACA,YAAW,MAAM,UAAU,OAAO,aAAa;AAC/C,aAAY;AACZ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;;AAEA;AACA,aAAY,SAAS;;AAErB;AACA,iBAAgB,QAAQ;;AAExB;AACA,YAAW,QAAQ;;AAEnB;AACA,YAAW,QAAQ;;AAEnB;AACA;AACA;AACA;AACA;;AAEA,+CAA8C;;AAE9C;AACA;;AAEA;AACA;AACA;AACA;;;;;;;ACjJA;;AAEA;AACA;AACA,EAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA,cAAa,WAAW;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,oEAAmE,6BAA6B;AAChG;AACA;AACA;AACA;AACA,aAAY,WAAW;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAoB,YAAY,WAAW;AAC3C;AACA;AACA,wBAAuB;AACvB;AACA;AACA,aAAY,OAAO;AACnB,aAAY,OAAO;AACnB,aAAY,MAAM;AAClB,aAAY,MAAM;AAClB,aAAY,MAAM;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,aAAY,OAAO;AACnB,aAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,aAAY,MAAM;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAoB,YAAY,WAAW;AAC3C;AACA;AACA,wBAAuB;AACvB;AACA,iBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,4B;;;;;;ACnJA;;AAEA;AACA;AACA,EAAC;AACD;;AAEA,iCAAgC,2CAA2C,gBAAgB,kBAAkB,OAAO,2BAA2B,wDAAwD,gCAAgC,uDAAuD,2DAA2D,EAAE,EAAE,yDAAyD,qEAAqE,6DAA6D,oBAAoB,GAAG,EAAE;;AAEjjB;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F,kDAAiD,0CAA0C,0DAA0D,EAAE;;AAEvJ;AACA,KAAI;AACJ;AACA,iBAAgB;AAChB;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,WAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAM;;AAEN;AACA;AACA;AACA;AACA;AACA;AACA,GAAE;;AAEF;AACA;;AAEA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA,6BAA4B;;AAE5B;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,IAAG;AACH;AACA,IAAG;AACH;AACA,IAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,GAAE;AACF;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,oBAAmB,qBAAqB;AACxC;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,QAAO;AACP,OAAM;AACN;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,yDAAwD,cAAc;;AAEtE;AACA;;AAEA;AACA;AACA;;AAEA,GAAE;AACF;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAI;AACJ;AACA;AACA;;AAEA;;AAEA,GAAE;AACF;AACA;AACA;;;AAGA;;AAEA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,GAAE;AACF;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,GAAE;AACF;AACA;AACA;;AAEA,gEAA+D;AAC/D;;AAEA;AACA;AACA;;AAEA,GAAE;AACF;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAI;AACJ;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,GAAE;AACF;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,yCAAwC;AACxC,KAAI;;AAEJ;AACA;;AAEA;;AAEA,GAAE;AACF;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAa,mBAAmB,UAAU;AAC1C,gBAAe,mBAAmB,EAAE;AACpC;;AAEA,GAAE;AACF;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,GAAE;;AAEF;AACA,EAAC;;AAED;;AAEA,qD;;;;;;ACrUA;;AAEA;AACA;AACA,EAAC;AACD;AACA;AACA;AACA;;AAEA;AACA;AACA,SAAQ,gFAAgF;AACxF;AACA,YAAW,OAAO,MAAM;AACxB,cAAa,OAAO,EAAE;AACtB;AACA;AACA,qBAAoB,UAAU;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAe,GAAG,SAAS;AAC3B;;AAEA;AACA;AACA;AACA,SAAQ,oEAAoE;AAC5E;AACA,YAAW,OAAO,SAAS;AAC3B,aAAY,OAAO,EAAE;AACrB;AACA;AACA,qBAAoB,eAAe;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,EAAC;;AAED;AACA;AACA;AACA,G;;;;;;AC5DA;;AAEA;AACA;AACA,EAAC;AACD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAW,OAAO;AAClB,aAAY,QAAQ;AACpB;AACA;AACA,aAAY,cAAc;AAC1B;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,mC;;;;;;AC9CA;AACA;AACA;AACA,4DAA2D,mBAAmB;AAC9E,EAAC;AACD;AACA;AACA,sFAAqF;;;;;AAKrF;;;AAGA,cAAa,kEAAkE;AAC/E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oCAAmC;AACnC;AACA;AACA,cAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,eAAc,kBAAkB;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAC;AACD;AACA;AACA;AACA;AACA;AACA,UAAS;AACT,eAAc,kBAAkB;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAC;AACD;AACA;AACA;AACA,EAAC;AACD;AACA;AACA;AACA;AACA;AACA;;AAEA,EAAC;AACD,EAAC;;;;AAID,yI;;;;;;ACnHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAC;AACD,qCAAoC;AACpC;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,wBAAuB;AACvB;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,WAAU;AACV;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,WAAU;AACV;AACA;AACA;AACA;AACA;AACA,WAAU;AACV;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;AAGA,QAAO;AACP;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA,iBAAgB;AAChB,kBAAiB;AACjB,kBAAiB;AACjB,gBAAe;AACf,gBAAe;AACf;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA,qCAAoC;AACpC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,oEAAmE,iBAAiB;AACpF,kBAAiB,cAAc;AAC/B;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,kBAAiB,KAAK;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,oCAAmC,KAAK;AACxC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,kBAAiB,cAAc;AAC/B;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAM;AACN;AACA,yCAAwC;;AAExC;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,eAAc,mBAAmB;AACjC;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAM;AACN;AACA,OAAM;AACN;AACA,OAAM;AACN;AACA;AACA;AACA;;;AAGA,QAAO;AACP;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,uBAAsB,cAAc,EAAE;AACtC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAM;;AAEN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,mBAAkB;AAClB;AACA,WAAU;AACV,OAAM;;AAEN;AACA;AACA;AACA;AACA;AACA,OAAM;;AAEN;AACA;AACA;;AAEA;AACA;AACA,OAAM;;AAEN;AACA;AACA,OAAM;;AAEN;AACA;AACA,OAAM;;AAEN;AACA;AACA;AACA,OAAM;;AAEN;AACA;AACA;AACA;AACA;AACA,OAAM;;AAEN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAM;;AAEN;AACA;AACA;AACA;AACA;AACA,OAAM;;AAEN;AACA;AACA;AACA,OAAM;;AAEN;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA4B,yBAAyB;AACrD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAU;AACV;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;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;AACA;AACA;AACA,eAAc;;AAEd;AACA;AACA,OAAM;;AAEN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAM;;AAEN;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAU;;AAEV;AACA,OAAM;;AAEN;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAM;;AAEN;AACA,GAAE;;AAEF;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,OAAM;;AAEN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAM;;AAEN;AACA;AACA,OAAM;;AAEN;AACA;AACA,OAAM;;AAEN;AACA;AACA;AACA;AACA,OAAM;;AAEN;AACA;AACA;AACA;;AAEA;AACA,OAAM;;AAEN;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,OAAM;;AAEN;AACA;AACA,OAAM;;AAEN;AACA;AACA,sBAAqB,wBAAwB;AAC7C;AACA;AACA;AACA;AACA;AACA,GAAE;;AAEF;AACA;AACA;;AAEA;AACA;AACA,oDAAmD;AACnD,oDAAmD;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAM;;AAEN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAU;AACV;AACA;AACA;AACA;;AAEA,6CAA4C;AAC5C;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA8B,WAAW;AACzC;AACA;AACA;AACA;;AAEA;AACA,OAAM;;;AAGN;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAU;AACV;AACA;AACA;;AAEA;AACA;;AAEA;AACA,6CAA4C;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAoB;AACpB;AACA;AACA,+BAA8B;AAC9B,OAAM;;AAEN;AACA;AACA;AACA;AACA,OAAM;;AAEN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAM;;AAEN;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAE;;AAEF;AACA;AACA;AACA;;;AAGA,QAAO;AACP;AACA;;;;AAIA,QAAO;AACP;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,cAAa,MAAM;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAM;AACN;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAM;AACN;AACA;AACA;AACA;AACA;AACA,WAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA,OAAM;AACN;AACA;AACA;AACA;;;AAGA,QAAO;AACP;AACA;;AAEA,gDAA+C;;AAE/C;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;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kEAAiE,kBAAkB;AACnF;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;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAE;AACF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA6B,oBAAoB;AACjD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,8BAA6B,4BAA4B,aAAa,EAAE;;AAExE,QAAO;AACP;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,yCAAwC,KAAK,EAAE;AAC/C;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,eAAc;AACd;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,8CAA6C;;;AAG7C,QAAO;AACP;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAM;;AAEN;AACA;AACA;AACA;;AAEA,oBAAmB,gBAAgB;AACnC;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,qCAAoC,eAAe;AACnD;AACA;AACA;;AAEA;AACA;;AAEA;AACA,OAAM;;AAEN;AACA;AACA;AACA;AACA,OAAM;;AAEN;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAM;;AAEN;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAM;;AAEN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAU;AACV;AACA,WAAU;AACV;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAU;;AAEV;AACA,OAAM;;AAEN;AACA;AACA,OAAM;;AAEN;AACA;AACA;AACA;AACA;AACA;AACA,OAAM;;AAEN;AACA;AACA;AACA;AACA;AACA;AACA,OAAM;;AAEN;AACA;AACA,OAAM;;AAEN;AACA;AACA,OAAM;;AAEN;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA,sBAAqB,gBAAgB;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,OAAM;;AAEN;AACA;;AAEA;AACA;AACA;AACA,eAAc;AACd;;AAEA;AACA,OAAM;;AAEN;AACA;AACA,OAAM;;AAEN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAM;;AAEN;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,0BAAyB;AACzB;AACA,eAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAM;;AAEN;AACA;AACA;AACA,OAAM;;AAEN;AACA;AACA;AACA;AACA;AACA,OAAM;;AAEN;AACA;AACA,OAAM;;AAEN;AACA;AACA;AACA,SAAQ;AACR,OAAM;;AAEN;AACA;AACA;AACA,SAAQ;AACR,OAAM;;AAEN;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,uBAAsB;;AAEtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,wBAAuB;;AAEvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,OAAM;;AAEN;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8CAA6C,UAAU,EAAE;AACzD;;AAEA;;AAEA;AACA;AACA;AACA;AACA,OAAM;;AAEN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,OAAM;;AAEN;AACA;AACA;AACA;AACA;;AAEA,sBAAqB,UAAU;AAC/B;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,OAAM;;AAEN;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,eAAc;AACd;;AAEA,wBAAuB,gBAAgB;AACvC;AACA;;AAEA;AACA,OAAM;;AAEN;AACA;AACA,0CAAyC,UAAU,EAAE;;AAErD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAU;;AAEV;AACA,OAAM;;AAEN;AACA;AACA,OAAM;;AAEN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+CAA8C;AAC9C,WAAU;AACV;AACA;AACA;AACA,OAAM;;AAEN;AACA;AACA;AACA,wBAAuB,kBAAkB;AACzC;AACA;AACA;AACA,OAAM;;AAEN;AACA;AACA,OAAM;;AAEN;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,WAAU;AACV;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,OAAM;;AAEN;AACA;AACA;AACA,OAAM;;AAEN;AACA;AACA;AACA;AACA,WAAU;AACV;AACA;AACA;AACA;AACA,mBAAkB;AAClB,eAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAM;;AAEN;AACA;;AAEA;;AAEA;AACA;AACA,qCAAoC,yBAAyB;AAC7D;AACA,gDAA+C,EAAE;AACjD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAU;AACV;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA,WAAU;;AAEV;AACA,OAAM;;AAEN;AACA;AACA;AACA;AACA,OAAM;;AAEN;AACA;AACA;AACA,OAAM;;AAEN;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;;AAGA,QAAO;AACP;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAM;;AAEN;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,sBAAqB,oBAAoB;AACzC;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,OAAM;;AAEN;AACA;AACA;AACA;AACA;AACA;AACA,OAAM;;AAEN;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAM;;AAEN;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAM;;AAEN;AACA;AACA,OAAM;;AAEN;AACA;AACA;AACA,GAAE;;AAEF;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,wBAAuB,iBAAiB;AACxC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,+BAA8B,qBAAqB;AACnD;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,eAAc;AACd,GAAE;AACF;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,+CAA8C;AAC9C,2DAA0D;AAC1D,oEAAmE;AACnE;AACA;AACA;AACA;AACA,WAAU;AACV;AACA;AACA;AACA;AACA,WAAU;AACV;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,wBAAuB,gBAAgB;AACvC;;AAEA;AACA,mDAAkD;AAClD,+DAA8D;AAC9D,wEAAuE;AACvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,wBAAuB,iBAAiB;AACxC;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;;;AAGA,QAAO;AACP;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,WAAU;;AAEV;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,WAAU;AACV;;AAEA;;AAEA;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,+BAA8B,QAAQ;AACtC;AACA;AACA,eAAc;AACd,+BAA8B,QAAQ;AACtC;AACA;AACA;AACA;AACA,WAAU;;AAEV;AACA,cAAa;;AAEb;AACA;AACA,WAAU;;AAEV;AACA;AACA;AACA;AACA;;AAEA;;;AAGA,QAAO;AACP;AACA;;AAEA,kEAAiE,6DAA6D;AAC9H;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAM;AACN;AACA,OAAM;AACN;AACA;AACA;;AAEA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAU;AACV;AACA;AACA;AACA;AACA,aAAY;AACZ;AACA;AACA;AACA;AACA,aAAY;AACZ;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAM,gJAAgJ;AACtJ,KAAI;AACJ,iCAAgC;AAChC,KAAI;AACJ,oCAAmC;AACnC;AACA,GAAE;;AAEF,8BAA6B;;AAE7B,QAAO;AACP;AACA;;AAEA,sEAAqE;AACrE;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6CAA4C,iBAAiB;;AAE7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA;AACA;AACA;AACA;AACA,KAAI;;AAEJ;AACA;;AAEA;AACA;AACA;AACA,8BAA6B;;AAE7B,QAAO;AACP;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAM;AACN;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,yBAAwB,sBAAsB;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAsB;AACtB;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,6BAA4B;AAC5B;AACA;AACA;AACA,8BAA6B,UAAU;;;AAGvC,QAAO;AACP;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA,OAAM;;AAEN;AACA;AACA;AACA,wBAAuB;AACvB,sDAAqD;AACrD;AACA;AACA;AACA;AACA;AACA,GAAE;;AAEF;;;AAGA,QAAO;AACP;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAM;;AAEN;AACA;;AAEA;AACA;AACA;AACA,eAAc;AACd;AACA,OAAM;;AAEN;AACA;AACA,OAAM;;AAEN;AACA;AACA;AACA,GAAE;;AAEF;;;AAGA,QAAO;AACP;AACA;;AAEA;AACA;;AAEA;AACA;AACA,+BAA8B;AAC9B,uBAAsB;;AAEtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAM;AACN;AACA;AACA,OAAM;AACN;AACA,uBAAsB,iBAAiB;AACvC;AACA;AACA;AACA;AACA;AACA,OAAM;AACN;AACA;AACA,uBAAsB,iBAAiB;AACvC;AACA;AACA;AACA;AACA;AACA,OAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA,OAAM;AACN;AACA;AACA,OAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA,OAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA,OAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA,OAAM;AACN;AACA;AACA,OAAM;AACN;AACA;AACA;AACA;AACA,SAAQ;AACR;AACA,SAAQ;AACR;AACA;AACA;AACA,OAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAM;AACN;AACA;AACA;AACA;AACA,oBAAmB;AACnB;AACA;AACA;AACA;AACA;AACA,2DAA0D;AAC1D;;AAEA;AACA;AACA;AACA,2BAA0B;AAC1B;;AAEA;AACA,2BAA0B;AAC1B;;AAEA;AACA;AACA;;AAEA;;;AAGA;AACA;AACA,EAAC;AACD,E;;;;;;ACp6FA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAS;AACT;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA,G;;;;;;AC7CA;;AAEA;AACA;AACA,EAAC;;AAED,iCAAgC,2CAA2C,gBAAgB,kBAAkB,OAAO,2BAA2B,wDAAwD,gCAAgC,uDAAuD,2DAA2D,EAAE,EAAE,yDAAyD,qEAAqE,6DAA6D,oBAAoB,GAAG,EAAE,GAAG;AACpjB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA,uCAAsC,uCAAuC,kBAAkB;;AAE/F,4CAA2C,kBAAkB,kCAAkC,qEAAqE,EAAE,EAAE,OAAO,kBAAkB,EAAE,YAAY;;AAE/M,kDAAiD,0CAA0C,0DAA0D,EAAE;;AAEvJ;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAW,OAAO;AAClB;;AAEA;AACA;AACA,aAAY,OAAO;AACnB,aAAY,OAAO;AACnB,aAAY,OAAO;AACnB,aAAY,QAAQ;AACpB,aAAY,YAAY;AACxB,aAAY,QAAQ;AACpB,aAAY,QAAQ;AACpB;AACA;AACA;AACA;AACA,MAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA,2GAA0G,6HAA6H;;AAEvO;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAY,OAAO;AACnB,aAAY,OAAO;AACnB,aAAY,OAAO;AACnB,aAAY,IAAI;AAChB,aAAY,SAAS;AACrB,aAAY,QAAQ;AACpB;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAE;AACF;;AAEA;AACA;AACA,aAAY,OAAO;AACnB,aAAY,OAAO;AACnB,aAAY,OAAO;AACnB,aAAY,IAAI;AAChB,aAAY,SAAS;AACrB,aAAY,QAAQ;AACpB;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH,GAAE;AACF;;AAEA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA,IAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAE;AACF;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAE;;AAEF;AACA;;AAEA;;AAEA;AACA;;AAEA,6BAA4B;;AAE5B;AACA;;AAEA;AACA;AACA;AACA,6BAA4B;AAC5B;AACA,GAAE;AACF;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAE;;AAEF;AACA,EAAC;;AAED;;AAEA;AACA;AACA;AACA;;AAEA;AACA,iD;;;;;;AC9PA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAiC,uDAAuD;AACxF;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAiC,uDAAuD;AACxF;AACA;AACA;AACA;AACA;AACA;AACA","file":"experience.dev.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"experience\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"experience\"] = factory();\n\telse\n\t\troot[\"experience\"] = factory();\n})(this, function() {\nreturn \n\n\n// WEBPACK FOOTER //\n// webpack/universalModuleDefinition"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId])\n \t\t\treturn installedModules[moduleId].exports;\n\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\texports: {},\n \t\t\tid: moduleId,\n \t\t\tloaded: false\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.loaded = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/javascripts/\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(0);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap e6c9c21a4cc2a7404be5","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\nexports.utils = exports.breakpoints = exports.eventr = exports.pluginizr = exports.pluginAutoLoader = exports.Tracker = exports.Tabs = exports.InPageNav = exports['default'] = undefined;\n\nvar _pluginAutoloader = require(\"./plugin-autoloader\");\n\nvar _pluginAutoloader2 = _interopRequireDefault(_pluginAutoloader);\n\nvar _tabs = require(\"./../components/tabs/tabs.js\");\n\nvar _tabs2 = _interopRequireDefault(_tabs);\n\nvar _inPageNav = require(\"./../components/in-page-nav/in-page-nav.js\");\n\nvar _inPageNav2 = _interopRequireDefault(_inPageNav);\n\nvar _tracker = require(\"./tracker\");\n\nvar _tracker2 = _interopRequireDefault(_tracker);\n\nvar _pluginizr = require(\"./pluginizr\");\n\nvar _pluginizr2 = _interopRequireDefault(_pluginizr);\n\nvar _eventr = require(\"./eventr\");\n\nvar _eventr2 = _interopRequireDefault(_eventr);\n\nvar _breakpoints = require(\"./breakpoints\");\n\nvar _breakpoints2 = _interopRequireDefault(_breakpoints);\n\nvar _utils = require(\"./utils\");\n\nvar _utils2 = _interopRequireDefault(_utils);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar experience = {\n\tinit: function init(el) {\n\n\t\t// Load all component modules from this directory automatically, see http://stackoverflow.com/a/31770875/486434\n\t\t// But exclude test files http://stackoverflow.com/a/30372240\n\t\t_pluginAutoloader2['default'].load(require.context(\"./../components/\", true, /^((?!test\\.).)*\\.js$/igm));\n\t\t_pluginAutoloader2['default'].load(require.context(\"./\", true, /^((?!test\\.).)*\\.js$/igm));\n\n\t\t_pluginAutoloader2['default'].findPlugins(el);\n\t},\n\t// Components\n\tInPageNav: _inPageNav2['default'],\n\tTabs: _tabs2['default'],\n\tTracker: _tracker2['default'],\n\t// Utils\n\tpluginAutoLoader: _pluginAutoloader2['default'],\n\tpluginizr: _pluginizr2['default'],\n\teventr: _eventr2['default'],\n\tbreakpoints: _breakpoints2['default'],\n\tutils: _utils2['default']\n};\n\n$.fn.experience = function () {\n\texperience.init(this);\n};\n\n// Export to global namespace for precompiled usage\nwindow.NICE = window.NICE || {};\nwindow.NICE.experience = experience;\n\nexports['default'] = experience;\nexports.InPageNav = _inPageNav2['default'];\nexports.Tabs = _tabs2['default'];\nexports.Tracker = _tracker2['default'];\nexports.pluginAutoLoader = _pluginAutoloader2['default'];\nexports.pluginizr = _pluginizr2['default'];\nexports.eventr = _eventr2['default'];\nexports.breakpoints = _breakpoints2['default'];\nexports.utils = _utils2['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/javascripts/experience.js\n// module id = 1\n// module chunks = 0","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\nexports.load = load;\nexports.findPlugins = findPlugins;\n\nvar _pluginizr = require(\"./pluginizr\");\n\n// Regex to find the name of a module from its path.\n// E.g, \"./experience.js\" find \"experience\" from the matched group\n// E.g, \"/tabs/tabs.js\" find \"tabs\" from the matched group\nvar ModuleNameRegex = /([^\\/.]*)\\.js$/i;\n\n// Constructs a module object - parses a key (path) into a module name\nvar getModuleObj = function getModuleObj(key) {\n\treturn { key: key, name: key.match(ModuleNameRegex, \"\")[1] };\n};\n\n// Require and return a module\nvar requireModule = function requireModule(module, localRequire) {\n\tlocalRequire(module.key);\n\treturn module;\n};\n\n/// Load all plugins from the given require context.\n/// @example\n/// \timport { pluginAutoLoader } from \"nice-experience\";\n/// \tpluginAutoLoader.load(require.context(\"./\", true, /\\.js$/));\nfunction load(localRequire) {\n\t// Build a list from which to auto-load\n\tlocalRequire.keys().filter(function (k) {\n\t\treturn k !== \"./experience.js\";\n\t}) // Ignore experience as it's our entry point so treated differently\n\t.map(getModuleObj).map(function (module) {\n\t\treturn requireModule(module, localRequire);\n\t}).filter(function (m) {\n\t\treturn m.name in $.fn;\n\t}); // Now the module is loaded, only care about ones that are a plugin\n}\n\nfunction findPlugins($context) {\n\t(0, _pluginizr.getPlugins)().forEach(function (plugin) {\n\t\t// Load any plugins automatically\n\t\t$(\"[data-\" + plugin.name + \"]\", $context || $(document)).each(function (i, el) {\n\n\t\t\tvar $el = $(el),\n\t\t\t    options;\n\n\t\t\t// Convert plugin data-attributes into options object\n\t\t\t// e.g. data-plugin-test=\"true\" data-plugin-something-else=\"1\" becomes:\n\t\t\t// { test: true, somethingElse: 1 }\n\t\t\t[].forEach.call(el.attributes, function (attr) {\n\n\t\t\t\tvar match = attr.name.match(new RegExp(\"^data-(\" + plugin.name + \"-.+)\"));\n\t\t\t\tif (match && match.length === 2) {\n\t\t\t\t\tvar attrName = $.camelCase(match[1]),\n\t\t\t\t\t    propName = $.camelCase(match[1].replace(plugin.name + \"-\", \"\"));\n\t\t\t\t\toptions = options || {};\n\t\t\t\t\toptions[propName] = $el.data(attrName); // Use jquery's data because it parses types\n\t\t\t\t}\n\t\t\t});\n\n\t\t\t$(el)[plugin.name](options);\n\t\t});\n\t});\n}\n\n/// Auto plugin loader.\n/// Useful for JIT loading of plugins\nexports['default'] = {\n\tload: load,\n\tfindPlugins: findPlugins\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/javascripts/plugin-autoloader.js\n// module id = 2\n// module chunks = 0","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nexports.getPlugins = getPlugins;\n// List of registered plugins, as { name, pluginClass }\nvar plugins = [];\n\n/**\n * Gets a list of registered plugins.\n *\n * @return {Array} The list of registered plugins. The array item consists of a name (string) property pluginClass property.\n */\nfunction getPlugins() {\n\treturn plugins;\n}\n\n/**\n * Turns a given class into a jQuery plugin.\n * Proxies methods on the class via jQuery plugin style invocation (see example).\n * @param  {string} pluginName\tThe name of the plugin\n * @param  {Class} plugin \t\tThe class of the plugin itself\n * @link http://www.acuriousanimal.com/2013/01/15/things-i-learned-creating-a-jquery-plugin-part-i.html\n * @example\n * \timport { pluginizr } from \"nice-experience\";\n * \tpublic class Test {\n * \t\tconstructor(element, options) {\n * \t\t}\n * \t\taMethod(arg1) {\n *\n * \t\t}\n * \t\tgetValue() {\n * \t\t\treturn true;\n * \t\t}\n * \t}\n * \tpluginizr(\"test\", Test);\n *\n * \t// Class Test is now available as a plugin:\n * \t$(\".selector\").test();\n * \t$(\".selector\").test(\"aMethod\", 99);\n * \tvar value = $(\".selector\").test(\"getValue\");\n */\n\nexports['default'] = function (pluginName, Plugin) {\n\n\tplugins.push({ name: pluginName, pluginClass: Plugin }); // Store this registered plugin\n\n\tvar dataName = \"__\" + pluginName,\n\t    old = $.fn[pluginName];\n\n\t$.fn[pluginName] = function (options) {\n\t\tvar _this = this;\n\n\t\tvar args = arguments;\n\n\t\t// TODO: Destory plugin by removing the data\n\n\t\tif (options === undefined || (typeof options === \"undefined\" ? \"undefined\" : _typeof(options)) === \"object\") {\n\t\t\treturn this.each(function (i, el) {\n\t\t\t\t// Create an instance of the plugin and cache it\n\t\t\t\tif (!$.data(el, dataName)) {\n\t\t\t\t\t$.data(el, dataName, new Plugin(el, options));\n\t\t\t\t}\n\t\t\t});\n\t\t} else if (typeof options === \"string\" && options[0] !== \"_\" && options !== \"init\") {\n\t\t\tvar instance;\n\n\t\t\tvar _ret = function () {\n\t\t\t\t// _* methods as these are private by convention\n\n\t\t\t\t// Assume $(\".selector\").plugin(\"methodName\", anArg, anotherArg)\n\t\t\t\t// Call a public plugin method (not starting with an underscore) for each selected element.\n\t\t\t\tvar methodName = options,\n\t\t\t\t    methodArgs = Array.prototype.slice.call(args, 1);\n\n\t\t\t\t// Ideally we would use Object.getOwnPropertyNames(Plugin.prototype); to get\n\t\t\t\t// true 'getters' but to support IE8 we can't do this. So we relay on a naming\n\t\t\t\t// convention of getters start \"get\" e.g. getCurrentIndex();\n\n\t\t\t\t// No arguments and starting with 'get' means a getter which breaks chainability\n\t\t\t\tif (methodArgs.length == 0 && /^get.+$/.test(methodName)) {\n\t\t\t\t\tif (_this.length > 1) {\n\t\t\t\t\t\t$.error(\"Cannot call a getter '\" + methodName + \"' on a collection of elements\");\n\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\tv: void 0\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\t\t\t\t\tinstance = $.data(_this[0], dataName);\n\n\t\t\t\t\treturn {\n\t\t\t\t\t\tv: instance[methodName].apply(instance)\n\t\t\t\t\t};\n\t\t\t\t} else {\n\t\t\t\t\t// Invoke the speficied method on each selected element\n\t\t\t\t\treturn {\n\t\t\t\t\t\tv: _this.each(function () {\n\t\t\t\t\t\t\tvar instance = $.data(this, dataName);\n\t\t\t\t\t\t\tif (instance instanceof Plugin && typeof instance[methodName] === \"function\") {\n\t\t\t\t\t\t\t\tinstance[methodName].apply(instance, methodArgs);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$.error(\"Method '\" + methodName + \"' could not be found\");\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}\n\t\t\t}();\n\n\t\t\tif ((typeof _ret === \"undefined\" ? \"undefined\" : _typeof(_ret)) === \"object\") return _ret.v;\n\t\t}\n\t};\n\n\t// Expose the plugins\"s defaults so plugin users can see them\n\tif (Plugin.defaults && typeof Plugin.defaults === \"function\") $.fn[pluginName].defaults = Plugin.defaults();\n\n\t// No conflict\n\t$.fn[pluginName].noConflict = function () {\n\t\treturn $.fn[pluginName] = old;\n\t};\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/javascripts/pluginizr.js\n// module id = 3\n// module chunks = 0","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); /*eslint-env browser */\n\n/**\n * @module A test module\n * Tabs\n */\n\nvar _keycode = require(\"keycode\");\n\nvar _keycode2 = _interopRequireDefault(_keycode);\n\nvar _pluginizr = require(\"../../javascripts/pluginizr\");\n\nvar _pluginizr2 = _interopRequireDefault(_pluginizr);\n\nvar _eventr = require(\"../../javascripts/eventr\");\n\nvar _eventr2 = _interopRequireDefault(_eventr);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar Defaults = {\n\ttabClass: \"tabs__tab\",\n\ttabActiveClass: \"tabs__tab--active\",\n\ttabButtonClass: \"tabs__tab-btn\",\n\ttabPaneClass: \"tabs__pane\",\n\ttabPaneActiveClass: \"tabs__pane--active\"\n};\n\n// Generate unique id amongst tabs\n// See http://stackoverflow.com/a/20302361\nvar uid = function (i) {\n\treturn function () {\n\t\treturn \"tabs-\" + ++i;\n\t};\n}(0);\n\n/**\n * @class Tabs\n * Follows W3 design for tab panels with aria attributes.\n * @link https://www.w3.org/TR/2013/WD-wai-aria-practices-20130307/#tabpanel\n */\n\nvar Tabs = function () {\n\t_createClass(Tabs, null, [{\n\t\tkey: \"defaults\",\n\t\tvalue: function defaults() {\n\t\t\treturn Defaults;\n\t\t}\n\t}]);\n\n\tfunction Tabs(element, options) {\n\t\tvar _this = this;\n\n\t\t_classCallCheck(this, Tabs);\n\n\t\tif (!element) throw new Error(\"Element must be non-null\");\n\n\t\tthis.el = element;\n\t\tthis.$el = $(element);\n\n\t\tthis.options = $.extend({}, Tabs.defaults(), options);\n\n\t\t// Generate random ids for tabs and panes, for use with aria attributes\n\t\tthis._getTabs().each(function (i, el) {\n\t\t\tvar tabId = uid(),\n\t\t\t    paneId = uid();\n\n\t\t\t$(el).find(\".\" + _this.options.tabButtonClass).prop(\"id\", tabId).attr(\"aria-controls\", paneId);\n\n\t\t\t_this._getTabPanes().eq(i).prop(\"id\", paneId).attr(\"aria-labelledby\", tabId);\n\t\t});\n\n\t\tthis.delegate();\n\n\t\tthis.activate(0, false);\n\t}\n\n\t_createClass(Tabs, [{\n\t\tkey: \"events\",\n\t\tvalue: function events() {\n\t\t\tvar _ref;\n\n\t\t\treturn _ref = {}, _defineProperty(_ref, \"click .\" + this.options.tabButtonClass, \"_handleTabBtnClick\"), _defineProperty(_ref, \"keydown .\" + this.options.tabButtonClass, \"_handleTabBtnKeydown\"), _defineProperty(_ref, \"keydown .\" + this.options.tabPaneClass, \"_handlePaneKeydown\"), _ref;\n\t\t}\n\n\t\t/// Gets the 0-based index of the currently selected tab\n\n\t}, {\n\t\tkey: \"getCurrentIndex\",\n\t\tvalue: function getCurrentIndex() {\n\t\t\treturn this._getTabs().filter(\".\" + this.options.tabActiveClass).index();\n\t\t}\n\n\t\t/// Activates a tab with the given index\n\t\t/// @param {integer} index The index of the tab to activate\n\t\t/// @param {boolean} focus Whether to give focus to the active tab btn\n\n\t}, {\n\t\tkey: \"activate\",\n\t\tvalue: function activate(index) {\n\t\t\tvar focus = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n\n\t\t\tvar $selectedTabBtn = this._getTabs().removeClass(this.options.tabActiveClass).find(\".\" + this.options.tabButtonClass).attr(\"aria-expanded\", false).attr(\"aria-selected\", false).end().eq(index).addClass(this.options.tabActiveClass).find(\".\" + this.options.tabButtonClass).attr(\"aria-expanded\", true).attr(\"aria-selected\", true);\n\n\t\t\tif (focus === true) {\n\t\t\t\t$selectedTabBtn.focus();\n\t\t\t}\n\n\t\t\tthis._getTabPanes().removeClass(this.options.tabPaneActiveClass).attr(\"aria-hidden\", true).eq(index).addClass(this.options.tabPaneActiveClass).attr(\"aria-hidden\", false);\n\n\t\t\treturn this.getCurrentIndex();\n\t\t}\n\n\t\t/**\n   * Activates the next tab, or the first we're at the end\n   * @return {Integer} The current index\n   */\n\n\t}, {\n\t\tkey: \"next\",\n\t\tvalue: function next() {\n\t\t\tvar currentIndex = this.getCurrentIndex();\n\t\t\tif (currentIndex === this._getTabs().length - 1) {\n\t\t\t\treturn this.first();\n\t\t\t} else {\n\t\t\t\treturn this.activate(currentIndex + 1);\n\t\t\t}\n\t\t}\n\n\t\t/**\n   * Activates the previous tab, or the last tab if we're at the start\n   * @return {Integer} The current index\n   */\n\n\t}, {\n\t\tkey: \"previous\",\n\t\tvalue: function previous() {\n\t\t\tvar currentIndex = this.getCurrentIndex();\n\t\t\tif (currentIndex === 0) {\n\t\t\t\treturn this.last();\n\t\t\t} else {\n\t\t\t\treturn this.activate(currentIndex - 1);\n\t\t\t}\n\t\t}\n\n\t\t/**\n   * Activates the first tab\n   * @return {Integer} The current index\n   */\n\n\t}, {\n\t\tkey: \"first\",\n\t\tvalue: function first() {\n\t\t\treturn this.activate(0);\n\t\t}\n\n\t\t/**\n   * Activates the last tab\n   * @return {Integer} The current index\n   */\n\n\t}, {\n\t\tkey: \"last\",\n\t\tvalue: function last() {\n\t\t\treturn this.activate(this._getTabs().length - 1);\n\t\t}\n\n\t\t// PRIVATE\n\n\t\t// Gets the tab elements\n\n\t}, {\n\t\tkey: \"_getTabs\",\n\t\tvalue: function _getTabs() {\n\t\t\treturn $(\".\" + this.options.tabClass, this.$el);\n\t\t}\n\n\t\t// Gets the tab pane elements\n\n\t}, {\n\t\tkey: \"_getTabPanes\",\n\t\tvalue: function _getTabPanes() {\n\t\t\treturn $(\".\" + this.options.tabPaneClass, this.$el);\n\t\t}\n\n\t\t// Handle clicking on a tab\n\n\t}, {\n\t\tkey: \"_handleTabBtnClick\",\n\t\tvalue: function _handleTabBtnClick(e) {\n\t\t\te.preventDefault();\n\n\t\t\tvar index = $(e.currentTarget).closest(\".\" + this.options.tabClass).index();\n\t\t\tthis.activate(index);\n\t\t}\n\n\t\t// Enable keyboard control of the tabs\n\n\t}, {\n\t\tkey: \"_handleTabBtnKeydown\",\n\t\tvalue: function _handleTabBtnKeydown(e) {\n\t\t\tswitch ((0, _keycode2['default'])(e.which)) {\n\t\t\t\t// Go backwards one tab\n\t\t\t\tcase \"left\":\n\t\t\t\tcase \"up\":\n\t\t\t\t\te.preventDefault();\n\t\t\t\t\te.stopPropagation();\n\t\t\t\t\tthis.previous();\n\t\t\t\t\tbreak;\n\n\t\t\t\t// Go forward one tab\n\t\t\t\tcase \"right\":\n\t\t\t\tcase \"down\":\n\t\t\t\t\te.preventDefault();\n\t\t\t\t\te.stopPropagation();\n\t\t\t\t\tthis.next();\n\t\t\t\t\tbreak;\n\n\t\t\t\t// Go to the first tab\n\t\t\t\tcase \"home\":\n\t\t\t\t\te.preventDefault();\n\t\t\t\t\te.stopPropagation();\n\t\t\t\t\tthis.first();\n\t\t\t\t\tbreak;\n\n\t\t\t\t// Go to the last tab\n\t\t\t\tcase \"end\":\n\t\t\t\t\te.preventDefault();\n\t\t\t\t\te.stopPropagation();\n\t\t\t\t\tthis.last();\n\t\t\t\t\tbreak;\n\n\t\t\t\t// Go to the focussed tab\n\t\t\t\tcase \"enter\":\n\t\t\t\tcase \"space\":\n\t\t\t\t\te.preventDefault();\n\t\t\t\t\te.stopPropagation();\n\t\t\t\t\tthis.activate($(e.currentTarget).closest(\".\" + this.options.tabClass).index());\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\t// Focus the current tab btn on a ctrl+up or ctrl+left when in a tab pane\n\n\t}, {\n\t\tkey: \"_handlePaneKeydown\",\n\t\tvalue: function _handlePaneKeydown(e) {\n\t\t\tif ($.inArray((0, _keycode2['default'])(e.which), [\"up\", \"left\"]) > -1 && e.ctrlKey) {\n\t\t\t\te.preventDefault();\n\t\t\t\te.stopPropagation();\n\n\t\t\t\tvar tabId = $(e.currentTarget).attr(\"aria-labelledby\");\n\t\t\t\t$(\"#\" + tabId).focus();\n\t\t\t}\n\t\t}\n\t}]);\n\n\treturn Tabs;\n}();\n\nexports['default'] = Tabs;\n\n\n(0, _eventr2['default'])(Tabs);\n(0, _pluginizr2['default'])(\"tabs\", Tabs);\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/tabs/tabs.js\n// module id = 4\n// module chunks = 0","// Source: http://jsfiddle.net/vWx8V/\n// http://stackoverflow.com/questions/5603195/full-list-of-javascript-keycodes\n\n/**\n * Conenience method returns corresponding value for given keyName or keyCode.\n *\n * @param {Mixed} keyCode {Number} or keyName {String}\n * @return {Mixed}\n * @api public\n */\n\nexports = module.exports = function(searchInput) {\n  // Keyboard Events\n  if (searchInput && 'object' === typeof searchInput) {\n    var hasKeyCode = searchInput.which || searchInput.keyCode || searchInput.charCode\n    if (hasKeyCode) searchInput = hasKeyCode\n  }\n\n  // Numbers\n  if ('number' === typeof searchInput) return names[searchInput]\n\n  // Everything else (cast to string)\n  var search = String(searchInput)\n\n  // check codes\n  var foundNamedKey = codes[search.toLowerCase()]\n  if (foundNamedKey) return foundNamedKey\n\n  // check aliases\n  var foundNamedKey = aliases[search.toLowerCase()]\n  if (foundNamedKey) return foundNamedKey\n\n  // weird character?\n  if (search.length === 1) return search.charCodeAt(0)\n\n  return undefined\n}\n\n/**\n * Get by name\n *\n *   exports.code['enter'] // => 13\n */\n\nvar codes = exports.code = exports.codes = {\n  'backspace': 8,\n  'tab': 9,\n  'enter': 13,\n  'shift': 16,\n  'ctrl': 17,\n  'alt': 18,\n  'pause/break': 19,\n  'caps lock': 20,\n  'esc': 27,\n  'space': 32,\n  'page up': 33,\n  'page down': 34,\n  'end': 35,\n  'home': 36,\n  'left': 37,\n  'up': 38,\n  'right': 39,\n  'down': 40,\n  'insert': 45,\n  'delete': 46,\n  'command': 91,\n  'left command': 91,\n  'right command': 93,\n  'numpad *': 106,\n  'numpad +': 107,\n  'numpad -': 109,\n  'numpad .': 110,\n  'numpad /': 111,\n  'num lock': 144,\n  'scroll lock': 145,\n  'my computer': 182,\n  'my calculator': 183,\n  ';': 186,\n  '=': 187,\n  ',': 188,\n  '-': 189,\n  '.': 190,\n  '/': 191,\n  '`': 192,\n  '[': 219,\n  '\\\\': 220,\n  ']': 221,\n  \"'\": 222\n}\n\n// Helper aliases\n\nvar aliases = exports.aliases = {\n  'windows': 91,\n  '⇧': 16,\n  '⌥': 18,\n  '⌃': 17,\n  '⌘': 91,\n  'ctl': 17,\n  'control': 17,\n  'option': 18,\n  'pause': 19,\n  'break': 19,\n  'caps': 20,\n  'return': 13,\n  'escape': 27,\n  'spc': 32,\n  'pgup': 33,\n  'pgdn': 34,\n  'ins': 45,\n  'del': 46,\n  'cmd': 91\n}\n\n\n/*!\n * Programatically add the following\n */\n\n// lower case chars\nfor (i = 97; i < 123; i++) codes[String.fromCharCode(i)] = i - 32\n\n// numbers\nfor (var i = 48; i < 58; i++) codes[i - 48] = i\n\n// function keys\nfor (i = 1; i < 13; i++) codes['f'+i] = i + 111\n\n// numpad keys\nfor (i = 0; i < 10; i++) codes['numpad '+i] = i + 96\n\n/**\n * Get by code\n *\n *   exports.name[13] // => 'Enter'\n */\n\nvar names = exports.names = exports.title = {} // title for backward compat\n\n// Create reverse mapping\nfor (i in codes) names[codes[i]] = i\n\n// Add aliases\nfor (var alias in aliases) {\n  codes[alias] = aliases[alias]\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/keycode/index.js\n// module id = 5\n// module chunks = 0","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.delegate = delegate;\nexports.undelegate = undelegate;\n/**\n * @module Eventr\n * Delegate and undelegate events\n * @example\n * \t\timport { delegate } from \"./eventr\";\n *  \tdelegate(obj);\n *\n *  \timport eventr from \"./eventr\";\n *  \teventr.delegate(obj);\n *  \teventr.undelegate(obj);\n *  \tclass Test {\n *  \t\tconstructor() {\n *  \t\t\tthis.delegate();\n *  \t\t}\n *  \t}\n *  \teventr(Test);\n */\n\n// Regex to split event delegates, see http://backbonejs.org/docs/backbone.html#section-153\n// for more info\nvar DelegateEventSplitter = /^(\\S+)\\s*(.*)$/;\n\n// jQuery Event Namespace. See http://api.jquery.com/on/ for more info\nvar EventNamespace = \"delegateEvents\";\n\n/**\n * Delegates events on an object instance. Allows a consistent, declarative approach to binding events.\n * Expects the instance parameter to have 2 properties:\n * \t- $el - The jQuery element(s) to use as a context\n * \t- events() - Function that returns an events hash\n * Bound events are namespaced with the 'EventNamespace' string.\n * The events hash is like Backbone's events hash and consists of {“event selector”: “callback”}.\n * The callback can either be a named method to call on the instance or a function itself.\n * The callback function is called with 'instance' as the context for 'this'.\n *\n * @example\n * \timport { delegate } from \"./eventr\";\n * \tclass Test {\n * \t\tconstructor(el) {\n * \t\t\tthis.$el = $(el);\n * \t\t\tdelegate(this);\n * \t\t}\n * \t\tevents() {\n * \t\t\treturn {\n * \t\t\t\t\"click .something\": \"_clickHandler\",\n * \t\t\t\t[`keydown .${ something }`]: () => { }\n * \t\t\t}\n * \t\t}\n * \t\t_clickHandler(e) { }\n * \t}\n *\n * @param  {Object} instance An instance of an object\n * @return {Object}          The instance\n * @throws {Error} If instance isn't truthy\n * @throws {Error} If instace.$el doesn't exist\n * @throws {Error} If instanceevents isn't a function\n */\nfunction delegate(instance) {\n  if (!instance) {\n    $.error(\"Instance must be non-null\");\n  }\n  if (!instance.$el) {\n    $.error(\"Instance.$el must be non-null\");\n  }\n  if (!instance.events || typeof instance.events !== \"function\") {\n    $.error(\"Instance.events must be a function\");\n  }\n\n  var events = instance.events();\n\n  if (!events) return instance;\n\n  for (var key in events) {\n    var method = events[key];\n\n    if (typeof method !== \"function\") method = instance[method];\n\n    if (!method) {\n      $.error(\"Method could not be found\");\n    }\n\n    var match = key.match(DelegateEventSplitter),\n        eventName = match[1],\n        selector = match[2];\n\n    instance.$el.on(eventName + \".\" + EventNamespace, selector, $.proxy(method, instance));\n  }\n\n  return instance;\n}\n\n/**\n * Undelegate events on an object instance\n * @param  {Object} instance An instance of an object\n * @return {Object}          The instance\n */\nfunction undelegate(instance) {\n  if (!instance) {\n    $.error(\"Instance must be non-null\");\n  }\n  if (!instance.$el) {\n    $.error(\"Instance.$el must be non-null\");\n  }\n  instance.$el.off(\".\" + EventNamespace);\n  return instance;\n}\n\n/**\n * Mixes in event delegate and undelegate functionality into a class's\n * protoype so it can be called as \"this.delegate()\". A convenient abstraction\n * over the individual 'delegate' and 'undelegate' functions.\n * @param  {Class} pluginClass The class on which to add the prototype methods\n * @example\n * \timport eventr from \"./eventr\";\n * \tclass Test {\n * \t\tconstructor(el) {\n * \t\t\tthis.$el = $(el);\n * \t\t\tthis.delegate();\n * \t\t}\n * \t\tevents() {\n * \t\t\treturn {\n * \t\t\t\t\"click .something\": \"_clickHandler\",\n * \t\t\t\t[`keydown .${ something }`]: () => { }\n * \t\t\t}\n * \t\t}\n * \t\t_clickHandler(e) { }\n * \t}\n * \teventr(Test;)\n */\nfunction mixin(pluginClass) {\n  pluginClass.prototype.delegate = function () {\n    return mixin.delegate.call(this, this);\n  };\n  pluginClass.prototype.undelegate = function () {\n    return mixin.undelegate.call(this, this);\n  };\n}\nmixin.delegate = delegate;\nmixin.undelegate = undelegate;\n\nexports['default'] = mixin;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/javascripts/eventr.js\n// module id = 6\n// module chunks = 0","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\nexports.Defaults = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _pluginizr = require(\"../../javascripts/pluginizr\");\n\nvar _pluginizr2 = _interopRequireDefault(_pluginizr);\n\nvar _utils = require(\"../../javascripts/utils\");\n\nvar _utils2 = _interopRequireDefault(_utils);\n\nvar _breakpoints = require(\"../../javascripts/breakpoints\");\n\nvar _inPageNavTemplate = require(\"./in-page-nav.template.njk\");\n\nvar _inPageNavTemplate2 = _interopRequireDefault(_inPageNavTemplate);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\n/**\n * { The default settings for in page nav }\n *\n * @type       {Object}\n */\nvar Defaults = exports.Defaults = {\n\n\t// Selector for the container to look for headings from which the nav tree is built\n\theadingsContainer: \"body\",\n\n\t// Selector for headings to include\n\theadings: \"h2,h3\",\n\n\t// Selector for excluding headings\n\theadingsExclude: \"[data-no-inpagenav] *, [data-no-inpagenav]\",\n\n\t// Number of pixels from the top of the screen that a heading is considered to be 'active'\n\tscrollTolerance: 80,\n\n\t// The target element that the in page nav will be moved to on wider breakpoints\n\twideTarget: null,\n\n\t// The breakpoint from which the nav will be moved into 'wideTarget'\n\twideBreakpoint: \"md\"\n};\n\n/// Creates a nested, in page navigation, built from existing headings on the page.\n/// @see {@link http://stackoverflow.com/a/12279190/486434|Useful answer on StackOverflow}\n/// @example <caption>Simplest example</caption>\n/// \t<div data-inpagenav></div>\n/// @example <caption>Example with all options</caption>\n/// \t<aside role=\"complementary\" data-inpagenav data-inpagenav-headings-container=\"#main\" data-inpagenav-headings=\"h2,h3\" data-inpagenav-headings-exclude=\"[data-no-inpagenav]\" data-inpagenav-scroll-tolerance=\"100\"></aside>\n/// @example <caption>Raw JS usage</caption>\n/// \tlet inPageNav = new InPageNav($nav);\n/// @example <caption>jQuery plugin usage</caption>\n/// \t$(document).ready(function() {\n/// \t\t$nav.inpagenav();\n/// \t});\n\nvar InPageNav = function () {\n\t_createClass(InPageNav, null, [{\n\t\tkey: \"defaults\",\n\t\tvalue: function defaults() {\n\t\t\treturn Defaults;\n\t\t}\n\t}]);\n\n\tfunction InPageNav(element, options) {\n\t\tvar _this = this;\n\n\t\t_classCallCheck(this, InPageNav);\n\n\t\tif (!element) throw new Error(\"Element must be non-null\");\n\n\t\tthis.el = element;\n\t\tthis.$el = $(element);\n\n\t\t// Generate uid for this component, used for namespacing events\n\t\tthis.uid = _utils2['default'].nextUniqueId(\"inpagenav\");\n\n\t\tthis.options = $.extend({}, InPageNav.defaults(), options);\n\n\t\t// The containing element where the nav will be moved to on wider breakpoints\n\t\tthis.$wideTarget = $(\"#\" + this.options.wideTarget);\n\n\t\t// Find headings to use for building the nav\n\t\tthis.headings = this.getHeadings();\n\n\t\tthis.render();\n\t\tthis.updateNavState();\n\n\t\t$(window).on(\"load.InPageNav.\" + this.uid, function () {\n\t\t\t_this.updateNavState();\n\t\t}).on(\"scroll.InPageNav.\" + this.uid, function () {\n\t\t\t_this.updateNavState(true);\n\t\t}).on(\"resize.InPageNav.\" + this.uid, function () {\n\t\t\t_this.calculatePosition();\n\t\t});\n\t}\n\n\t_createClass(InPageNav, [{\n\t\tkey: \"destroy\",\n\t\tvalue: function destroy() {\n\t\t\t$(window).off(\".\" + this.uid);\n\t\t\tthis.$el.remove();\n\t\t}\n\n\t\t// Builds a navigation object tree and renderes it into the element\n\t\t// via the pre-compiled template\n\n\t}, {\n\t\tkey: \"render\",\n\t\tvalue: function render() {\n\t\t\tvar _this2 = this;\n\n\t\t\t// Recursively builds a nested tree of links\n\t\t\tvar buildTree = function buildTree(headings) {\n\t\t\t\tvar level = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n\n\t\t\t\tvar arr = [];\n\t\t\t\tfor (var i = 0; i < headings.length; i++) {\n\t\t\t\t\tvar hdng = headings[i];\n\n\t\t\t\t\t// Headings needs an id for the # href to work\n\t\t\t\t\t_this2.generateHeadingId(hdng);\n\n\t\t\t\t\t// TODO: Replace magic number '2' with min from list of headings\n\t\t\t\t\tvar index = parseInt(hdng.tagName.substring(1)) - 2;\n\n\t\t\t\t\tif (index === level) {\n\t\t\t\t\t\tarr.push({\n\t\t\t\t\t\t\ttitle: $(hdng).text(),\n\t\t\t\t\t\t\thref: \"#\" + hdng.id,\n\t\t\t\t\t\t\tlinks: buildTree(headings.slice(i + 1), level + 1)\n\t\t\t\t\t\t});\n\t\t\t\t\t} else if (level > 0) {\n\t\t\t\t\t\treturn arr;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn arr;\n\t\t\t};\n\n\t\t\t// Render the nested tree with our pre-compiled template\n\t\t\tvar tree = buildTree(this.headings);\n\t\t\tthis.$el.html(_inPageNavTemplate2['default'].render({ links: tree }));\n\n\t\t\tthis.$inpagenav = this.$el.find(\".in-page-nav\");\n\t\t}\n\n\t\t/**\n   * Resets classes and aria attributes\n   */\n\n\t}, {\n\t\tkey: \"resetNavState\",\n\t\tvalue: function resetNavState() {\n\t\t\t$(\"a\", this.$inpagenav).attr(\"aria-selected\", false);\n\n\t\t\tthis.$inpagenav.removeAttr(\"aria-activedescendant\");\n\n\t\t\t// TODO: This should be a media query with em values\n\t\t\t// Nav is fully expanded on smaller breakpoints\n\t\t\t// and expands as you scroll on wider breakpoints\n\t\t\tif ((0, _breakpoints.matchesFrom)(this.options.wideBreakpoint)) {\n\t\t\t\t$(\".in-page-nav__list .in-page-nav__list\", this.$inpagenav).attr(\"aria-expanded\", false).attr(\"aria-hidden\", true);\n\t\t\t} else {\n\t\t\t\t$(\".in-page-nav__list .in-page-nav__list\", this.$inpagenav).attr(\"aria-expanded\", true).attr(\"aria-hidden\", false);\n\t\t\t}\n\t\t}\n\n\t\t// Determins which navigation elements are active\n\n\t}, {\n\t\tkey: \"updateNavState\",\n\t\tvalue: function updateNavState() {\n\t\t\tvar updateHash = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n\n\n\t\t\tthis.resetNavState();\n\n\t\t\tvar activeHeading = this.getActiveHeading();\n\n\t\t\tif (!activeHeading) return;\n\n\t\t\tvar activeHref = \"#\" + activeHeading.id,\n\t\t\t    $activeLink = $(\"a[href='\" + activeHref + \"']\", this.$inpagenav);\n\n\t\t\tif (updateHash && history.replaceState) {\n\t\t\t\thistory.replaceState(undefined, undefined, activeHref);\n\t\t\t}\n\n\t\t\t// Set aria-activedescendant on parent element\n\t\t\tthis.$inpagenav.attr(\"aria-activedescendant\", $activeLink.attr(\"id\"));\n\n\t\t\t$activeLink.attr(\"aria-selected\", true);\n\n\t\t\t// aria-expanded=\"true/false\" for second-level <ul> containers\n\t\t\t// aria-hidden=\"true/false\" for second-level <ul> containers\n\t\t\t$activeLink.closest(\".in-page-nav__item\").find(\".in-page-nav__list\").attr(\"aria-expanded\", true).attr(\"aria-hidden\", false).end().parents(\".in-page-nav__list\").attr(\"aria-expanded\", true).attr(\"aria-hidden\", false);\n\n\t\t\tthis.calculatePosition();\n\t\t}\n\t}, {\n\t\tkey: \"calculatePosition\",\n\t\tvalue: function calculatePosition() {\n\t\t\t// If the element isn't attached to the dom then don't care about calculating position\n\t\t\tif (!document.contains(this.$el[0])) return;\n\n\t\t\tthis.calculateFixedPosition();\n\t\t\tthis.attachToCorrectParent();\n\t\t}\n\n\t\t/**\n   * Works out whether the menu should be fixed or not and add/removes a class to reflect this.\n   */\n\n\t}, {\n\t\tkey: \"calculateFixedPosition\",\n\t\tvalue: function calculateFixedPosition() {\n\t\t\tvar isFixed = this.$inpagenav.outerHeight() <= $(window).height() && $(window).scrollTop() > this.$inpagenav.parent().offset().top;\n\n\t\t\tif (isFixed) this.$inpagenav.addClass(\"in-page-nav--fixed\");else this.$inpagenav.removeClass(\"in-page-nav--fixed\");\n\t\t}\n\n\t\t// Attached the in page nav to the correct parent depending on breakpoint.\n\t\t// ie on mobile devices the nav sits within the main body but on wider screens\n\t\t// it gets copied into a different container\n\n\t}, {\n\t\tkey: \"attachToCorrectParent\",\n\t\tvalue: function attachToCorrectParent() {\n\n\t\t\tvar isWide = (0, _breakpoints.matchesFrom)(this.options.wideBreakpoint) && this.$wideTarget.length === 1;\n\n\t\t\t// Move to the correct container based on width\n\t\t\tif (isWide) {\n\t\t\t\tif (!this.$inpagenav.parent().is(this.$wideTarget)) {\n\t\t\t\t\t// Move element to the target\n\t\t\t\t\tthis.$inpagenav.appendTo(this.$wideTarget);\n\t\t\t\t}\n\t\t\t} else if (!this.$inpagenav.parent().is(this.$el)) {\n\t\t\t\tthis.$inpagenav.appendTo(this.$el);\n\t\t\t}\n\t\t}\n\n\t\t/**\n   * Returns the 'active' heading element. That is, the heading at the top\n   * of the viewport, taking into the scrollTolerance option.\n   */\n\n\t}, {\n\t\tkey: \"getActiveHeading\",\n\t\tvalue: function getActiveHeading() {\n\t\t\tvar _this3 = this;\n\n\t\t\tvar scrollTop = $(window).scrollTop(),\n\t\t\t    activeHeading = this.headings && this.headings[0] || null;\n\n\t\t\t$(this.headings).each(function (i, heading) {\n\t\t\t\tvar y = $(heading).offset().top - scrollTop - _this3.options.scrollTolerance;\n\t\t\t\tif (y <= 0) activeHeading = heading;else return false;\n\t\t\t});\n\n\t\t\treturn activeHeading;\n\t\t}\n\n\t\t// Find headings to use for building the nav\n\n\t}, {\n\t\tkey: \"getHeadings\",\n\t\tvalue: function getHeadings() {\n\t\t\treturn $(this.options.headingsContainer).find(this.options.headings).not(this.options.headingsExclude).not(\"#ipn-title\").toArray();\n\t\t}\n\n\t\t/**\n   * Generates an id for a given heading element from its text content, but only if\n   * it doesn't already have an id.\n   * Checks to se if an element alrerady exists with the generated id - if it does\n   * then it adds an integer suffix incremented from the current maximum e.g. -1, -2.\n   * This is to cater for the scenario that the id already exists on the page or if\n   * there are 2 headings with the same text.\n   *\n   * @param {HTMLHeadingElement} heading { The heading for which to generate an id }\n   * @returns {HTMLHeadingElement} { The heading that was passed in }\n   */\n\n\t}, {\n\t\tkey: \"generateHeadingId\",\n\t\tvalue: function generateHeadingId(heading) {\n\n\t\t\tif (heading.id) return heading;\n\n\t\t\tvar slug = _utils2['default'].slugify(heading.textContent);\n\n\t\t\tif ($(\"#\" + slug).length === 0) {\n\t\t\t\theading.id = slug;\n\t\t\t\treturn heading;\n\t\t\t}\n\n\t\t\t// Increment the integer suffix to make a unique id\n\t\t\tvar slugPrefixRegex = new RegExp(\"^\" + slug + \"(-d+)?\", \"i\");\n\n\t\t\tvar isSlugPrefixMatch = function isSlugPrefixMatch(i, el) {\n\t\t\t\treturn el.id.match(slugPrefixRegex);\n\t\t\t};\n\n\t\t\tvar max = $(\"[id]\").filter(isSlugPrefixMatch).length;\n\n\t\t\theading.id = slug + \"-\" + (max + 1);\n\t\t\treturn heading;\n\t\t}\n\t}]);\n\n\treturn InPageNav;\n}();\n\nexports['default'] = InPageNav;\n\n(0, _pluginizr2['default'])(\"inpagenav\", InPageNav);\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/in-page-nav/in-page-nav.js\n// module id = 7\n// module chunks = 0","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n/**\n * @module Utils\n * Utility functions\n */\n\n/**\n * Turns a string into a slug.\n * See {@link https://gist.github.com/mathewbyrne/1280286#gistcomment-1606270|this gist}.\n *\n * @param {string} str { The string to slugify }\n * @returns {string} { The slugified string }\n *\n * @example <caption>Example slugifying</caption>\n *          import { slugify } from \"./utils\";\n *          // returns \"a-string-to-transform-and-slugify\"\n *          slugify(\"A (string) to transform & slugify!\");\n */\nvar slugify = exports.slugify = function slugify(str) {\n  return str.toLowerCase().trim().replace(/\\s+/g, \"-\") // Replace spaces with -\n  .replace(/&/g, \"-and-\") // Replace & with 'and'\n  .replace(/[^\\w\\-]+/g, \"\") // Remove all non-word chars\n  .replace(/^\\-+/g, \"\") // Trim dashes from the start\n  .replace(/\\-+$/g, \"\") // Trim dashes from the end\n  .replace(/\\-{2,}/g, \"-\"); // Replace multiple - with single -\n};\n\n/**\n * Generates a unique id in the form prefix-n by incrementing a counter.\n * The first time this is called it will return \"uid-1\" then \"uid-2\" and so on.\n * See {@link http://stackoverflow.com/a/20302361|This StackOverflow answer}.\n *\n * @param {string} prefix { The prefix for the id to return. Defaults to \"uid\" }\n * @return {string} { The unique id }\n *\n * @example <caption>Simple example</caption>\n *          import { nextUniqueId } from \"./utils\";\n *          // returns \"uid-1\"\n *          nextUniqueId();\n *\n * @example <caption>Prefix example</caption>\n *          import utils from \"./utils\";\n *          // returns \"prefix-1\"\n *          utils.nextUniqueId(\"prefix\");\n */\nvar nextUniqueId = exports.nextUniqueId = function (i) {\n  return function () {\n    var prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : \"uid\";\n\n    return prefix + \"-\" + ++i;\n  };\n}(0);\n\nexports['default'] = {\n  slugify: slugify,\n  nextUniqueId: nextUniqueId\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/javascripts/utils.js\n// module id = 8\n// module chunks = 0","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n/**\n * @module Breakpoints\n */\n\n/**\n * The breakpoints, in pixel values.\n * These correspond with the breakpoints defined in SASS.\n * Often not used directly, but via matchesFrom.\n */\nvar breakpoints = {\n  xs: 400,\n  sm: 600,\n  md: 900,\n  lg: 1200,\n  xl: 1600\n};\n\n/**\n * Determines if the device's width matches a min-width query from the given breakpoint.\n *\n * @param {string} breakpointName The breakpoint name\n * @return {Boolean} True if it matches, false otherwise.\n *\n * @example\n * \timport { matchesFrom } from \"./breakpoints\";\n * \t// Checks if the media query (min-width: 25em) matches\n * \tvar matches = matchesFrom(\"xs\");\n */\nvar matchesFrom = function matchesFrom(breakpointName) {\n  var breakpointPx = breakpoints[breakpointName];\n\n  if (!breakpointPx) {\n    throw new Error(\"Breakpoint \" + breakpointName + \" does not exist\");\n  }\n\n  // Assume matchMedia is polyfilled elsewhere\n  // Convert to ems to match the media query if the browser's root font-size isn't 16\n  return window.matchMedia(\"(min-width: \" + breakpointPx / 16 + \"em)\").matches;\n};\n\nexports['default'] = breakpoints;\nexports.matchesFrom = matchesFrom;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/javascripts/breakpoints.js\n// module id = 9\n// module chunks = 0","var nunjucks = require(\"nunjucks/browser/nunjucks-slim\");\nvar env;\nif (!nunjucks.currentEnv){\n\tenv = nunjucks.currentEnv = new nunjucks.Environment([], { autoescape: true });\n} else {\n\tenv = nunjucks.currentEnv;\n}\nvar dependencies = nunjucks.webpackDependencies || (nunjucks.webpackDependencies = {});\n\n\n\n\nvar shim = require(\"C:/Users/iroutledge/Documents/Dev/NICE-Experience/node_modules/nunjucks-loader/runtime-shim\");\n\n\n(function() {(nunjucks.nunjucksPrecompiled = nunjucks.nunjucksPrecompiled || {})[\"src/components/in-page-nav/in-page-nav.template.njk\"] = (function() {\nfunction root(env, context, frame, runtime, cb) {\nvar lineno = null;\nvar colno = null;\nvar output = \"\";\ntry {\nvar parentTemplate = null;\nvar macro_t_1 = runtime.makeMacro(\n[\"link\", \"level\"], \n[], \nfunction (l_link, l_level, kwargs) {\nvar callerFrame = frame;\nframe = new runtime.Frame();\nkwargs = kwargs || {};\nif (kwargs.hasOwnProperty(\"caller\")) {\nframe.set(\"caller\", kwargs.caller); }\nframe.set(\"link\", l_link);\nframe.set(\"level\", l_level);\nvar t_2 = \"\";t_2 += \"\\n\\t<li class=\\\"in-page-nav__item\\\" role=\\\"presentation\\\">\\n\\t\\t<a id=\\\"ipn-\";\nt_2 += runtime.suppressValue((lineno = 2, colno = 31, runtime.callWrap(runtime.memberLookup((runtime.memberLookup((l_link),\"href\")),\"replace\"), \"link[\\\"href\\\"][\\\"replace\\\"]\", context, [\"#\",\"\"])), env.opts.autoescape);\nt_2 += \"\\\" href=\\\"\";\nt_2 += runtime.suppressValue(runtime.memberLookup((l_link),\"href\"), env.opts.autoescape);\nt_2 += \"\\\" role=\\\"menuitem\\\" aria-selected=\\\"false\\\">\\n\\t\\t\\t\";\nt_2 += runtime.suppressValue(runtime.memberLookup((l_link),\"title\"), env.opts.autoescape);\nt_2 += \"\\n\\t\\t</a>\\n\\t\\t\";\nif(runtime.memberLookup((l_link),\"links\") && runtime.memberLookup((runtime.memberLookup((l_link),\"links\")),\"length\") > 0) {\nt_2 += \"\\n\\t\\t\\t<ul class=\\\"in-page-nav__list\\\" role=\\\"menu\\\" aria-expanded=\\\"true\\\" aria-hidden=\\\"false\\\" aria-labelledby=\\\"ipn-\";\nt_2 += runtime.suppressValue((lineno = 6, colno = 125, runtime.callWrap(runtime.memberLookup((runtime.memberLookup((l_link),\"href\")),\"replace\"), \"link[\\\"href\\\"][\\\"replace\\\"]\", context, [\"#\",\"\"])), env.opts.autoescape);\nt_2 += \"\\\">\\n\\t\\t\\t\\t\";\nframe = frame.push();\nvar t_5 = runtime.memberLookup((l_link),\"links\");\nif(t_5) {var t_4 = t_5.length;\nfor(var t_3=0; t_3 < t_5.length; t_3++) {\nvar t_6 = t_5[t_3];\nframe.set(\"subLink\", t_6);\nframe.set(\"loop.index\", t_3 + 1);\nframe.set(\"loop.index0\", t_3);\nframe.set(\"loop.revindex\", t_4 - t_3);\nframe.set(\"loop.revindex0\", t_4 - t_3 - 1);\nframe.set(\"loop.first\", t_3 === 0);\nframe.set(\"loop.last\", t_3 === t_4 - 1);\nframe.set(\"loop.length\", t_4);\nt_2 += \"\\n\\t\\t\\t\\t\\t\";\nt_2 += runtime.suppressValue((lineno = 8, colno = 16, runtime.callWrap(runtime.contextOrFrameLookup(context, frame, \"renderLink\"), \"renderLink\", context, [t_6,l_level + 1])), env.opts.autoescape);\nt_2 += \"\\n\\t\\t\\t\\t\";\n;\n}\n}\nframe = frame.pop();\nt_2 += \"\\n\\t\\t\\t</ul>\\n\\t\\t\";\n;\n}\nt_2 += \"\\n\\t</li>\\n\";\n;\nframe = callerFrame;\nreturn new runtime.SafeString(t_2);\n});\ncontext.addExport(\"renderLink\");\ncontext.setVariable(\"renderLink\", macro_t_1);\noutput += \"\\n\\n<nav class=\\\"in-page-nav\\\" role=\\\"navigation\\\" aria-labelledby=\\\"ipn-title\\\">\\n\\t<h2 id=\\\"ipn-title\\\" class=\\\"in-page-nav__title\\\">On this page</h2>\\n\\n\\t<ul class=\\\"in-page-nav__list\\\" role=\\\"menubar\\\">\\n\\t\\t\";\nframe = frame.push();\nvar t_9 = runtime.contextOrFrameLookup(context, frame, \"links\");\nif(t_9) {var t_8 = t_9.length;\nfor(var t_7=0; t_7 < t_9.length; t_7++) {\nvar t_10 = t_9[t_7];\nframe.set(\"link\", t_10);\nframe.set(\"loop.index\", t_7 + 1);\nframe.set(\"loop.index0\", t_7);\nframe.set(\"loop.revindex\", t_8 - t_7);\nframe.set(\"loop.revindex0\", t_8 - t_7 - 1);\nframe.set(\"loop.first\", t_7 === 0);\nframe.set(\"loop.last\", t_7 === t_8 - 1);\nframe.set(\"loop.length\", t_8);\noutput += \"\\n\\t\\t\\t\";\noutput += runtime.suppressValue((lineno = 20, colno = 14, runtime.callWrap(macro_t_1, \"renderLink\", context, [t_10,1])), env.opts.autoescape);\noutput += \"\\n\\t\\t\";\n;\n}\n}\nframe = frame.pop();\noutput += \"\\n\\t</ul>\\n</nav>\\n\";\nif(parentTemplate) {\nparentTemplate.rootRenderFunc(env, context, frame, runtime, cb);\n} else {\ncb(null, output);\n}\n;\n} catch (e) {\n  cb(runtime.handleError(e, lineno, colno));\n}\n}\nreturn {\nroot: root\n};\n\n})();\n})();\n\n\n\nmodule.exports = shim(nunjucks, env, nunjucks.nunjucksPrecompiled[\"src/components/in-page-nav/in-page-nav.template.njk\"] , dependencies)\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/in-page-nav/in-page-nav.template.njk\n// module id = 10\n// module chunks = 0","/*! Browser bundle of nunjucks 3.0.0 (slim, only works with precompiled templates) */\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"nunjucks\"] = factory();\n\telse\n\t\troot[\"nunjucks\"] = factory();\n})(this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId])\n/******/ \t\t\treturn installedModules[moduleId].exports;\n\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\texports: {},\n/******/ \t\t\tid: moduleId,\n/******/ \t\t\tloaded: false\n/******/ \t\t};\n\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.loaded = true;\n\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n\n\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\n\tvar lib = __webpack_require__(1);\n\tvar env = __webpack_require__(2);\n\tvar Loader = __webpack_require__(14);\n\tvar loaders = __webpack_require__(3);\n\tvar precompile = __webpack_require__(3);\n\n\tmodule.exports = {};\n\tmodule.exports.Environment = env.Environment;\n\tmodule.exports.Template = env.Template;\n\n\tmodule.exports.Loader = Loader;\n\tmodule.exports.FileSystemLoader = loaders.FileSystemLoader;\n\tmodule.exports.PrecompiledLoader = loaders.PrecompiledLoader;\n\tmodule.exports.WebLoader = loaders.WebLoader;\n\n\tmodule.exports.compiler = __webpack_require__(3);\n\tmodule.exports.parser = __webpack_require__(3);\n\tmodule.exports.lexer = __webpack_require__(3);\n\tmodule.exports.runtime = __webpack_require__(8);\n\tmodule.exports.lib = lib;\n\tmodule.exports.nodes = __webpack_require__(3);\n\n\tmodule.exports.installJinjaCompat = __webpack_require__(15);\n\n\t// A single instance of an environment, since this is so commonly used\n\n\tvar e;\n\tmodule.exports.configure = function(templatesPath, opts) {\n\t    opts = opts || {};\n\t    if(lib.isObject(templatesPath)) {\n\t        opts = templatesPath;\n\t        templatesPath = null;\n\t    }\n\n\t    var TemplateLoader;\n\t    if(loaders.FileSystemLoader) {\n\t        TemplateLoader = new loaders.FileSystemLoader(templatesPath, {\n\t            watch: opts.watch,\n\t            noCache: opts.noCache\n\t        });\n\t    }\n\t    else if(loaders.WebLoader) {\n\t        TemplateLoader = new loaders.WebLoader(templatesPath, {\n\t            useCache: opts.web && opts.web.useCache,\n\t            async: opts.web && opts.web.async\n\t        });\n\t    }\n\n\t    e = new env.Environment(TemplateLoader, opts);\n\n\t    if(opts && opts.express) {\n\t        e.express(opts.express);\n\t    }\n\n\t    return e;\n\t};\n\n\tmodule.exports.compile = function(src, env, path, eagerCompile) {\n\t    if(!e) {\n\t        module.exports.configure();\n\t    }\n\t    return new module.exports.Template(src, env, path, eagerCompile);\n\t};\n\n\tmodule.exports.render = function(name, ctx, cb) {\n\t    if(!e) {\n\t        module.exports.configure();\n\t    }\n\n\t    return e.render(name, ctx, cb);\n\t};\n\n\tmodule.exports.renderString = function(src, ctx, cb) {\n\t    if(!e) {\n\t        module.exports.configure();\n\t    }\n\n\t    return e.renderString(src, ctx, cb);\n\t};\n\n\tif(precompile) {\n\t    module.exports.precompile = precompile.precompile;\n\t    module.exports.precompileString = precompile.precompileString;\n\t}\n\n\n/***/ },\n/* 1 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\n\tvar ArrayProto = Array.prototype;\n\tvar ObjProto = Object.prototype;\n\n\tvar escapeMap = {\n\t    '&': '&amp;',\n\t    '\"': '&quot;',\n\t    '\\'': '&#39;',\n\t    '<': '&lt;',\n\t    '>': '&gt;'\n\t};\n\n\tvar escapeRegex = /[&\"'<>]/g;\n\n\tvar lookupEscape = function(ch) {\n\t    return escapeMap[ch];\n\t};\n\n\tvar exports = module.exports = {};\n\n\texports.prettifyError = function(path, withInternals, err) {\n\t    // jshint -W022\n\t    // http://jslinterrors.com/do-not-assign-to-the-exception-parameter\n\t    if (!err.Update) {\n\t        // not one of ours, cast it\n\t        err = new exports.TemplateError(err);\n\t    }\n\t    err.Update(path);\n\n\t    // Unless they marked the dev flag, show them a trace from here\n\t    if (!withInternals) {\n\t        var old = err;\n\t        err = new Error(old.message);\n\t        err.name = old.name;\n\t    }\n\n\t    return err;\n\t};\n\n\texports.TemplateError = function(message, lineno, colno) {\n\t    var err = this;\n\n\t    if (message instanceof Error) { // for casting regular js errors\n\t        err = message;\n\t        message = message.name + ': ' + message.message;\n\n\t        try {\n\t            if(err.name = '') {}\n\t        }\n\t        catch(e) {\n\t            // If we can't set the name of the error object in this\n\t            // environment, don't use it\n\t            err = this;\n\t        }\n\t    } else {\n\t        if(Error.captureStackTrace) {\n\t            Error.captureStackTrace(err);\n\t        }\n\t    }\n\n\t    err.name = 'Template render error';\n\t    err.message = message;\n\t    err.lineno = lineno;\n\t    err.colno = colno;\n\t    err.firstUpdate = true;\n\n\t    err.Update = function(path) {\n\t        var message = '(' + (path || 'unknown path') + ')';\n\n\t        // only show lineno + colno next to path of template\n\t        // where error occurred\n\t        if (this.firstUpdate) {\n\t            if(this.lineno && this.colno) {\n\t                message += ' [Line ' + this.lineno + ', Column ' + this.colno + ']';\n\t            }\n\t            else if(this.lineno) {\n\t                message += ' [Line ' + this.lineno + ']';\n\t            }\n\t        }\n\n\t        message += '\\n ';\n\t        if (this.firstUpdate) {\n\t            message += ' ';\n\t        }\n\n\t        this.message = message + (this.message || '');\n\t        this.firstUpdate = false;\n\t        return this;\n\t    };\n\n\t    return err;\n\t};\n\n\texports.TemplateError.prototype = Error.prototype;\n\n\texports.escape = function(val) {\n\t  return val.replace(escapeRegex, lookupEscape);\n\t};\n\n\texports.isFunction = function(obj) {\n\t    return ObjProto.toString.call(obj) === '[object Function]';\n\t};\n\n\texports.isArray = Array.isArray || function(obj) {\n\t    return ObjProto.toString.call(obj) === '[object Array]';\n\t};\n\n\texports.isString = function(obj) {\n\t    return ObjProto.toString.call(obj) === '[object String]';\n\t};\n\n\texports.isObject = function(obj) {\n\t    return ObjProto.toString.call(obj) === '[object Object]';\n\t};\n\n\texports.groupBy = function(obj, val) {\n\t    var result = {};\n\t    var iterator = exports.isFunction(val) ? val : function(obj) { return obj[val]; };\n\t    for(var i=0; i<obj.length; i++) {\n\t        var value = obj[i];\n\t        var key = iterator(value, i);\n\t        (result[key] || (result[key] = [])).push(value);\n\t    }\n\t    return result;\n\t};\n\n\texports.toArray = function(obj) {\n\t    return Array.prototype.slice.call(obj);\n\t};\n\n\texports.without = function(array) {\n\t    var result = [];\n\t    if (!array) {\n\t        return result;\n\t    }\n\t    var index = -1,\n\t    length = array.length,\n\t    contains = exports.toArray(arguments).slice(1);\n\n\t    while(++index < length) {\n\t        if(exports.indexOf(contains, array[index]) === -1) {\n\t            result.push(array[index]);\n\t        }\n\t    }\n\t    return result;\n\t};\n\n\texports.extend = function(obj, obj2) {\n\t    for(var k in obj2) {\n\t        obj[k] = obj2[k];\n\t    }\n\t    return obj;\n\t};\n\n\texports.repeat = function(char_, n) {\n\t    var str = '';\n\t    for(var i=0; i<n; i++) {\n\t        str += char_;\n\t    }\n\t    return str;\n\t};\n\n\texports.each = function(obj, func, context) {\n\t    if(obj == null) {\n\t        return;\n\t    }\n\n\t    if(ArrayProto.each && obj.each === ArrayProto.each) {\n\t        obj.forEach(func, context);\n\t    }\n\t    else if(obj.length === +obj.length) {\n\t        for(var i=0, l=obj.length; i<l; i++) {\n\t            func.call(context, obj[i], i, obj);\n\t        }\n\t    }\n\t};\n\n\texports.map = function(obj, func) {\n\t    var results = [];\n\t    if(obj == null) {\n\t        return results;\n\t    }\n\n\t    if(ArrayProto.map && obj.map === ArrayProto.map) {\n\t        return obj.map(func);\n\t    }\n\n\t    for(var i=0; i<obj.length; i++) {\n\t        results[results.length] = func(obj[i], i);\n\t    }\n\n\t    if(obj.length === +obj.length) {\n\t        results.length = obj.length;\n\t    }\n\n\t    return results;\n\t};\n\n\texports.asyncIter = function(arr, iter, cb) {\n\t    var i = -1;\n\n\t    function next() {\n\t        i++;\n\n\t        if(i < arr.length) {\n\t            iter(arr[i], i, next, cb);\n\t        }\n\t        else {\n\t            cb();\n\t        }\n\t    }\n\n\t    next();\n\t};\n\n\texports.asyncFor = function(obj, iter, cb) {\n\t    var keys = exports.keys(obj);\n\t    var len = keys.length;\n\t    var i = -1;\n\n\t    function next() {\n\t        i++;\n\t        var k = keys[i];\n\n\t        if(i < len) {\n\t            iter(k, obj[k], i, len, next);\n\t        }\n\t        else {\n\t            cb();\n\t        }\n\t    }\n\n\t    next();\n\t};\n\n\t// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf#Polyfill\n\texports.indexOf = Array.prototype.indexOf ?\n\t    function (arr, searchElement, fromIndex) {\n\t        return Array.prototype.indexOf.call(arr, searchElement, fromIndex);\n\t    } :\n\t    function (arr, searchElement, fromIndex) {\n\t        var length = this.length >>> 0; // Hack to convert object.length to a UInt32\n\n\t        fromIndex = +fromIndex || 0;\n\n\t        if(Math.abs(fromIndex) === Infinity) {\n\t            fromIndex = 0;\n\t        }\n\n\t        if(fromIndex < 0) {\n\t            fromIndex += length;\n\t            if (fromIndex < 0) {\n\t                fromIndex = 0;\n\t            }\n\t        }\n\n\t        for(;fromIndex < length; fromIndex++) {\n\t            if (arr[fromIndex] === searchElement) {\n\t                return fromIndex;\n\t            }\n\t        }\n\n\t        return -1;\n\t    };\n\n\tif(!Array.prototype.map) {\n\t    Array.prototype.map = function() {\n\t        throw new Error('map is unimplemented for this js engine');\n\t    };\n\t}\n\n\texports.keys = function(obj) {\n\t    if(Object.prototype.keys) {\n\t        return obj.keys();\n\t    }\n\t    else {\n\t        var keys = [];\n\t        for(var k in obj) {\n\t            if(obj.hasOwnProperty(k)) {\n\t                keys.push(k);\n\t            }\n\t        }\n\t        return keys;\n\t    }\n\t};\n\n\texports.inOperator = function (key, val) {\n\t    if (exports.isArray(val)) {\n\t        return exports.indexOf(val, key) !== -1;\n\t    } else if (exports.isObject(val)) {\n\t        return key in val;\n\t    } else if (exports.isString(val)) {\n\t        return val.indexOf(key) !== -1;\n\t    } else {\n\t        throw new Error('Cannot use \"in\" operator to search for \"'\n\t            + key + '\" in unexpected types.');\n\t    }\n\t};\n\n\n/***/ },\n/* 2 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\n\tvar path = __webpack_require__(3);\n\tvar asap = __webpack_require__(4);\n\tvar lib = __webpack_require__(1);\n\tvar Obj = __webpack_require__(6);\n\tvar compiler = __webpack_require__(3);\n\tvar builtin_filters = __webpack_require__(7);\n\tvar builtin_loaders = __webpack_require__(3);\n\tvar runtime = __webpack_require__(8);\n\tvar globals = __webpack_require__(9);\n\tvar waterfall = __webpack_require__(10);\n\tvar Frame = runtime.Frame;\n\tvar Template;\n\n\t// Unconditionally load in this loader, even if no other ones are\n\t// included (possible in the slim browser build)\n\tbuiltin_loaders.PrecompiledLoader = __webpack_require__(13);\n\n\t// If the user is using the async API, *always* call it\n\t// asynchronously even if the template was synchronous.\n\tfunction callbackAsap(cb, err, res) {\n\t    asap(function() { cb(err, res); });\n\t}\n\n\tvar Environment = Obj.extend({\n\t    init: function(loaders, opts) {\n\t        // The dev flag determines the trace that'll be shown on errors.\n\t        // If set to true, returns the full trace from the error point,\n\t        // otherwise will return trace starting from Template.render\n\t        // (the full trace from within nunjucks may confuse developers using\n\t        //  the library)\n\t        // defaults to false\n\t        opts = this.opts = opts || {};\n\t        this.opts.dev = !!opts.dev;\n\n\t        // The autoescape flag sets global autoescaping. If true,\n\t        // every string variable will be escaped by default.\n\t        // If false, strings can be manually escaped using the `escape` filter.\n\t        // defaults to true\n\t        this.opts.autoescape = opts.autoescape != null ? opts.autoescape : true;\n\n\t        // If true, this will make the system throw errors if trying\n\t        // to output a null or undefined value\n\t        this.opts.throwOnUndefined = !!opts.throwOnUndefined;\n\t        this.opts.trimBlocks = !!opts.trimBlocks;\n\t        this.opts.lstripBlocks = !!opts.lstripBlocks;\n\n\t        this.loaders = [];\n\n\t        if(!loaders) {\n\t            // The filesystem loader is only available server-side\n\t            if(builtin_loaders.FileSystemLoader) {\n\t                this.loaders = [new builtin_loaders.FileSystemLoader('views')];\n\t            }\n\t            else if(builtin_loaders.WebLoader) {\n\t                this.loaders = [new builtin_loaders.WebLoader('/views')];\n\t            }\n\t        }\n\t        else {\n\t            this.loaders = lib.isArray(loaders) ? loaders : [loaders];\n\t        }\n\n\t        // It's easy to use precompiled templates: just include them\n\t        // before you configure nunjucks and this will automatically\n\t        // pick it up and use it\n\t        if((true) && window.nunjucksPrecompiled) {\n\t            this.loaders.unshift(\n\t                new builtin_loaders.PrecompiledLoader(window.nunjucksPrecompiled)\n\t            );\n\t        }\n\n\t        this.initCache();\n\n\t        this.globals = globals();\n\t        this.filters = {};\n\t        this.asyncFilters = [];\n\t        this.extensions = {};\n\t        this.extensionsList = [];\n\n\t        for(var name in builtin_filters) {\n\t            this.addFilter(name, builtin_filters[name]);\n\t        }\n\t    },\n\n\t    initCache: function() {\n\t        // Caching and cache busting\n\t        lib.each(this.loaders, function(loader) {\n\t            loader.cache = {};\n\n\t            if(typeof loader.on === 'function') {\n\t                loader.on('update', function(template) {\n\t                    loader.cache[template] = null;\n\t                });\n\t            }\n\t        });\n\t    },\n\n\t    addExtension: function(name, extension) {\n\t        extension._name = name;\n\t        this.extensions[name] = extension;\n\t        this.extensionsList.push(extension);\n\t        return this;\n\t    },\n\n\t    removeExtension: function(name) {\n\t        var extension = this.getExtension(name);\n\t        if (!extension) return;\n\n\t        this.extensionsList = lib.without(this.extensionsList, extension);\n\t        delete this.extensions[name];\n\t    },\n\n\t    getExtension: function(name) {\n\t        return this.extensions[name];\n\t    },\n\n\t    hasExtension: function(name) {\n\t        return !!this.extensions[name];\n\t    },\n\n\t    addGlobal: function(name, value) {\n\t        this.globals[name] = value;\n\t        return this;\n\t    },\n\n\t    getGlobal: function(name) {\n\t        if(typeof this.globals[name] === 'undefined') {\n\t            throw new Error('global not found: ' + name);\n\t        }\n\t        return this.globals[name];\n\t    },\n\n\t    addFilter: function(name, func, async) {\n\t        var wrapped = func;\n\n\t        if(async) {\n\t            this.asyncFilters.push(name);\n\t        }\n\t        this.filters[name] = wrapped;\n\t        return this;\n\t    },\n\n\t    getFilter: function(name) {\n\t        if(!this.filters[name]) {\n\t            throw new Error('filter not found: ' + name);\n\t        }\n\t        return this.filters[name];\n\t    },\n\n\t    resolveTemplate: function(loader, parentName, filename) {\n\t        var isRelative = (loader.isRelative && parentName)? loader.isRelative(filename) : false;\n\t        return (isRelative && loader.resolve)? loader.resolve(parentName, filename) : filename;\n\t    },\n\n\t    getTemplate: function(name, eagerCompile, parentName, ignoreMissing, cb) {\n\t        var that = this;\n\t        var tmpl = null;\n\t        if(name && name.raw) {\n\t            // this fixes autoescape for templates referenced in symbols\n\t            name = name.raw;\n\t        }\n\n\t        if(lib.isFunction(parentName)) {\n\t            cb = parentName;\n\t            parentName = null;\n\t            eagerCompile = eagerCompile || false;\n\t        }\n\n\t        if(lib.isFunction(eagerCompile)) {\n\t            cb = eagerCompile;\n\t            eagerCompile = false;\n\t        }\n\n\t        if (name instanceof Template) {\n\t             tmpl = name;\n\t        }\n\t        else if(typeof name !== 'string') {\n\t            throw new Error('template names must be a string: ' + name);\n\t        }\n\t        else {\n\t            for (var i = 0; i < this.loaders.length; i++) {\n\t                var _name = this.resolveTemplate(this.loaders[i], parentName, name);\n\t                tmpl = this.loaders[i].cache[_name];\n\t                if (tmpl) break;\n\t            }\n\t        }\n\n\t        if(tmpl) {\n\t            if(eagerCompile) {\n\t                tmpl.compile();\n\t            }\n\n\t            if(cb) {\n\t                cb(null, tmpl);\n\t            }\n\t            else {\n\t                return tmpl;\n\t            }\n\t        } else {\n\t            var syncResult;\n\t            var _this = this;\n\n\t            var createTemplate = function(err, info) {\n\t                if(!info && !err) {\n\t                    if(!ignoreMissing) {\n\t                        err = new Error('template not found: ' + name);\n\t                    }\n\t                }\n\n\t                if (err) {\n\t                    if(cb) {\n\t                        cb(err);\n\t                    }\n\t                    else {\n\t                        throw err;\n\t                    }\n\t                }\n\t                else {\n\t                    var tmpl;\n\t                    if(info) {\n\t                        tmpl = new Template(info.src, _this,\n\t                                            info.path, eagerCompile);\n\n\t                        if(!info.noCache) {\n\t                            info.loader.cache[name] = tmpl;\n\t                        }\n\t                    }\n\t                    else {\n\t                        tmpl = new Template('', _this,\n\t                                            '', eagerCompile);\n\t                    }\n\n\t                    if(cb) {\n\t                        cb(null, tmpl);\n\t                    }\n\t                    else {\n\t                        syncResult = tmpl;\n\t                    }\n\t                }\n\t            };\n\n\t            lib.asyncIter(this.loaders, function(loader, i, next, done) {\n\t                function handle(err, src) {\n\t                    if(err) {\n\t                        done(err);\n\t                    }\n\t                    else if(src) {\n\t                        src.loader = loader;\n\t                        done(null, src);\n\t                    }\n\t                    else {\n\t                        next();\n\t                    }\n\t                }\n\n\t                // Resolve name relative to parentName\n\t                name = that.resolveTemplate(loader, parentName, name);\n\n\t                if(loader.async) {\n\t                    loader.getSource(name, handle);\n\t                }\n\t                else {\n\t                    handle(null, loader.getSource(name));\n\t                }\n\t            }, createTemplate);\n\n\t            return syncResult;\n\t        }\n\t    },\n\n\t    express: function(app) {\n\t        var env = this;\n\n\t        function NunjucksView(name, opts) {\n\t            this.name          = name;\n\t            this.path          = name;\n\t            this.defaultEngine = opts.defaultEngine;\n\t            this.ext           = path.extname(name);\n\t            if (!this.ext && !this.defaultEngine) throw new Error('No default engine was specified and no extension was provided.');\n\t            if (!this.ext) this.name += (this.ext = ('.' !== this.defaultEngine[0] ? '.' : '') + this.defaultEngine);\n\t        }\n\n\t        NunjucksView.prototype.render = function(opts, cb) {\n\t          env.render(this.name, opts, cb);\n\t        };\n\n\t        app.set('view', NunjucksView);\n\t        app.set('nunjucksEnv', this);\n\t        return this;\n\t    },\n\n\t    render: function(name, ctx, cb) {\n\t        if(lib.isFunction(ctx)) {\n\t            cb = ctx;\n\t            ctx = null;\n\t        }\n\n\t        // We support a synchronous API to make it easier to migrate\n\t        // existing code to async. This works because if you don't do\n\t        // anything async work, the whole thing is actually run\n\t        // synchronously.\n\t        var syncResult = null;\n\n\t        this.getTemplate(name, function(err, tmpl) {\n\t            if(err && cb) {\n\t                callbackAsap(cb, err);\n\t            }\n\t            else if(err) {\n\t                throw err;\n\t            }\n\t            else {\n\t                syncResult = tmpl.render(ctx, cb);\n\t            }\n\t        });\n\n\t        return syncResult;\n\t    },\n\n\t    renderString: function(src, ctx, opts, cb) {\n\t        if(lib.isFunction(opts)) {\n\t            cb = opts;\n\t            opts = {};\n\t        }\n\t        opts = opts || {};\n\n\t        var tmpl = new Template(src, this, opts.path);\n\t        return tmpl.render(ctx, cb);\n\t    },\n\n\t    waterfall: waterfall\n\t});\n\n\tvar Context = Obj.extend({\n\t    init: function(ctx, blocks, env) {\n\t        // Has to be tied to an environment so we can tap into its globals.\n\t        this.env = env || new Environment();\n\n\t        // Make a duplicate of ctx\n\t        this.ctx = {};\n\t        for(var k in ctx) {\n\t            if(ctx.hasOwnProperty(k)) {\n\t                this.ctx[k] = ctx[k];\n\t            }\n\t        }\n\n\t        this.blocks = {};\n\t        this.exported = [];\n\n\t        for(var name in blocks) {\n\t            this.addBlock(name, blocks[name]);\n\t        }\n\t    },\n\n\t    lookup: function(name) {\n\t        // This is one of the most called functions, so optimize for\n\t        // the typical case where the name isn't in the globals\n\t        if(name in this.env.globals && !(name in this.ctx)) {\n\t            return this.env.globals[name];\n\t        }\n\t        else {\n\t            return this.ctx[name];\n\t        }\n\t    },\n\n\t    setVariable: function(name, val) {\n\t        this.ctx[name] = val;\n\t    },\n\n\t    getVariables: function() {\n\t        return this.ctx;\n\t    },\n\n\t    addBlock: function(name, block) {\n\t        this.blocks[name] = this.blocks[name] || [];\n\t        this.blocks[name].push(block);\n\t        return this;\n\t    },\n\n\t    getBlock: function(name) {\n\t        if(!this.blocks[name]) {\n\t            throw new Error('unknown block \"' + name + '\"');\n\t        }\n\n\t        return this.blocks[name][0];\n\t    },\n\n\t    getSuper: function(env, name, block, frame, runtime, cb) {\n\t        var idx = lib.indexOf(this.blocks[name] || [], block);\n\t        var blk = this.blocks[name][idx + 1];\n\t        var context = this;\n\n\t        if(idx === -1 || !blk) {\n\t            throw new Error('no super block available for \"' + name + '\"');\n\t        }\n\n\t        blk(env, context, frame, runtime, cb);\n\t    },\n\n\t    addExport: function(name) {\n\t        this.exported.push(name);\n\t    },\n\n\t    getExported: function() {\n\t        var exported = {};\n\t        for(var i=0; i<this.exported.length; i++) {\n\t            var name = this.exported[i];\n\t            exported[name] = this.ctx[name];\n\t        }\n\t        return exported;\n\t    }\n\t});\n\n\tTemplate = Obj.extend({\n\t    init: function (src, env, path, eagerCompile) {\n\t        this.env = env || new Environment();\n\n\t        if(lib.isObject(src)) {\n\t            switch(src.type) {\n\t            case 'code': this.tmplProps = src.obj; break;\n\t            case 'string': this.tmplStr = src.obj; break;\n\t            }\n\t        }\n\t        else if(lib.isString(src)) {\n\t            this.tmplStr = src;\n\t        }\n\t        else {\n\t            throw new Error('src must be a string or an object describing ' +\n\t                            'the source');\n\t        }\n\n\t        this.path = path;\n\n\t        if(eagerCompile) {\n\t            var _this = this;\n\t            try {\n\t                _this._compile();\n\t            }\n\t            catch(err) {\n\t                throw lib.prettifyError(this.path, this.env.opts.dev, err);\n\t            }\n\t        }\n\t        else {\n\t            this.compiled = false;\n\t        }\n\t    },\n\n\t    render: function(ctx, parentFrame, cb) {\n\t        if (typeof ctx === 'function') {\n\t            cb = ctx;\n\t            ctx = {};\n\t        }\n\t        else if (typeof parentFrame === 'function') {\n\t            cb = parentFrame;\n\t            parentFrame = null;\n\t        }\n\n\t        var forceAsync = true;\n\t        if(parentFrame) {\n\t            // If there is a frame, we are being called from internal\n\t            // code of another template, and the internal system\n\t            // depends on the sync/async nature of the parent template\n\t            // to be inherited, so force an async callback\n\t            forceAsync = false;\n\t        }\n\n\t        var _this = this;\n\t        // Catch compile errors for async rendering\n\t        try {\n\t            _this.compile();\n\t        } catch (_err) {\n\t            var err = lib.prettifyError(this.path, this.env.opts.dev, _err);\n\t            if (cb) return callbackAsap(cb, err);\n\t            else throw err;\n\t        }\n\n\t        var context = new Context(ctx || {}, _this.blocks, _this.env);\n\t        var frame = parentFrame ? parentFrame.push(true) : new Frame();\n\t        frame.topLevel = true;\n\t        var syncResult = null;\n\n\t        _this.rootRenderFunc(\n\t            _this.env,\n\t            context,\n\t            frame || new Frame(),\n\t            runtime,\n\t            function(err, res) {\n\t                if(err) {\n\t                    err = lib.prettifyError(_this.path, _this.env.opts.dev, err);\n\t                }\n\n\t                if(cb) {\n\t                    if(forceAsync) {\n\t                        callbackAsap(cb, err, res);\n\t                    }\n\t                    else {\n\t                        cb(err, res);\n\t                    }\n\t                }\n\t                else {\n\t                    if(err) { throw err; }\n\t                    syncResult = res;\n\t                }\n\t            }\n\t        );\n\n\t        return syncResult;\n\t    },\n\n\n\t    getExported: function(ctx, parentFrame, cb) {\n\t        if (typeof ctx === 'function') {\n\t            cb = ctx;\n\t            ctx = {};\n\t        }\n\n\t        if (typeof parentFrame === 'function') {\n\t            cb = parentFrame;\n\t            parentFrame = null;\n\t        }\n\n\t        // Catch compile errors for async rendering\n\t        try {\n\t            this.compile();\n\t        } catch (e) {\n\t            if (cb) return cb(e);\n\t            else throw e;\n\t        }\n\n\t        var frame = parentFrame ? parentFrame.push() : new Frame();\n\t        frame.topLevel = true;\n\n\t        // Run the rootRenderFunc to populate the context with exported vars\n\t        var context = new Context(ctx || {}, this.blocks, this.env);\n\t        this.rootRenderFunc(this.env,\n\t                            context,\n\t                            frame,\n\t                            runtime,\n\t                            function(err) {\n\t        \t\t        if ( err ) {\n\t        \t\t\t    cb(err, null);\n\t        \t\t        } else {\n\t        \t\t\t    cb(null, context.getExported());\n\t        \t\t        }\n\t                            });\n\t    },\n\n\t    compile: function() {\n\t        if(!this.compiled) {\n\t            this._compile();\n\t        }\n\t    },\n\n\t    _compile: function() {\n\t        var props;\n\n\t        if(this.tmplProps) {\n\t            props = this.tmplProps;\n\t        }\n\t        else {\n\t            var source = compiler.compile(this.tmplStr,\n\t                                          this.env.asyncFilters,\n\t                                          this.env.extensionsList,\n\t                                          this.path,\n\t                                          this.env.opts);\n\n\t            /* jslint evil: true */\n\t            var func = new Function(source);\n\t            props = func();\n\t        }\n\n\t        this.blocks = this._getBlocks(props);\n\t        this.rootRenderFunc = props.root;\n\t        this.compiled = true;\n\t    },\n\n\t    _getBlocks: function(props) {\n\t        var blocks = {};\n\n\t        for(var k in props) {\n\t            if(k.slice(0, 2) === 'b_') {\n\t                blocks[k.slice(2)] = props[k];\n\t            }\n\t        }\n\n\t        return blocks;\n\t    }\n\t});\n\n\tmodule.exports = {\n\t    Environment: Environment,\n\t    Template: Template\n\t};\n\n\n/***/ },\n/* 3 */\n/***/ function(module, exports) {\n\n\t\n\n/***/ },\n/* 4 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\n\t// rawAsap provides everything we need except exception management.\n\tvar rawAsap = __webpack_require__(5);\n\t// RawTasks are recycled to reduce GC churn.\n\tvar freeTasks = [];\n\t// We queue errors to ensure they are thrown in right order (FIFO).\n\t// Array-as-queue is good enough here, since we are just dealing with exceptions.\n\tvar pendingErrors = [];\n\tvar requestErrorThrow = rawAsap.makeRequestCallFromTimer(throwFirstError);\n\n\tfunction throwFirstError() {\n\t    if (pendingErrors.length) {\n\t        throw pendingErrors.shift();\n\t    }\n\t}\n\n\t/**\n\t * Calls a task as soon as possible after returning, in its own event, with priority\n\t * over other events like animation, reflow, and repaint. An error thrown from an\n\t * event will not interrupt, nor even substantially slow down the processing of\n\t * other events, but will be rather postponed to a lower priority event.\n\t * @param {{call}} task A callable object, typically a function that takes no\n\t * arguments.\n\t */\n\tmodule.exports = asap;\n\tfunction asap(task) {\n\t    var rawTask;\n\t    if (freeTasks.length) {\n\t        rawTask = freeTasks.pop();\n\t    } else {\n\t        rawTask = new RawTask();\n\t    }\n\t    rawTask.task = task;\n\t    rawAsap(rawTask);\n\t}\n\n\t// We wrap tasks with recyclable task objects.  A task object implements\n\t// `call`, just like a function.\n\tfunction RawTask() {\n\t    this.task = null;\n\t}\n\n\t// The sole purpose of wrapping the task is to catch the exception and recycle\n\t// the task object after its single use.\n\tRawTask.prototype.call = function () {\n\t    try {\n\t        this.task.call();\n\t    } catch (error) {\n\t        if (asap.onerror) {\n\t            // This hook exists purely for testing purposes.\n\t            // Its name will be periodically randomized to break any code that\n\t            // depends on its existence.\n\t            asap.onerror(error);\n\t        } else {\n\t            // In a web browser, exceptions are not fatal. However, to avoid\n\t            // slowing down the queue of pending tasks, we rethrow the error in a\n\t            // lower priority turn.\n\t            pendingErrors.push(error);\n\t            requestErrorThrow();\n\t        }\n\t    } finally {\n\t        this.task = null;\n\t        freeTasks[freeTasks.length] = this;\n\t    }\n\t};\n\n\n/***/ },\n/* 5 */\n/***/ function(module, exports) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {\"use strict\";\n\n\t// Use the fastest means possible to execute a task in its own turn, with\n\t// priority over other events including IO, animation, reflow, and redraw\n\t// events in browsers.\n\t//\n\t// An exception thrown by a task will permanently interrupt the processing of\n\t// subsequent tasks. The higher level `asap` function ensures that if an\n\t// exception is thrown by a task, that the task queue will continue flushing as\n\t// soon as possible, but if you use `rawAsap` directly, you are responsible to\n\t// either ensure that no exceptions are thrown from your task, or to manually\n\t// call `rawAsap.requestFlush` if an exception is thrown.\n\tmodule.exports = rawAsap;\n\tfunction rawAsap(task) {\n\t    if (!queue.length) {\n\t        requestFlush();\n\t        flushing = true;\n\t    }\n\t    // Equivalent to push, but avoids a function call.\n\t    queue[queue.length] = task;\n\t}\n\n\tvar queue = [];\n\t// Once a flush has been requested, no further calls to `requestFlush` are\n\t// necessary until the next `flush` completes.\n\tvar flushing = false;\n\t// `requestFlush` is an implementation-specific method that attempts to kick\n\t// off a `flush` event as quickly as possible. `flush` will attempt to exhaust\n\t// the event queue before yielding to the browser's own event loop.\n\tvar requestFlush;\n\t// The position of the next task to execute in the task queue. This is\n\t// preserved between calls to `flush` so that it can be resumed if\n\t// a task throws an exception.\n\tvar index = 0;\n\t// If a task schedules additional tasks recursively, the task queue can grow\n\t// unbounded. To prevent memory exhaustion, the task queue will periodically\n\t// truncate already-completed tasks.\n\tvar capacity = 1024;\n\n\t// The flush function processes all tasks that have been scheduled with\n\t// `rawAsap` unless and until one of those tasks throws an exception.\n\t// If a task throws an exception, `flush` ensures that its state will remain\n\t// consistent and will resume where it left off when called again.\n\t// However, `flush` does not make any arrangements to be called again if an\n\t// exception is thrown.\n\tfunction flush() {\n\t    while (index < queue.length) {\n\t        var currentIndex = index;\n\t        // Advance the index before calling the task. This ensures that we will\n\t        // begin flushing on the next task the task throws an error.\n\t        index = index + 1;\n\t        queue[currentIndex].call();\n\t        // Prevent leaking memory for long chains of recursive calls to `asap`.\n\t        // If we call `asap` within tasks scheduled by `asap`, the queue will\n\t        // grow, but to avoid an O(n) walk for every task we execute, we don't\n\t        // shift tasks off the queue after they have been executed.\n\t        // Instead, we periodically shift 1024 tasks off the queue.\n\t        if (index > capacity) {\n\t            // Manually shift all values starting at the index back to the\n\t            // beginning of the queue.\n\t            for (var scan = 0, newLength = queue.length - index; scan < newLength; scan++) {\n\t                queue[scan] = queue[scan + index];\n\t            }\n\t            queue.length -= index;\n\t            index = 0;\n\t        }\n\t    }\n\t    queue.length = 0;\n\t    index = 0;\n\t    flushing = false;\n\t}\n\n\t// `requestFlush` is implemented using a strategy based on data collected from\n\t// every available SauceLabs Selenium web driver worker at time of writing.\n\t// https://docs.google.com/spreadsheets/d/1mG-5UYGup5qxGdEMWkhP6BWCz053NUb2E1QoUTU16uA/edit#gid=783724593\n\n\t// Safari 6 and 6.1 for desktop, iPad, and iPhone are the only browsers that\n\t// have WebKitMutationObserver but not un-prefixed MutationObserver.\n\t// Must use `global` instead of `window` to work in both frames and web\n\t// workers. `global` is a provision of Browserify, Mr, Mrs, or Mop.\n\tvar BrowserMutationObserver = window.MutationObserver || window.WebKitMutationObserver;\n\n\t// MutationObservers are desirable because they have high priority and work\n\t// reliably everywhere they are implemented.\n\t// They are implemented in all modern browsers.\n\t//\n\t// - Android 4-4.3\n\t// - Chrome 26-34\n\t// - Firefox 14-29\n\t// - Internet Explorer 11\n\t// - iPad Safari 6-7.1\n\t// - iPhone Safari 7-7.1\n\t// - Safari 6-7\n\tif (typeof BrowserMutationObserver === \"function\") {\n\t    requestFlush = makeRequestCallFromMutationObserver(flush);\n\n\t// MessageChannels are desirable because they give direct access to the HTML\n\t// task queue, are implemented in Internet Explorer 10, Safari 5.0-1, and Opera\n\t// 11-12, and in web workers in many engines.\n\t// Although message channels yield to any queued rendering and IO tasks, they\n\t// would be better than imposing the 4ms delay of timers.\n\t// However, they do not work reliably in Internet Explorer or Safari.\n\n\t// Internet Explorer 10 is the only browser that has setImmediate but does\n\t// not have MutationObservers.\n\t// Although setImmediate yields to the browser's renderer, it would be\n\t// preferrable to falling back to setTimeout since it does not have\n\t// the minimum 4ms penalty.\n\t// Unfortunately there appears to be a bug in Internet Explorer 10 Mobile (and\n\t// Desktop to a lesser extent) that renders both setImmediate and\n\t// MessageChannel useless for the purposes of ASAP.\n\t// https://github.com/kriskowal/q/issues/396\n\n\t// Timers are implemented universally.\n\t// We fall back to timers in workers in most engines, and in foreground\n\t// contexts in the following browsers.\n\t// However, note that even this simple case requires nuances to operate in a\n\t// broad spectrum of browsers.\n\t//\n\t// - Firefox 3-13\n\t// - Internet Explorer 6-9\n\t// - iPad Safari 4.3\n\t// - Lynx 2.8.7\n\t} else {\n\t    requestFlush = makeRequestCallFromTimer(flush);\n\t}\n\n\t// `requestFlush` requests that the high priority event queue be flushed as\n\t// soon as possible.\n\t// This is useful to prevent an error thrown in a task from stalling the event\n\t// queue if the exception handled by Node.js’s\n\t// `process.on(\"uncaughtException\")` or by a domain.\n\trawAsap.requestFlush = requestFlush;\n\n\t// To request a high priority event, we induce a mutation observer by toggling\n\t// the text of a text node between \"1\" and \"-1\".\n\tfunction makeRequestCallFromMutationObserver(callback) {\n\t    var toggle = 1;\n\t    var observer = new BrowserMutationObserver(callback);\n\t    var node = document.createTextNode(\"\");\n\t    observer.observe(node, {characterData: true});\n\t    return function requestCall() {\n\t        toggle = -toggle;\n\t        node.data = toggle;\n\t    };\n\t}\n\n\t// The message channel technique was discovered by Malte Ubl and was the\n\t// original foundation for this library.\n\t// http://www.nonblocking.io/2011/06/windownexttick.html\n\n\t// Safari 6.0.5 (at least) intermittently fails to create message ports on a\n\t// page's first load. Thankfully, this version of Safari supports\n\t// MutationObservers, so we don't need to fall back in that case.\n\n\t// function makeRequestCallFromMessageChannel(callback) {\n\t//     var channel = new MessageChannel();\n\t//     channel.port1.onmessage = callback;\n\t//     return function requestCall() {\n\t//         channel.port2.postMessage(0);\n\t//     };\n\t// }\n\n\t// For reasons explained above, we are also unable to use `setImmediate`\n\t// under any circumstances.\n\t// Even if we were, there is another bug in Internet Explorer 10.\n\t// It is not sufficient to assign `setImmediate` to `requestFlush` because\n\t// `setImmediate` must be called *by name* and therefore must be wrapped in a\n\t// closure.\n\t// Never forget.\n\n\t// function makeRequestCallFromSetImmediate(callback) {\n\t//     return function requestCall() {\n\t//         setImmediate(callback);\n\t//     };\n\t// }\n\n\t// Safari 6.0 has a problem where timers will get lost while the user is\n\t// scrolling. This problem does not impact ASAP because Safari 6.0 supports\n\t// mutation observers, so that implementation is used instead.\n\t// However, if we ever elect to use timers in Safari, the prevalent work-around\n\t// is to add a scroll event listener that calls for a flush.\n\n\t// `setTimeout` does not call the passed callback if the delay is less than\n\t// approximately 7 in web workers in Firefox 8 through 18, and sometimes not\n\t// even then.\n\n\tfunction makeRequestCallFromTimer(callback) {\n\t    return function requestCall() {\n\t        // We dispatch a timeout with a specified delay of 0 for engines that\n\t        // can reliably accommodate that request. This will usually be snapped\n\t        // to a 4 milisecond delay, but once we're flushing, there's no delay\n\t        // between events.\n\t        var timeoutHandle = setTimeout(handleTimer, 0);\n\t        // However, since this timer gets frequently dropped in Firefox\n\t        // workers, we enlist an interval handle that will try to fire\n\t        // an event 20 times per second until it succeeds.\n\t        var intervalHandle = setInterval(handleTimer, 50);\n\n\t        function handleTimer() {\n\t            // Whichever timer succeeds will cancel both timers and\n\t            // execute the callback.\n\t            clearTimeout(timeoutHandle);\n\t            clearInterval(intervalHandle);\n\t            callback();\n\t        }\n\t    };\n\t}\n\n\t// This is for `asap.js` only.\n\t// Its name will be periodically randomized to break any code that depends on\n\t// its existence.\n\trawAsap.makeRequestCallFromTimer = makeRequestCallFromTimer;\n\n\t// ASAP was originally a nextTick shim included in Q. This was factored out\n\t// into this ASAP package. It was later adapted to RSVP which made further\n\t// amendments. These decisions, particularly to marginalize MessageChannel and\n\t// to capture the MutationObserver implementation in a closure, were integrated\n\t// back into ASAP proper.\n\t// https://github.com/tildeio/rsvp.js/blob/cddf7232546a9cf858524b75cde6f9edf72620a7/lib/rsvp/asap.js\n\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 6 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\n\t// A simple class system, more documentation to come\n\n\tfunction extend(cls, name, props) {\n\t    // This does that same thing as Object.create, but with support for IE8\n\t    var F = function() {};\n\t    F.prototype = cls.prototype;\n\t    var prototype = new F();\n\n\t    // jshint undef: false\n\t    var fnTest = /xyz/.test(function(){ xyz; }) ? /\\bparent\\b/ : /.*/;\n\t    props = props || {};\n\n\t    for(var k in props) {\n\t        var src = props[k];\n\t        var parent = prototype[k];\n\n\t        if(typeof parent === 'function' &&\n\t           typeof src === 'function' &&\n\t           fnTest.test(src)) {\n\t            /*jshint -W083 */\n\t            prototype[k] = (function (src, parent) {\n\t                return function() {\n\t                    // Save the current parent method\n\t                    var tmp = this.parent;\n\n\t                    // Set parent to the previous method, call, and restore\n\t                    this.parent = parent;\n\t                    var res = src.apply(this, arguments);\n\t                    this.parent = tmp;\n\n\t                    return res;\n\t                };\n\t            })(src, parent);\n\t        }\n\t        else {\n\t            prototype[k] = src;\n\t        }\n\t    }\n\n\t    prototype.typename = name;\n\n\t    var new_cls = function() {\n\t        if(prototype.init) {\n\t            prototype.init.apply(this, arguments);\n\t        }\n\t    };\n\n\t    new_cls.prototype = prototype;\n\t    new_cls.prototype.constructor = new_cls;\n\n\t    new_cls.extend = function(name, props) {\n\t        if(typeof name === 'object') {\n\t            props = name;\n\t            name = 'anonymous';\n\t        }\n\t        return extend(new_cls, name, props);\n\t    };\n\n\t    return new_cls;\n\t}\n\n\tmodule.exports = extend(Object, 'Object', {});\n\n\n/***/ },\n/* 7 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\n\tvar lib = __webpack_require__(1);\n\tvar r = __webpack_require__(8);\n\n\tfunction normalize(value, defaultValue) {\n\t    if(value === null || value === undefined || value === false) {\n\t        return defaultValue;\n\t    }\n\t    return value;\n\t}\n\n\tvar filters = {\n\t    abs: function(n) {\n\t        return Math.abs(n);\n\t    },\n\n\t    batch: function(arr, linecount, fill_with) {\n\t        var i;\n\t        var res = [];\n\t        var tmp = [];\n\n\t        for(i = 0; i < arr.length; i++) {\n\t            if(i % linecount === 0 && tmp.length) {\n\t                res.push(tmp);\n\t                tmp = [];\n\t            }\n\n\t            tmp.push(arr[i]);\n\t        }\n\n\t        if(tmp.length) {\n\t            if(fill_with) {\n\t                for(i = tmp.length; i < linecount; i++) {\n\t                    tmp.push(fill_with);\n\t                }\n\t            }\n\n\t            res.push(tmp);\n\t        }\n\n\t        return res;\n\t    },\n\n\t    capitalize: function(str) {\n\t        str = normalize(str, '');\n\t        var ret = str.toLowerCase();\n\t        return r.copySafeness(str, ret.charAt(0).toUpperCase() + ret.slice(1));\n\t    },\n\n\t    center: function(str, width) {\n\t        str = normalize(str, '');\n\t        width = width || 80;\n\n\t        if(str.length >= width) {\n\t            return str;\n\t        }\n\n\t        var spaces = width - str.length;\n\t        var pre = lib.repeat(' ', spaces/2 - spaces % 2);\n\t        var post = lib.repeat(' ', spaces/2);\n\t        return r.copySafeness(str, pre + str + post);\n\t    },\n\n\t    'default': function(val, def, bool) {\n\t        if(bool) {\n\t            return val ? val : def;\n\t        }\n\t        else {\n\t            return (val !== undefined) ? val : def;\n\t        }\n\t    },\n\n\t    dictsort: function(val, case_sensitive, by) {\n\t        if (!lib.isObject(val)) {\n\t            throw new lib.TemplateError('dictsort filter: val must be an object');\n\t        }\n\n\t        var array = [];\n\t        for (var k in val) {\n\t            // deliberately include properties from the object's prototype\n\t            array.push([k,val[k]]);\n\t        }\n\n\t        var si;\n\t        if (by === undefined || by === 'key') {\n\t            si = 0;\n\t        } else if (by === 'value') {\n\t            si = 1;\n\t        } else {\n\t            throw new lib.TemplateError(\n\t                'dictsort filter: You can only sort by either key or value');\n\t        }\n\n\t        array.sort(function(t1, t2) {\n\t            var a = t1[si];\n\t            var b = t2[si];\n\n\t            if (!case_sensitive) {\n\t                if (lib.isString(a)) {\n\t                    a = a.toUpperCase();\n\t                }\n\t                if (lib.isString(b)) {\n\t                    b = b.toUpperCase();\n\t                }\n\t            }\n\n\t            return a > b ? 1 : (a === b ? 0 : -1);\n\t        });\n\n\t        return array;\n\t    },\n\n\t    dump: function(obj, spaces) {\n\t        return JSON.stringify(obj, null, spaces);\n\t    },\n\n\t    escape: function(str) {\n\t        if(str instanceof r.SafeString) {\n\t            return str;\n\t        }\n\t        str = (str === null || str === undefined) ? '' : str;\n\t        return r.markSafe(lib.escape(str.toString()));\n\t    },\n\n\t    safe: function(str) {\n\t        if (str instanceof r.SafeString) {\n\t            return str;\n\t        }\n\t        str = (str === null || str === undefined) ? '' : str;\n\t        return r.markSafe(str.toString());\n\t    },\n\n\t    first: function(arr) {\n\t        return arr[0];\n\t    },\n\n\t    groupby: function(arr, attr) {\n\t        return lib.groupBy(arr, attr);\n\t    },\n\n\t    indent: function(str, width, indentfirst) {\n\t        str = normalize(str, '');\n\n\t        if (str === '') return '';\n\n\t        width = width || 4;\n\t        var res = '';\n\t        var lines = str.split('\\n');\n\t        var sp = lib.repeat(' ', width);\n\n\t        for(var i=0; i<lines.length; i++) {\n\t            if(i === 0 && !indentfirst) {\n\t                res += lines[i] + '\\n';\n\t            }\n\t            else {\n\t                res += sp + lines[i] + '\\n';\n\t            }\n\t        }\n\n\t        return r.copySafeness(str, res);\n\t    },\n\n\t    join: function(arr, del, attr) {\n\t        del = del || '';\n\n\t        if(attr) {\n\t            arr = lib.map(arr, function(v) {\n\t                return v[attr];\n\t            });\n\t        }\n\n\t        return arr.join(del);\n\t    },\n\n\t    last: function(arr) {\n\t        return arr[arr.length-1];\n\t    },\n\n\t    length: function(val) {\n\t        var value = normalize(val, '');\n\n\t        if(value !== undefined) {\n\t            if(\n\t                (typeof Map === 'function' && value instanceof Map) ||\n\t                (typeof Set === 'function' && value instanceof Set)\n\t            ) {\n\t                // ECMAScript 2015 Maps and Sets\n\t                return value.size;\n\t            }\n\t            if(lib.isObject(value) && !(value instanceof r.SafeString)) {\n\t                // Objects (besides SafeStrings), non-primative Arrays\n\t                return Object.keys(value).length;\n\t            }\n\t            return value.length;\n\t        }\n\t        return 0;\n\t    },\n\n\t    list: function(val) {\n\t        if(lib.isString(val)) {\n\t            return val.split('');\n\t        }\n\t        else if(lib.isObject(val)) {\n\t            var keys = [];\n\n\t            if(Object.keys) {\n\t                keys = Object.keys(val);\n\t            }\n\t            else {\n\t                for(var k in val) {\n\t                    keys.push(k);\n\t                }\n\t            }\n\n\t            return lib.map(keys, function(k) {\n\t                return { key: k,\n\t                         value: val[k] };\n\t            });\n\t        }\n\t        else if(lib.isArray(val)) {\n\t          return val;\n\t        }\n\t        else {\n\t            throw new lib.TemplateError('list filter: type not iterable');\n\t        }\n\t    },\n\n\t    lower: function(str) {\n\t        str = normalize(str, '');\n\t        return str.toLowerCase();\n\t    },\n\n\t    nl2br: function(str) {\n\t        if (str === null || str === undefined) {\n\t            return '';\n\t        }\n\t        return r.copySafeness(str, str.replace(/\\r\\n|\\n/g, '<br />\\n'));\n\t    },\n\n\t    random: function(arr) {\n\t        return arr[Math.floor(Math.random() * arr.length)];\n\t    },\n\n\t    rejectattr: function(arr, attr) {\n\t      return arr.filter(function (item) {\n\t        return !item[attr];\n\t      });\n\t    },\n\n\t    selectattr: function(arr, attr) {\n\t      return arr.filter(function (item) {\n\t        return !!item[attr];\n\t      });\n\t    },\n\n\t    replace: function(str, old, new_, maxCount) {\n\t        var originalStr = str;\n\n\t        if (old instanceof RegExp) {\n\t            return str.replace(old, new_);\n\t        }\n\n\t        if(typeof maxCount === 'undefined'){\n\t            maxCount = -1;\n\t        }\n\n\t        var res = '';  // Output\n\n\t        // Cast Numbers in the search term to string\n\t        if(typeof old === 'number'){\n\t            old = old + '';\n\t        }\n\t        else if(typeof old !== 'string') {\n\t            // If it is something other than number or string,\n\t            // return the original string\n\t            return str;\n\t        }\n\n\t        // Cast numbers in the replacement to string\n\t        if(typeof str === 'number'){\n\t            str = str + '';\n\t        }\n\n\t        // If by now, we don't have a string, throw it back\n\t        if(typeof str !== 'string' && !(str instanceof r.SafeString)){\n\t            return str;\n\t        }\n\n\t        // ShortCircuits\n\t        if(old === ''){\n\t            // Mimic the python behaviour: empty string is replaced\n\t            // by replacement e.g. \"abc\"|replace(\"\", \".\") -> .a.b.c.\n\t            res = new_ + str.split('').join(new_) + new_;\n\t            return r.copySafeness(str, res);\n\t        }\n\n\t        var nextIndex = str.indexOf(old);\n\t        // if # of replacements to perform is 0, or the string to does\n\t        // not contain the old value, return the string\n\t        if(maxCount === 0 || nextIndex === -1){\n\t            return str;\n\t        }\n\n\t        var pos = 0;\n\t        var count = 0; // # of replacements made\n\n\t        while(nextIndex  > -1 && (maxCount === -1 || count < maxCount)){\n\t            // Grab the next chunk of src string and add it with the\n\t            // replacement, to the result\n\t            res += str.substring(pos, nextIndex) + new_;\n\t            // Increment our pointer in the src string\n\t            pos = nextIndex + old.length;\n\t            count++;\n\t            // See if there are any more replacements to be made\n\t            nextIndex = str.indexOf(old, pos);\n\t        }\n\n\t        // We've either reached the end, or done the max # of\n\t        // replacements, tack on any remaining string\n\t        if(pos < str.length) {\n\t            res += str.substring(pos);\n\t        }\n\n\t        return r.copySafeness(originalStr, res);\n\t    },\n\n\t    reverse: function(val) {\n\t        var arr;\n\t        if(lib.isString(val)) {\n\t            arr = filters.list(val);\n\t        }\n\t        else {\n\t            // Copy it\n\t            arr = lib.map(val, function(v) { return v; });\n\t        }\n\n\t        arr.reverse();\n\n\t        if(lib.isString(val)) {\n\t            return r.copySafeness(val, arr.join(''));\n\t        }\n\t        return arr;\n\t    },\n\n\t    round: function(val, precision, method) {\n\t        precision = precision || 0;\n\t        var factor = Math.pow(10, precision);\n\t        var rounder;\n\n\t        if(method === 'ceil') {\n\t            rounder = Math.ceil;\n\t        }\n\t        else if(method === 'floor') {\n\t            rounder = Math.floor;\n\t        }\n\t        else {\n\t            rounder = Math.round;\n\t        }\n\n\t        return rounder(val * factor) / factor;\n\t    },\n\n\t    slice: function(arr, slices, fillWith) {\n\t        var sliceLength = Math.floor(arr.length / slices);\n\t        var extra = arr.length % slices;\n\t        var offset = 0;\n\t        var res = [];\n\n\t        for(var i=0; i<slices; i++) {\n\t            var start = offset + i * sliceLength;\n\t            if(i < extra) {\n\t                offset++;\n\t            }\n\t            var end = offset + (i + 1) * sliceLength;\n\n\t            var slice = arr.slice(start, end);\n\t            if(fillWith && i >= extra) {\n\t                slice.push(fillWith);\n\t            }\n\t            res.push(slice);\n\t        }\n\n\t        return res;\n\t    },\n\n\t    sum: function(arr, attr, start) {\n\t        var sum = 0;\n\n\t        if(typeof start === 'number'){\n\t            sum += start;\n\t        }\n\n\t        if(attr) {\n\t            arr = lib.map(arr, function(v) {\n\t                return v[attr];\n\t            });\n\t        }\n\n\t        for(var i = 0; i < arr.length; i++) {\n\t            sum += arr[i];\n\t        }\n\n\t        return sum;\n\t    },\n\n\t    sort: r.makeMacro(['value', 'reverse', 'case_sensitive', 'attribute'], [], function(arr, reverse, caseSens, attr) {\n\t         // Copy it\n\t        arr = lib.map(arr, function(v) { return v; });\n\n\t        arr.sort(function(a, b) {\n\t            var x, y;\n\n\t            if(attr) {\n\t                x = a[attr];\n\t                y = b[attr];\n\t            }\n\t            else {\n\t                x = a;\n\t                y = b;\n\t            }\n\n\t            if(!caseSens && lib.isString(x) && lib.isString(y)) {\n\t                x = x.toLowerCase();\n\t                y = y.toLowerCase();\n\t            }\n\n\t            if(x < y) {\n\t                return reverse ? 1 : -1;\n\t            }\n\t            else if(x > y) {\n\t                return reverse ? -1: 1;\n\t            }\n\t            else {\n\t                return 0;\n\t            }\n\t        });\n\n\t        return arr;\n\t    }),\n\n\t    string: function(obj) {\n\t        return r.copySafeness(obj, obj);\n\t    },\n\n\t    striptags: function(input, preserve_linebreaks) {\n\t        input = normalize(input, '');\n\t        preserve_linebreaks = preserve_linebreaks || false;\n\t        var tags = /<\\/?([a-z][a-z0-9]*)\\b[^>]*>|<!--[\\s\\S]*?-->/gi;\n\t        var trimmedInput = filters.trim(input.replace(tags, ''));\n\t        var res = '';\n\t        if (preserve_linebreaks) {\n\t            res = trimmedInput\n\t                .replace(/^ +| +$/gm, '')     // remove leading and trailing spaces\n\t                .replace(/ +/g, ' ')          // squash adjacent spaces\n\t                .replace(/(\\r\\n)/g, '\\n')     // normalize linebreaks (CRLF -> LF)\n\t                .replace(/\\n\\n\\n+/g, '\\n\\n'); // squash abnormal adjacent linebreaks\n\t        } else {\n\t            res = trimmedInput.replace(/\\s+/gi, ' ');\n\t        }\n\t        return r.copySafeness(input, res);\n\t    },\n\n\t    title: function(str) {\n\t        str = normalize(str, '');\n\t        var words = str.split(' ');\n\t        for(var i = 0; i < words.length; i++) {\n\t            words[i] = filters.capitalize(words[i]);\n\t        }\n\t        return r.copySafeness(str, words.join(' '));\n\t    },\n\n\t    trim: function(str) {\n\t        return r.copySafeness(str, str.replace(/^\\s*|\\s*$/g, ''));\n\t    },\n\n\t    truncate: function(input, length, killwords, end) {\n\t        var orig = input;\n\t        input = normalize(input, '');\n\t        length = length || 255;\n\n\t        if (input.length <= length)\n\t            return input;\n\n\t        if (killwords) {\n\t            input = input.substring(0, length);\n\t        } else {\n\t            var idx = input.lastIndexOf(' ', length);\n\t            if(idx === -1) {\n\t                idx = length;\n\t            }\n\n\t            input = input.substring(0, idx);\n\t        }\n\n\t        input += (end !== undefined && end !== null) ? end : '...';\n\t        return r.copySafeness(orig, input);\n\t    },\n\n\t    upper: function(str) {\n\t        str = normalize(str, '');\n\t        return str.toUpperCase();\n\t    },\n\n\t    urlencode: function(obj) {\n\t        var enc = encodeURIComponent;\n\t        if (lib.isString(obj)) {\n\t            return enc(obj);\n\t        } else {\n\t            var parts;\n\t            if (lib.isArray(obj)) {\n\t                parts = obj.map(function(item) {\n\t                    return enc(item[0]) + '=' + enc(item[1]);\n\t                });\n\t            } else {\n\t                parts = [];\n\t                for (var k in obj) {\n\t                    if (obj.hasOwnProperty(k)) {\n\t                        parts.push(enc(k) + '=' + enc(obj[k]));\n\t                    }\n\t                }\n\t            }\n\t            return parts.join('&');\n\t        }\n\t    },\n\n\t    urlize: function(str, length, nofollow) {\n\t        if (isNaN(length)) length = Infinity;\n\n\t        var noFollowAttr = (nofollow === true ? ' rel=\"nofollow\"' : '');\n\n\t        // For the jinja regexp, see\n\t        // https://github.com/mitsuhiko/jinja2/blob/f15b814dcba6aa12bc74d1f7d0c881d55f7126be/jinja2/utils.py#L20-L23\n\t        var puncRE = /^(?:\\(|<|&lt;)?(.*?)(?:\\.|,|\\)|\\n|&gt;)?$/;\n\t        // from http://blog.gerv.net/2011/05/html5_email_address_regexp/\n\t        var emailRE = /^[\\w.!#$%&'*+\\-\\/=?\\^`{|}~]+@[a-z\\d\\-]+(\\.[a-z\\d\\-]+)+$/i;\n\t        var httpHttpsRE = /^https?:\\/\\/.*$/;\n\t        var wwwRE = /^www\\./;\n\t        var tldRE = /\\.(?:org|net|com)(?:\\:|\\/|$)/;\n\n\t        var words = str.split(/(\\s+)/).filter(function(word) {\n\t          // If the word has no length, bail. This can happen for str with\n\t          // trailing whitespace.\n\t          return word && word.length;\n\t        }).map(function(word) {\n\t          var matches = word.match(puncRE);\n\t          var possibleUrl = matches && matches[1] || word;\n\n\t          // url that starts with http or https\n\t          if (httpHttpsRE.test(possibleUrl))\n\t            return '<a href=\"' + possibleUrl + '\"' + noFollowAttr + '>' + possibleUrl.substr(0, length) + '</a>';\n\n\t          // url that starts with www.\n\t          if (wwwRE.test(possibleUrl))\n\t            return '<a href=\"http://' + possibleUrl + '\"' + noFollowAttr + '>' + possibleUrl.substr(0, length) + '</a>';\n\n\t          // an email address of the form username@domain.tld\n\t          if (emailRE.test(possibleUrl))\n\t            return '<a href=\"mailto:' + possibleUrl + '\">' + possibleUrl + '</a>';\n\n\t          // url that ends in .com, .org or .net that is not an email address\n\t          if (tldRE.test(possibleUrl))\n\t            return '<a href=\"http://' + possibleUrl + '\"' + noFollowAttr + '>' + possibleUrl.substr(0, length) + '</a>';\n\n\t          return word;\n\n\t        });\n\n\t        return words.join('');\n\t    },\n\n\t    wordcount: function(str) {\n\t        str = normalize(str, '');\n\t        var words = (str) ? str.match(/\\w+/g) : null;\n\t        return (words) ? words.length : null;\n\t    },\n\n\t    'float': function(val, def) {\n\t        var res = parseFloat(val);\n\t        return isNaN(res) ? def : res;\n\t    },\n\n\t    'int': function(val, def) {\n\t        var res = parseInt(val, 10);\n\t        return isNaN(res) ? def : res;\n\t    }\n\t};\n\n\t// Aliases\n\tfilters.d = filters['default'];\n\tfilters.e = filters.escape;\n\n\tmodule.exports = filters;\n\n\n/***/ },\n/* 8 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\n\tvar lib = __webpack_require__(1);\n\tvar Obj = __webpack_require__(6);\n\n\t// Frames keep track of scoping both at compile-time and run-time so\n\t// we know how to access variables. Block tags can introduce special\n\t// variables, for example.\n\tvar Frame = Obj.extend({\n\t    init: function(parent, isolateWrites) {\n\t        this.variables = {};\n\t        this.parent = parent;\n\t        this.topLevel = false;\n\t        // if this is true, writes (set) should never propagate upwards past\n\t        // this frame to its parent (though reads may).\n\t        this.isolateWrites = isolateWrites;\n\t    },\n\n\t    set: function(name, val, resolveUp) {\n\t        // Allow variables with dots by automatically creating the\n\t        // nested structure\n\t        var parts = name.split('.');\n\t        var obj = this.variables;\n\t        var frame = this;\n\n\t        if(resolveUp) {\n\t            if((frame = this.resolve(parts[0], true))) {\n\t                frame.set(name, val);\n\t                return;\n\t            }\n\t        }\n\n\t        for(var i=0; i<parts.length - 1; i++) {\n\t            var id = parts[i];\n\n\t            if(!obj[id]) {\n\t                obj[id] = {};\n\t            }\n\t            obj = obj[id];\n\t        }\n\n\t        obj[parts[parts.length - 1]] = val;\n\t    },\n\n\t    get: function(name) {\n\t        var val = this.variables[name];\n\t        if(val !== undefined) {\n\t            return val;\n\t        }\n\t        return null;\n\t    },\n\n\t    lookup: function(name) {\n\t        var p = this.parent;\n\t        var val = this.variables[name];\n\t        if(val !== undefined) {\n\t            return val;\n\t        }\n\t        return p && p.lookup(name);\n\t    },\n\n\t    resolve: function(name, forWrite) {\n\t        var p = (forWrite && this.isolateWrites) ? undefined : this.parent;\n\t        var val = this.variables[name];\n\t        if(val !== undefined) {\n\t            return this;\n\t        }\n\t        return p && p.resolve(name);\n\t    },\n\n\t    push: function(isolateWrites) {\n\t        return new Frame(this, isolateWrites);\n\t    },\n\n\t    pop: function() {\n\t        return this.parent;\n\t    }\n\t});\n\n\tfunction makeMacro(argNames, kwargNames, func) {\n\t    return function() {\n\t        var argCount = numArgs(arguments);\n\t        var args;\n\t        var kwargs = getKeywordArgs(arguments);\n\t        var i;\n\n\t        if(argCount > argNames.length) {\n\t            args = Array.prototype.slice.call(arguments, 0, argNames.length);\n\n\t            // Positional arguments that should be passed in as\n\t            // keyword arguments (essentially default values)\n\t            var vals = Array.prototype.slice.call(arguments, args.length, argCount);\n\t            for(i = 0; i < vals.length; i++) {\n\t                if(i < kwargNames.length) {\n\t                    kwargs[kwargNames[i]] = vals[i];\n\t                }\n\t            }\n\n\t            args.push(kwargs);\n\t        }\n\t        else if(argCount < argNames.length) {\n\t            args = Array.prototype.slice.call(arguments, 0, argCount);\n\n\t            for(i = argCount; i < argNames.length; i++) {\n\t                var arg = argNames[i];\n\n\t                // Keyword arguments that should be passed as\n\t                // positional arguments, i.e. the caller explicitly\n\t                // used the name of a positional arg\n\t                args.push(kwargs[arg]);\n\t                delete kwargs[arg];\n\t            }\n\n\t            args.push(kwargs);\n\t        }\n\t        else {\n\t            args = arguments;\n\t        }\n\n\t        return func.apply(this, args);\n\t    };\n\t}\n\n\tfunction makeKeywordArgs(obj) {\n\t    obj.__keywords = true;\n\t    return obj;\n\t}\n\n\tfunction getKeywordArgs(args) {\n\t    var len = args.length;\n\t    if(len) {\n\t        var lastArg = args[len - 1];\n\t        if(lastArg && lastArg.hasOwnProperty('__keywords')) {\n\t            return lastArg;\n\t        }\n\t    }\n\t    return {};\n\t}\n\n\tfunction numArgs(args) {\n\t    var len = args.length;\n\t    if(len === 0) {\n\t        return 0;\n\t    }\n\n\t    var lastArg = args[len - 1];\n\t    if(lastArg && lastArg.hasOwnProperty('__keywords')) {\n\t        return len - 1;\n\t    }\n\t    else {\n\t        return len;\n\t    }\n\t}\n\n\t// A SafeString object indicates that the string should not be\n\t// autoescaped. This happens magically because autoescaping only\n\t// occurs on primitive string objects.\n\tfunction SafeString(val) {\n\t    if(typeof val !== 'string') {\n\t        return val;\n\t    }\n\n\t    this.val = val;\n\t    this.length = val.length;\n\t}\n\n\tSafeString.prototype = Object.create(String.prototype, {\n\t    length: { writable: true, configurable: true, value: 0 }\n\t});\n\tSafeString.prototype.valueOf = function() {\n\t    return this.val;\n\t};\n\tSafeString.prototype.toString = function() {\n\t    return this.val;\n\t};\n\n\tfunction copySafeness(dest, target) {\n\t    if(dest instanceof SafeString) {\n\t        return new SafeString(target);\n\t    }\n\t    return target.toString();\n\t}\n\n\tfunction markSafe(val) {\n\t    var type = typeof val;\n\n\t    if(type === 'string') {\n\t        return new SafeString(val);\n\t    }\n\t    else if(type !== 'function') {\n\t        return val;\n\t    }\n\t    else {\n\t        return function() {\n\t            var ret = val.apply(this, arguments);\n\n\t            if(typeof ret === 'string') {\n\t                return new SafeString(ret);\n\t            }\n\n\t            return ret;\n\t        };\n\t    }\n\t}\n\n\tfunction suppressValue(val, autoescape) {\n\t    val = (val !== undefined && val !== null) ? val : '';\n\n\t    if(autoescape && !(val instanceof SafeString)) {\n\t        val = lib.escape(val.toString());\n\t    }\n\n\t    return val;\n\t}\n\n\tfunction ensureDefined(val, lineno, colno) {\n\t    if(val === null || val === undefined) {\n\t        throw new lib.TemplateError(\n\t            'attempted to output null or undefined value',\n\t            lineno + 1,\n\t            colno + 1\n\t        );\n\t    }\n\t    return val;\n\t}\n\n\tfunction memberLookup(obj, val) {\n\t    obj = obj || {};\n\n\t    if(typeof obj[val] === 'function') {\n\t        return function() {\n\t            return obj[val].apply(obj, arguments);\n\t        };\n\t    }\n\n\t    return obj[val];\n\t}\n\n\tfunction callWrap(obj, name, context, args) {\n\t    if(!obj) {\n\t        throw new Error('Unable to call `' + name + '`, which is undefined or falsey');\n\t    }\n\t    else if(typeof obj !== 'function') {\n\t        throw new Error('Unable to call `' + name + '`, which is not a function');\n\t    }\n\n\t    // jshint validthis: true\n\t    return obj.apply(context, args);\n\t}\n\n\tfunction contextOrFrameLookup(context, frame, name) {\n\t    var val = frame.lookup(name);\n\t    return (val !== undefined) ?\n\t        val :\n\t        context.lookup(name);\n\t}\n\n\tfunction handleError(error, lineno, colno) {\n\t    if(error.lineno) {\n\t        return error;\n\t    }\n\t    else {\n\t        return new lib.TemplateError(error, lineno, colno);\n\t    }\n\t}\n\n\tfunction asyncEach(arr, dimen, iter, cb) {\n\t    if(lib.isArray(arr)) {\n\t        var len = arr.length;\n\n\t        lib.asyncIter(arr, function(item, i, next) {\n\t            switch(dimen) {\n\t            case 1: iter(item, i, len, next); break;\n\t            case 2: iter(item[0], item[1], i, len, next); break;\n\t            case 3: iter(item[0], item[1], item[2], i, len, next); break;\n\t            default:\n\t                item.push(i, next);\n\t                iter.apply(this, item);\n\t            }\n\t        }, cb);\n\t    }\n\t    else {\n\t        lib.asyncFor(arr, function(key, val, i, len, next) {\n\t            iter(key, val, i, len, next);\n\t        }, cb);\n\t    }\n\t}\n\n\tfunction asyncAll(arr, dimen, func, cb) {\n\t    var finished = 0;\n\t    var len, i;\n\t    var outputArr;\n\n\t    function done(i, output) {\n\t        finished++;\n\t        outputArr[i] = output;\n\n\t        if(finished === len) {\n\t            cb(null, outputArr.join(''));\n\t        }\n\t    }\n\n\t    if(lib.isArray(arr)) {\n\t        len = arr.length;\n\t        outputArr = new Array(len);\n\n\t        if(len === 0) {\n\t            cb(null, '');\n\t        }\n\t        else {\n\t            for(i = 0; i < arr.length; i++) {\n\t                var item = arr[i];\n\n\t                switch(dimen) {\n\t                case 1: func(item, i, len, done); break;\n\t                case 2: func(item[0], item[1], i, len, done); break;\n\t                case 3: func(item[0], item[1], item[2], i, len, done); break;\n\t                default:\n\t                    item.push(i, done);\n\t                    // jshint validthis: true\n\t                    func.apply(this, item);\n\t                }\n\t            }\n\t        }\n\t    }\n\t    else {\n\t        var keys = lib.keys(arr);\n\t        len = keys.length;\n\t        outputArr = new Array(len);\n\n\t        if(len === 0) {\n\t            cb(null, '');\n\t        }\n\t        else {\n\t            for(i = 0; i < keys.length; i++) {\n\t                var k = keys[i];\n\t                func(k, arr[k], i, len, done);\n\t            }\n\t        }\n\t    }\n\t}\n\n\tmodule.exports = {\n\t    Frame: Frame,\n\t    makeMacro: makeMacro,\n\t    makeKeywordArgs: makeKeywordArgs,\n\t    numArgs: numArgs,\n\t    suppressValue: suppressValue,\n\t    ensureDefined: ensureDefined,\n\t    memberLookup: memberLookup,\n\t    contextOrFrameLookup: contextOrFrameLookup,\n\t    callWrap: callWrap,\n\t    handleError: handleError,\n\t    isArray: lib.isArray,\n\t    keys: lib.keys,\n\t    SafeString: SafeString,\n\t    copySafeness: copySafeness,\n\t    markSafe: markSafe,\n\t    asyncEach: asyncEach,\n\t    asyncAll: asyncAll,\n\t    inOperator: lib.inOperator\n\t};\n\n\n/***/ },\n/* 9 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\n\tfunction cycler(items) {\n\t    var index = -1;\n\n\t    return {\n\t        current: null,\n\t        reset: function() {\n\t            index = -1;\n\t            this.current = null;\n\t        },\n\n\t        next: function() {\n\t            index++;\n\t            if(index >= items.length) {\n\t                index = 0;\n\t            }\n\n\t            this.current = items[index];\n\t            return this.current;\n\t        },\n\t    };\n\n\t}\n\n\tfunction joiner(sep) {\n\t    sep = sep || ',';\n\t    var first = true;\n\n\t    return function() {\n\t        var val = first ? '' : sep;\n\t        first = false;\n\t        return val;\n\t    };\n\t}\n\n\t// Making this a function instead so it returns a new object\n\t// each time it's called. That way, if something like an environment\n\t// uses it, they will each have their own copy.\n\tfunction globals() {\n\t    return {\n\t        range: function(start, stop, step) {\n\t            if(typeof stop === 'undefined') {\n\t                stop = start;\n\t                start = 0;\n\t                step = 1;\n\t            }\n\t            else if(!step) {\n\t                step = 1;\n\t            }\n\n\t            var arr = [];\n\t            var i;\n\t            if (step > 0) {\n\t                for (i=start; i<stop; i+=step) {\n\t                    arr.push(i);\n\t                }\n\t            } else {\n\t                for (i=start; i>stop; i+=step) {\n\t                    arr.push(i);\n\t                }\n\t            }\n\t            return arr;\n\t        },\n\n\t        // lipsum: function(n, html, min, max) {\n\t        // },\n\n\t        cycler: function() {\n\t            return cycler(Array.prototype.slice.call(arguments));\n\t        },\n\n\t        joiner: function(sep) {\n\t            return joiner(sep);\n\t        }\n\t    };\n\t}\n\n\tmodule.exports = globals;\n\n\n/***/ },\n/* 10 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* WEBPACK VAR INJECTION */(function(setImmediate, process) {// MIT license (by Elan Shanker).\n\t(function(globals) {\n\t  'use strict';\n\n\t  var executeSync = function(){\n\t    var args = Array.prototype.slice.call(arguments);\n\t    if (typeof args[0] === 'function'){\n\t      args[0].apply(null, args.splice(1));\n\t    }\n\t  };\n\n\t  var executeAsync = function(fn){\n\t    if (typeof setImmediate === 'function') {\n\t      setImmediate(fn);\n\t    } else if (typeof process !== 'undefined' && process.nextTick) {\n\t      process.nextTick(fn);\n\t    } else {\n\t      setTimeout(fn, 0);\n\t    }\n\t  };\n\n\t  var makeIterator = function (tasks) {\n\t    var makeCallback = function (index) {\n\t      var fn = function () {\n\t        if (tasks.length) {\n\t          tasks[index].apply(null, arguments);\n\t        }\n\t        return fn.next();\n\t      };\n\t      fn.next = function () {\n\t        return (index < tasks.length - 1) ? makeCallback(index + 1): null;\n\t      };\n\t      return fn;\n\t    };\n\t    return makeCallback(0);\n\t  };\n\t  \n\t  var _isArray = Array.isArray || function(maybeArray){\n\t    return Object.prototype.toString.call(maybeArray) === '[object Array]';\n\t  };\n\n\t  var waterfall = function (tasks, callback, forceAsync) {\n\t    var nextTick = forceAsync ? executeAsync : executeSync;\n\t    callback = callback || function () {};\n\t    if (!_isArray(tasks)) {\n\t      var err = new Error('First argument to waterfall must be an array of functions');\n\t      return callback(err);\n\t    }\n\t    if (!tasks.length) {\n\t      return callback();\n\t    }\n\t    var wrapIterator = function (iterator) {\n\t      return function (err) {\n\t        if (err) {\n\t          callback.apply(null, arguments);\n\t          callback = function () {};\n\t        } else {\n\t          var args = Array.prototype.slice.call(arguments, 1);\n\t          var next = iterator.next();\n\t          if (next) {\n\t            args.push(wrapIterator(next));\n\t          } else {\n\t            args.push(callback);\n\t          }\n\t          nextTick(function () {\n\t            iterator.apply(null, args);\n\t          });\n\t        }\n\t      };\n\t    };\n\t    wrapIterator(makeIterator(tasks))();\n\t  };\n\n\t  if (true) {\n\t    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t      return waterfall;\n\t    }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); // RequireJS\n\t  } else if (typeof module !== 'undefined' && module.exports) {\n\t    module.exports = waterfall; // CommonJS\n\t  } else {\n\t    globals.waterfall = waterfall; // <script>\n\t  }\n\t})(this);\n\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(11).setImmediate, __webpack_require__(3)))\n\n/***/ },\n/* 11 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(setImmediate, clearImmediate) {var nextTick = __webpack_require__(12).nextTick;\n\tvar apply = Function.prototype.apply;\n\tvar slice = Array.prototype.slice;\n\tvar immediateIds = {};\n\tvar nextImmediateId = 0;\n\n\t// DOM APIs, for completeness\n\n\texports.setTimeout = function() {\n\t  return new Timeout(apply.call(setTimeout, window, arguments), clearTimeout);\n\t};\n\texports.setInterval = function() {\n\t  return new Timeout(apply.call(setInterval, window, arguments), clearInterval);\n\t};\n\texports.clearTimeout =\n\texports.clearInterval = function(timeout) { timeout.close(); };\n\n\tfunction Timeout(id, clearFn) {\n\t  this._id = id;\n\t  this._clearFn = clearFn;\n\t}\n\tTimeout.prototype.unref = Timeout.prototype.ref = function() {};\n\tTimeout.prototype.close = function() {\n\t  this._clearFn.call(window, this._id);\n\t};\n\n\t// Does not start the time, just sets up the members needed.\n\texports.enroll = function(item, msecs) {\n\t  clearTimeout(item._idleTimeoutId);\n\t  item._idleTimeout = msecs;\n\t};\n\n\texports.unenroll = function(item) {\n\t  clearTimeout(item._idleTimeoutId);\n\t  item._idleTimeout = -1;\n\t};\n\n\texports._unrefActive = exports.active = function(item) {\n\t  clearTimeout(item._idleTimeoutId);\n\n\t  var msecs = item._idleTimeout;\n\t  if (msecs >= 0) {\n\t    item._idleTimeoutId = setTimeout(function onTimeout() {\n\t      if (item._onTimeout)\n\t        item._onTimeout();\n\t    }, msecs);\n\t  }\n\t};\n\n\t// That's not how node.js implements it but the exposed api is the same.\n\texports.setImmediate = typeof setImmediate === \"function\" ? setImmediate : function(fn) {\n\t  var id = nextImmediateId++;\n\t  var args = arguments.length < 2 ? false : slice.call(arguments, 1);\n\n\t  immediateIds[id] = true;\n\n\t  nextTick(function onNextTick() {\n\t    if (immediateIds[id]) {\n\t      // fn.call() is faster so we optimize for the common use-case\n\t      // @see http://jsperf.com/call-apply-segu\n\t      if (args) {\n\t        fn.apply(null, args);\n\t      } else {\n\t        fn.call(null);\n\t      }\n\t      // Prevent ids from leaking\n\t      exports.clearImmediate(id);\n\t    }\n\t  });\n\n\t  return id;\n\t};\n\n\texports.clearImmediate = typeof clearImmediate === \"function\" ? clearImmediate : function(id) {\n\t  delete immediateIds[id];\n\t};\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(11).setImmediate, __webpack_require__(11).clearImmediate))\n\n/***/ },\n/* 12 */\n/***/ function(module, exports) {\n\n\t// shim for using process in browser\n\n\tvar process = module.exports = {};\n\tvar queue = [];\n\tvar draining = false;\n\tvar currentQueue;\n\tvar queueIndex = -1;\n\n\tfunction cleanUpNextTick() {\n\t    draining = false;\n\t    if (currentQueue.length) {\n\t        queue = currentQueue.concat(queue);\n\t    } else {\n\t        queueIndex = -1;\n\t    }\n\t    if (queue.length) {\n\t        drainQueue();\n\t    }\n\t}\n\n\tfunction drainQueue() {\n\t    if (draining) {\n\t        return;\n\t    }\n\t    var timeout = setTimeout(cleanUpNextTick);\n\t    draining = true;\n\n\t    var len = queue.length;\n\t    while(len) {\n\t        currentQueue = queue;\n\t        queue = [];\n\t        while (++queueIndex < len) {\n\t            if (currentQueue) {\n\t                currentQueue[queueIndex].run();\n\t            }\n\t        }\n\t        queueIndex = -1;\n\t        len = queue.length;\n\t    }\n\t    currentQueue = null;\n\t    draining = false;\n\t    clearTimeout(timeout);\n\t}\n\n\tprocess.nextTick = function (fun) {\n\t    var args = new Array(arguments.length - 1);\n\t    if (arguments.length > 1) {\n\t        for (var i = 1; i < arguments.length; i++) {\n\t            args[i - 1] = arguments[i];\n\t        }\n\t    }\n\t    queue.push(new Item(fun, args));\n\t    if (queue.length === 1 && !draining) {\n\t        setTimeout(drainQueue, 0);\n\t    }\n\t};\n\n\t// v8 likes predictible objects\n\tfunction Item(fun, array) {\n\t    this.fun = fun;\n\t    this.array = array;\n\t}\n\tItem.prototype.run = function () {\n\t    this.fun.apply(null, this.array);\n\t};\n\tprocess.title = 'browser';\n\tprocess.browser = true;\n\tprocess.env = {};\n\tprocess.argv = [];\n\tprocess.version = ''; // empty string to avoid regexp issues\n\tprocess.versions = {};\n\n\tfunction noop() {}\n\n\tprocess.on = noop;\n\tprocess.addListener = noop;\n\tprocess.once = noop;\n\tprocess.off = noop;\n\tprocess.removeListener = noop;\n\tprocess.removeAllListeners = noop;\n\tprocess.emit = noop;\n\n\tprocess.binding = function (name) {\n\t    throw new Error('process.binding is not supported');\n\t};\n\n\tprocess.cwd = function () { return '/' };\n\tprocess.chdir = function (dir) {\n\t    throw new Error('process.chdir is not supported');\n\t};\n\tprocess.umask = function() { return 0; };\n\n\n/***/ },\n/* 13 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\n\tvar Loader = __webpack_require__(14);\n\n\tvar PrecompiledLoader = Loader.extend({\n\t    init: function(compiledTemplates) {\n\t        this.precompiled = compiledTemplates || {};\n\t    },\n\n\t    getSource: function(name) {\n\t        if (this.precompiled[name]) {\n\t            return {\n\t                src: { type: 'code',\n\t                       obj: this.precompiled[name] },\n\t                path: name\n\t            };\n\t        }\n\t        return null;\n\t    }\n\t});\n\n\tmodule.exports = PrecompiledLoader;\n\n\n/***/ },\n/* 14 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\n\tvar path = __webpack_require__(3);\n\tvar Obj = __webpack_require__(6);\n\tvar lib = __webpack_require__(1);\n\n\tvar Loader = Obj.extend({\n\t    on: function(name, func) {\n\t        this.listeners = this.listeners || {};\n\t        this.listeners[name] = this.listeners[name] || [];\n\t        this.listeners[name].push(func);\n\t    },\n\n\t    emit: function(name /*, arg1, arg2, ...*/) {\n\t        var args = Array.prototype.slice.call(arguments, 1);\n\n\t        if(this.listeners && this.listeners[name]) {\n\t            lib.each(this.listeners[name], function(listener) {\n\t                listener.apply(null, args);\n\t            });\n\t        }\n\t    },\n\n\t    resolve: function(from, to) {\n\t        return path.resolve(path.dirname(from), to);\n\t    },\n\n\t    isRelative: function(filename) {\n\t        return (filename.indexOf('./') === 0 || filename.indexOf('../') === 0);\n\t    }\n\t});\n\n\tmodule.exports = Loader;\n\n\n/***/ },\n/* 15 */\n/***/ function(module, exports) {\n\n\tfunction installCompat() {\n\t  'use strict';\n\n\t  // This must be called like `nunjucks.installCompat` so that `this`\n\t  // references the nunjucks instance\n\t  var runtime = this.runtime; // jshint ignore:line\n\t  var lib = this.lib; // jshint ignore:line\n\n\t  var orig_contextOrFrameLookup = runtime.contextOrFrameLookup;\n\t  runtime.contextOrFrameLookup = function(context, frame, key) {\n\t    var val = orig_contextOrFrameLookup.apply(this, arguments);\n\t    if (val === undefined) {\n\t      switch (key) {\n\t      case 'True':\n\t        return true;\n\t      case 'False':\n\t        return false;\n\t      case 'None':\n\t        return null;\n\t      }\n\t    }\n\n\t    return val;\n\t  };\n\n\t  var orig_memberLookup = runtime.memberLookup;\n\t  var ARRAY_MEMBERS = {\n\t    pop: function(index) {\n\t      if (index === undefined) {\n\t        return this.pop();\n\t      }\n\t      if (index >= this.length || index < 0) {\n\t        throw new Error('KeyError');\n\t      }\n\t      return this.splice(index, 1);\n\t    },\n\t    append: function(element) {\n\t        return this.push(element);\n\t    },\n\t    remove: function(element) {\n\t      for (var i = 0; i < this.length; i++) {\n\t        if (this[i] === element) {\n\t          return this.splice(i, 1);\n\t        }\n\t      }\n\t      throw new Error('ValueError');\n\t    },\n\t    count: function(element) {\n\t      var count = 0;\n\t      for (var i = 0; i < this.length; i++) {\n\t        if (this[i] === element) {\n\t          count++;\n\t        }\n\t      }\n\t      return count;\n\t    },\n\t    index: function(element) {\n\t      var i;\n\t      if ((i = this.indexOf(element)) === -1) {\n\t        throw new Error('ValueError');\n\t      }\n\t      return i;\n\t    },\n\t    find: function(element) {\n\t      return this.indexOf(element);\n\t    },\n\t    insert: function(index, elem) {\n\t      return this.splice(index, 0, elem);\n\t    }\n\t  };\n\t  var OBJECT_MEMBERS = {\n\t    items: function() {\n\t      var ret = [];\n\t      for(var k in this) {\n\t        ret.push([k, this[k]]);\n\t      }\n\t      return ret;\n\t    },\n\t    values: function() {\n\t      var ret = [];\n\t      for(var k in this) {\n\t        ret.push(this[k]);\n\t      }\n\t      return ret;\n\t    },\n\t    keys: function() {\n\t      var ret = [];\n\t      for(var k in this) {\n\t        ret.push(k);\n\t      }\n\t      return ret;\n\t    },\n\t    get: function(key, def) {\n\t      var output = this[key];\n\t      if (output === undefined) {\n\t        output = def;\n\t      }\n\t      return output;\n\t    },\n\t    has_key: function(key) {\n\t      return this.hasOwnProperty(key);\n\t    },\n\t    pop: function(key, def) {\n\t      var output = this[key];\n\t      if (output === undefined && def !== undefined) {\n\t        output = def;\n\t      } else if (output === undefined) {\n\t        throw new Error('KeyError');\n\t      } else {\n\t        delete this[key];\n\t      }\n\t      return output;\n\t    },\n\t    popitem: function() {\n\t      for (var k in this) {\n\t        // Return the first object pair.\n\t        var val = this[k];\n\t        delete this[k];\n\t        return [k, val];\n\t      }\n\t      throw new Error('KeyError');\n\t    },\n\t    setdefault: function(key, def) {\n\t      if (key in this) {\n\t        return this[key];\n\t      }\n\t      if (def === undefined) {\n\t        def = null;\n\t      }\n\t      return this[key] = def;\n\t    },\n\t    update: function(kwargs) {\n\t      for (var k in kwargs) {\n\t        this[k] = kwargs[k];\n\t      }\n\t      return null;  // Always returns None\n\t    }\n\t  };\n\t  OBJECT_MEMBERS.iteritems = OBJECT_MEMBERS.items;\n\t  OBJECT_MEMBERS.itervalues = OBJECT_MEMBERS.values;\n\t  OBJECT_MEMBERS.iterkeys = OBJECT_MEMBERS.keys;\n\t  runtime.memberLookup = function(obj, val, autoescape) { // jshint ignore:line\n\t    obj = obj || {};\n\n\t    // If the object is an object, return any of the methods that Python would\n\t    // otherwise provide.\n\t    if (lib.isArray(obj) && ARRAY_MEMBERS.hasOwnProperty(val)) {\n\t      return function() {return ARRAY_MEMBERS[val].apply(obj, arguments);};\n\t    }\n\n\t    if (lib.isObject(obj) && OBJECT_MEMBERS.hasOwnProperty(val)) {\n\t      return function() {return OBJECT_MEMBERS[val].apply(obj, arguments);};\n\t    }\n\n\t    return orig_memberLookup.apply(this, arguments);\n\t  };\n\t}\n\n\tmodule.exports = installCompat;\n\n\n/***/ }\n/******/ ])\n});\n;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/nunjucks/browser/nunjucks-slim.js\n// module id = 11\n// module chunks = 0","module.exports = function (nunjucks, env, obj, dependencies){\n\n    var oldRoot = obj.root;\n\n    obj.root = function( env, context, frame, runtime, ignoreMissing, cb ) {\n        var oldGetTemplate = env.getTemplate;\n        env.getTemplate = function (name, ec, parentName, ignoreMissing, cb) {\n            if( typeof ec === \"function\" ) {\n                cb = ec = false;\n            }\n            var _require = function (name) {\n                try {\n                    // add a reference to the already resolved dependency here\n                    return dependencies[name];\n                }\n                catch (e) {\n                    if (frame.get(\"_require\")) {\n                        return frame.get(\"_require\")(name);\n                    }\n                    else {\n                        console.warn('Could not load template \"%s\"', name);\n                    }\n                }\n            };\n\n            var tmpl = _require(name);\n            frame.set(\"_require\", _require);\n\n            if( ec ) tmpl.compile();\n            cb( null, tmpl );\n        };\n\n        oldRoot(env, context, frame, runtime, ignoreMissing, function (err, res) {\n            env.getTemplate = oldGetTemplate;\n            cb( err, res );\n        });\n    };\n\n    var src = {\n        obj: obj,\n        type: 'code'\n    };\n\n    return new nunjucks.Template(src, env);\n\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/nunjucks-loader/runtime-shim.js\n// module id = 12\n// module chunks = 0","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); /**\n                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * @module Tracker\n                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      * For tracking and analytics\n                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      */\n\nexports.trackingLibrary = trackingLibrary;\nexports.sendEvent = sendEvent;\nexports.sendDataLayerEvent = sendDataLayerEvent;\nexports.sendUniversalEvent = sendUniversalEvent;\nexports.sendClassicEvent = sendClassicEvent;\n\nvar _pluginizr = require(\"./pluginizr\");\n\nvar _pluginizr2 = _interopRequireDefault(_pluginizr);\n\nvar _eventr = require(\"./eventr\");\n\nvar _eventr2 = _interopRequireDefault(_eventr);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar Defaults = {\n\ttrackSelectors: [\"a[data-track]\", \"button[data-track]\", \"[type='submit'][data-track]\", \"[type='reset'][data-track]\", \"[type='image'][data-track]\", \"[data-track] a\", \"[data-track] button\", \".tophat a\"]\n};\n\nvar TagManager = \"TagManager\",\n    Classic = \"Classic\",\n    Universal = \"Universal\";\n\n// Gets the name of tracking library available\nfunction trackingLibrary() {\n\tif (window.dataLayer && typeof window.dataLayer.push === \"function\") return TagManager;\n\n\tif (window._gaq && typeof window._gaq.push === \"function\") return Classic;\n\n\tif (typeof window.ga === \"function\") return Universal;\n\n\treturn \"\";\n}\n\n/**\n * A function that gets called as soon as a hit to Google has been successfully sent.\n *\n * @callback hitCallback\n * @param {string} message An optional error message if it fails\n */\n\n/**\n * Tracks an event to the current loaded analytics services (either GTM/GA/UA)\n * @param  {string} category        The name you supply for the group of objects you want to track.\n * @param  {string} action        \tA string that is uniquely paired with each category, and commonly used to define the type of user interaction for the web object.\n * @param  {string} label        \tAn optional string to provide additional dimensions to the event data.\n * @param  {integer} value       \tAn optional integer that you can use to provide numerical data about the user event.\n * @param  {hitCallback} callback \tA function to callback\n * @param  {boolean} nonInteraction Specified an event as a non-interaction event. Note: non-interaction can\"t be set via the datalayer in GTM\n * @return {Promise}\t\t\t\tA promise that resolves when the track has successfully finished\n * @example\n * \timport Tracker from \"tracker\";\n * \tTracker.trackEvent(\"ct\", \"actn\", \"lbl\").then(() => {\n * \t\t// tracked\n * \t}).catch(err => {\n * \t\t// Error tracking\n * \t};\n */\nfunction sendEvent(category, action) {\n\tvar label = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : \"\";\n\tvar value = arguments[3];\n\tvar callback = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : null;\n\tvar nonInteraction = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : false;\n\n\n\tif (trackingLibrary() == TagManager) return sendDataLayerEvent(category, action, label, value, callback);else if (trackingLibrary() == Universal) return sendUniversalEvent(category, action, label, value, callback, nonInteraction);else if (trackingLibrary() == Classic) return sendClassicEvent(category, action, label, value, callback, nonInteraction);\n\n\tvar msg = \"No tracking library available\",\n\t    err = new Error(msg);\n\tif (typeof callback === \"function\") callback(err);\n\treturn Promise.reject(err);\n}\n\n/**\n * Sends an event to the GTM data layer\n * @param  {String} category \tCategory\n * @param  {String} action \t\tAction\n * @param  {String} label \t\tLabel\n * @param  {Int} values\t\t\tValue\n * @param  {Function} callback \tCallback\n * @return {Promise}\t\t\tA promise resolved when the track has fired\n */\nfunction sendDataLayerEvent(category, action) {\n\tvar label = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : \"\";\n\tvar value = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;\n\tvar callback = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : null;\n\n\n\tif (trackingLibrary() !== TagManager) {\n\t\treturn new Promise(function (resolve, reject) {\n\t\t\t// eslint-disable-line no-unused-vars\n\t\t\tvar msg = \"Google Tag Manager is not available\";\n\t\t\tif (typeof callback === \"function\") callback(msg);\n\t\t\treject(msg);\n\t\t});\n\t}\n\n\tvar data = {\n\t\tevent: \"event\",\n\t\teventCategory: category,\n\t\teventAction: action,\n\t\teventLabel: label\n\t};\n\n\tif (value) data.eventValue = value;\n\n\treturn new Promise(function (resolve) {\n\t\tdata.eventCallback = function () {\n\t\t\tif (typeof callback === \"function\") callback();\n\t\t\tresolve();\n\t\t};\n\n\t\twindow.dataLayer.push(data);\n\t});\n}\n\n/**\n * Sends an event to the Universal Analytics\n * @param  {String} category \tCategory\n * @param  {String} action \t\tAction\n * @param  {String} label \t\tLabel\n * @param  {Int} values\t\t\tValue\n * @param  {Function} callback \tCallback\n * @return {Promise}\t\t\tA promise resolved when the track has fired\n */\nfunction sendUniversalEvent(category, action) {\n\tvar label = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : \"\";\n\tvar value = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;\n\tvar callback = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : null;\n\n\n\tif (trackingLibrary() !== Universal) {\n\t\treturn new Promise(function (resolve, reject) {\n\t\t\t// eslint-disable-line no-unused-vars\n\t\t\tvar msg = \"Universal Analytics is not available\";\n\t\t\tif (typeof callback === \"function\") callback(msg);\n\t\t\treject(msg);\n\t\t});\n\t}\n\n\treturn new Promise(function (resolve) {\n\t\tvar cb = function cb() {\n\t\t\tif (typeof callback === \"function\") callback();\n\t\t\tresolve();\n\t\t};\n\n\t\twindow.ga(\"send\", {\n\t\t\thitType: \"event\",\n\t\t\teventCategory: category,\n\t\t\teventAction: action,\n\t\t\teventLabel: label,\n\t\t\teventValue: value,\n\t\t\thitCallback: cb\n\t\t});\n\t});\n}\n\nfunction sendClassicEvent(category, action) {\n\tvar label = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : \"\";\n\tvar value = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;\n\tvar callback = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : null;\n\n\n\tif (trackingLibrary() !== Classic) {\n\t\treturn new Promise(function (resolve, reject) {\n\t\t\t// eslint-disable-line no-unused-vars\n\t\t\tvar msg = \"Classic Analytics is not available\";\n\t\t\tif (typeof callback === \"function\") callback(msg);\n\t\t\treject(msg);\n\t\t});\n\t}\n\n\treturn new Promise(function (resolve) {\n\t\tvar cb = function cb() {\n\t\t\tif (typeof callback === \"function\") callback();\n\t\t\tresolve();\n\t\t};\n\n\t\twindow._gaq.push([\"_set\", \"hitCallback\", cb]);\n\t\twindow._gaq.push([\"_trackEvent\", category, action, label, value]);\n\t});\n}\n\n/// @class Tracker\n/// Base on the old NICE.EventTracking.js.\n/// @link //cdn.nice.org.uk/V3/Scripts/nice/NICE.EventTracking.js\n\nvar Tracker = function () {\n\t_createClass(Tracker, null, [{\n\t\tkey: \"defaults\",\n\t\tvalue: function defaults() {\n\t\t\treturn Defaults;\n\t\t}\n\t}]);\n\n\tfunction Tracker(element, options) {\n\t\t_classCallCheck(this, Tracker);\n\n\t\tif (!element) throw new Error(\"Element must be non-null\");\n\n\t\tthis.el = element;\n\t\tthis.$el = $(element);\n\n\t\tthis.options = $.extend({}, Tracker.defaults(), options);\n\n\t\tthis.delegate();\n\t}\n\n\t_createClass(Tracker, [{\n\t\tkey: \"events\",\n\t\tvalue: function events() {\n\t\t\treturn _defineProperty({}, \"click.tracker \" + this.options.trackSelectors.join(\",\"), \"_handleTrack\");\n\t\t}\n\t}, {\n\t\tkey: \"_handleTrack\",\n\t\tvalue: function _handleTrack(e) {\n\t\t\tvar $el = $(e.currentTarget);\n\n\t\t\tvar cat = $el.data(\"track-category\") || \"\",\n\t\t\t    action = $el.data(\"track-action\") || \"\",\n\t\t\t    label = $el.data(\"track-label\") || \"\",\n\t\t\t    value = $el.data(\"track-value\");\n\n\t\t\tsendEvent(cat, action, label, value);\n\t\t}\n\t}]);\n\n\treturn Tracker;\n}();\n\nexports['default'] = Tracker;\n\nTracker.sendEvent = sendEvent;\nTracker.sendDataLayerEvent = sendDataLayerEvent;\nTracker.sendUniversalEvent = sendUniversalEvent;\nTracker.sendClassicEvent = sendClassicEvent;\n\n(0, _eventr2['default'])(Tracker);\n(0, _pluginizr2['default'])(\"tracker\", Tracker);\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/javascripts/tracker.js\n// module id = 13\n// module chunks = 0","var map = {\n\t\"./in-page-nav/in-page-nav.js\": 7,\n\t\"./tabs/tabs.js\": 4\n};\nfunction webpackContext(req) {\n\treturn __webpack_require__(webpackContextResolve(req));\n};\nfunction webpackContextResolve(req) {\n\treturn map[req] || (function() { throw new Error(\"Cannot find module '\" + req + \"'.\") }());\n};\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 14;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components ^((?!test\\.).)*\\.js$/gi\n// module id = 14\n// module chunks = 0","var map = {\n\t\"./breakpoints.js\": 9,\n\t\"./eventr.js\": 6,\n\t\"./experience.js\": 1,\n\t\"./plugin-autoloader.js\": 2,\n\t\"./pluginizr.js\": 3,\n\t\"./tracker.js\": 13,\n\t\"./utils.js\": 8\n};\nfunction webpackContext(req) {\n\treturn __webpack_require__(webpackContextResolve(req));\n};\nfunction webpackContextResolve(req) {\n\treturn map[req] || (function() { throw new Error(\"Cannot find module '\" + req + \"'.\") }());\n};\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 15;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/javascripts ^((?!test\\.).)*\\.js$/gi\n// module id = 15\n// module chunks = 0"],"sourceRoot":""}