{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///../node_modules/bugsnag-js/dist/bugsnag.js","webpack:///../resources/assets/js/bugsnag.ts"],"names":["options","notifyReleaseStages","appEnv","document","querySelector","content","releaseStage","apiKey","appVersion","Bugsnag","bugsnag","window"],"mappings":";AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,kDAA0C,gCAAgC;AAC1E;AACA;;AAEA;AACA;AACA;AACA,gEAAwD,kBAAkB;AAC1E;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAyC,iCAAiC;AAC1E,wHAAgH,mBAAmB,EAAE;AACrI;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;;AAGA;AACA;;;;;;;;;;;;AClFA,aAAa,GAAG,IAAsD,EAAE,mBAAmB,KAAK,UAAgO,CAAC,aAAa;AAC9U;;AAEA;;AAEA;AACA;AACA;AACA,mCAAmC,SAAS;AAC5C;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA,wBAAwB,iBAAiB;AACzC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C,SAAS;AACnD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB;;AAEnB,iDAAiD,0CAA0C,0DAA0D,EAAE;;AAEvJ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,CAAC;;AAED;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,4DAA4D,mBAAmB;AAC/E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,GAAG;AACH;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,KAAK;AACL,wDAAwD,2BAA2B;AACnF;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG,IAAI;AACP;;AAEA;AACA;AACA;AACA;AACA,yBAAyB,2DAA2D;AACpF,GAAG;AACH,UAAU;AACV;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA,CAAC;AACD;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,2BAA2B,kBAAkB;AAC7C;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,aAAa;AACb;AACA,aAAa;AACb;AACA;AACA,SAAS;;AAET;AACA,2DAA2D,UAAU;AACrE;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB,yBAAyB;AAC5C;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA,mBAAmB,yBAAyB;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA,mBAAmB,wBAAwB;AAC3C;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA,CAAC;AACD;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,mBAAmB,MAAM;AACzB,oBAAoB,MAAM;AAC1B;AACA;AACA;AACA;AACA,aAAa;AACb;AACA,aAAa;AACb;AACA,aAAa;AACb;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA,aAAa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB,aAAa;AACb,SAAS;;AAET;AACA;AACA;AACA,aAAa;;AAEb;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,qBAAqB;AACrB,iBAAiB;AACjB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA,aAAa;AACb,SAAS;;AAET;AACA;AACA;AACA,aAAa;AACb;AACA,aAAa;AACb;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;;AAEA,+CAA+C,SAAS;AACxD;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA;;AAEA;AACA,SAAS;;AAET;AACA;AACA;AACA;;AAEA,+CAA+C,SAAS;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA;;AAEA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA,aAAa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB,aAAa;AACb;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,+BAA+B,iBAAiB;AAChD;AACA;AACA;AACA,+CAA+C,mDAAmD;AAClG,iBAAiB;AACjB,+CAA+C,aAAa;AAC5D;;AAEA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED,mDAAmD,gBAAgB,sBAAsB,OAAO,2BAA2B,0BAA0B,yDAAyD,2BAA2B,EAAE,EAAE,EAAE,eAAe;;AAE9P,qDAAqD,0CAA0C,0DAA0D,EAAE;;AAE3J,sEAAsE;AACtE,iEAAiE;AACjE,0DAA0D;;AAE1D;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qCAAqC;AACrC;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,wGAAwG;;AAExG;AACA;;AAEA;AACA;;AAEA;AACA,wCAAwC;;AAExC;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,CAAC;;AAED;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA,+CAA+C;;AAE/C;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mEAAmE;AACnE,mDAAmD;;AAEnD;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;AAGA;AACA;;;AAGA;AACA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;;AAEA;;AAEA,sDAAsD,0CAA0C,0DAA0D,EAAE;;AAE5J;AACA;;AAEA,qDAAqD;;AAErD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;;AAEA;AACA;AACA;;AAEA;AACA,CAAC;;AAED;;;AAGA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,WAAW,EAAE;AACb,aAAa;AACb;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,uDAAuD,gBAAgB,sBAAsB,OAAO,2BAA2B,0BAA0B,yDAAyD,2BAA2B,EAAE,EAAE,EAAE,eAAe;;AAElQ,qDAAqD,0CAA0C,0DAA0D,EAAE;;AAE3J,iDAAiD;AACjD,wDAAwD;AACxD,gEAAgE;AAChE,oDAAoD;;AAEpD;AACA;AACA;AACA;AACA;;AAEA,6EAA6E;AAC7E,kDAAkD;;AAElD;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA,uBAAuB;AACvB,oBAAoB;;AAEpB;AACA,MAAM;;AAEN;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,0DAA0D;AAC1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA,+BAA+B,6BAA6B;AAC5D;AACA,mCAAmC;AACnC,oCAAoC;AACpC,iCAAiC;AACjC,qCAAqC;AACrC;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,6CAA6C;AAC7C;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA,6CAA6C;AAC7C;;AAEA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,YAAY,YAAY,4BAA4B,EAAE;AACvE,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wDAAwD,gBAAgB,sBAAsB,OAAO,2BAA2B,0BAA0B,yDAAyD,2BAA2B,EAAE,EAAE,EAAE,eAAe;;AAEnQ;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,GAAG;AACH,0BAA0B;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA,qEAAqE,aAAa;AAClF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA,OAAO;AACP;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA,IAAI,KAA6B,EAAE,EAMlC;;AAED;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA,wDAAwD,gBAAgB,sBAAsB,OAAO,2BAA2B,0BAA0B,yDAAyD,2BAA2B,EAAE,EAAE,EAAE,eAAe;;AAEnQ;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;;AAEL;AACA,wBAAwB;AACxB,KAAK;AACL;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO,IAAI;AACX;AACA,uCAAuC,6BAA6B;AACpE;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;AACA,UAAU;AACV;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,0CAA0C,yDAAyD;AACnG,KAAK;AACL,GAAG;AACH;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA,EAAE;AACF;AACA;AACA,wCAAwC;AACxC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,wDAAwD,gBAAgB,sBAAsB,OAAO,2BAA2B,0BAA0B,yDAAyD,2BAA2B,EAAE,EAAE,EAAE,eAAe;;AAEnQ;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC,wBAAwB;AAC3D,sCAAsC,8BAA8B;AACpE,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,4CAA4C;AAC5C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA,mCAAmC,qGAAqG,IAAI;AAC5I;AACA,GAAG;;AAEH;;AAEA;AACA;;AAEA,6CAA6C;AAC7C;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA,IAAI,KAA6B,EAAE,EAKlC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,UAAU;AACV;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA,IAAI,KAA6B,EAAE,EAOlC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA,MAAM,KAA6B,EAAE,EAIlC;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;;AAEA;AACA;AACA,mEAAmE,aAAa;AAChF;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,OAAO;AACP,KAAK;AACL;;AAEA,MAAM,KAA6B,EAAE,EAIlC;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA,2CAA2C,8BAA8B;AACzE;;AAEA,wDAAwD,gBAAgB,sBAAsB,OAAO,2BAA2B,0BAA0B,yDAAyD,2BAA2B,EAAE,EAAE,EAAE,eAAe;;AAEnQ;AACA,6BAA6B,MAAM;AACnC;AACA;AACA;AACA;AACA;AACA,uCAAuC,mBAAmB,4BAA4B;AACtF,KAAK;AACL;AACA;;AAEA,wDAAwD,gBAAgB,sBAAsB,OAAO,2BAA2B,0BAA0B,yDAAyD,2BAA2B,EAAE,EAAE,EAAE,eAAe;;AAEnQ;AACA;AACA;AACA;;AAEA,sFAAsF;;AAEtF;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;;AAEL;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,0BAA0B,6BAA6B;AACvD;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;;AAEL;AACA;AACA;;AAEA;AACA,wDAAwD,gBAAgB,sBAAsB,OAAO,2BAA2B,0BAA0B,yDAAyD,2BAA2B,EAAE,EAAE,EAAE,eAAe;;AAEnQ;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,+BAA+B,UAAU,0BAA0B;AACnE,OAAO;AACP,KAAK;AACL;AACA;;AAEA;AACA;AACA;;AAEA;AACA,sEAAsE;AACtE,mEAAmE;;AAEnE;AACA;;AAEA,kDAAkD;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,uBAAuB;AACvB;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,gBAAgB,UAAU,mCAAmC,EAAE;AAC/D;AACA;AACA;AACA;;AAEA,IAAI,KAA6B,EAAE,EAWlC;;AAED;AACA;AACA;AACA,GAAG;AACH;;AAEA,oBAAoB;AACpB;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB;AAClB,kBAAkB;AAClB,kBAAkB;AAClB,kBAAkB;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,0BAA0B,sDAAsD,6BAA6B;;AAE7G;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,mDAAmD,eAAe;AAClE;AACA,OAAO;AACP;AACA;AACA;AACA,iDAAiD,wBAAwB;AACzE,OAAO;AACP;AACA,iDAAiD,wBAAwB;AACzE;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA,wCAAwC,SAAS;AACjD;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA,gBAAgB;AAChB;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA,uCAAuC,SAAS;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;;AAEA,iFAAiF;;AAEjF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,wDAAwD;AACxD,iFAAiF;;AAEjF;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,wDAAwD;AACxD,iFAAiF;;AAEjF;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA,wDAAwD,gBAAgB,sBAAsB,OAAO,2BAA2B,0BAA0B,yDAAyD,2BAA2B,EAAE,EAAE,EAAE,eAAe;;AAEnQ;AACA;AACA;;AAEA,8DAA8D;AAC9D,8DAA8D;AAC9D,0DAA0D;AAC1D,sEAAsE;;AAEtE;AACA;AACA;;AAEA;;;AAGA,kCAAkC;;AAElC,yEAAyE;AACzE,mFAAmF;AACnF,0DAA0D;AAC1D,4DAA4D;AAC5D,4DAA4D;AAC5D,mEAAmE;AACnE,mFAAmF;AACnF,mFAAmF;AACnF,yFAAyF;AACzF,2FAA2F;AAC3F,sFAAsF;AACtF,8DAA8D;AAC9D,kDAAkD;AAClD,gFAAgF;;AAEhF;;AAEA;AACA,+EAA+E;AAC/E,+EAA+E;;AAE/E;AACA;;AAEA;AACA,wCAAwC;;AAExC;;AAEA,IAAI;;AAEJ;AACA;AACA;AACA;;AAEA;AACA;AACA,sBAAsB;AACtB;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,2BAA2B;AAC3B,GAAG;;AAEH,uCAAuC,yCAAyC;;AAEhF;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,EAAE;;AAEF;;AAEA,CAAC;AACD,2CAA2C,cAAc;;;;;;;;;;;;;AC38EzD;AAAA;AAAA;AAAA;AAAA;AAUA,MAAMA,OAAO,GAAqB;EAChCC,mBAAmB,EAAE,CAAC,KAAD,EAAQ,MAAR,EAAgB,OAAhB,EAAyB,YAAzB;AADW,CAAlC;AAIA,MAAMC,MAAM,GAAGC,QAAQ,CAACC,aAAT,CAAuB,sBAAvB,CAAf;;AAEA,IAAIF,MAAM,IAAIA,MAAM,CAACG,OAArB,EAA8B;EAC5BL,OAAO,CAACM,YAAR,GAAuBJ,MAAM,CAACG,OAA9B;;EACA,IAAIL,OAAO,CAACM,YAAR,KAAyB,MAA7B,EAAqC;IACnCN,OAAO,CAACM,YAAR,GAAuB,YAAvB;EACD;AACF;;AAED,MAAMC,MAAM,GAAGJ,QAAQ,CAACC,aAAT,CACb,8BADa,CAAf;;AAIA,IAAIG,MAAM,IAAIA,MAAM,CAACF,OAArB,EAA8B;EAC5BL,OAAO,CAACO,MAAR,GAAiBA,MAAM,CAACF,OAAxB;AACD;;AAED,MAAMG,UAAU,GAAGL,QAAQ,CAACC,aAAT,CACjB,2BADiB,CAAnB;;AAIA,IAAII,UAAU,IAAIA,UAAU,CAACH,OAA7B,EAAsC;EACpCL,OAAO,CAACQ,UAAR,GAAqBA,UAAU,CAACH,OAAhC;AACD;;AAEM,MAAMI,OAAO,GAAGC,iDAAO,CAACV,OAAD,CAAvB;AAEPW,MAAM,CAACF,OAAP,GAAiBA,OAAjB,C","file":"bugsnag.js","sourcesContent":[" \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 \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\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.l = 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// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/vendor/js/\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"../resources/assets/js/bugsnag.ts\");\n","(function(f){if(typeof exports===\"object\"&&typeof module!==\"undefined\"){module.exports=f()}else if(typeof define===\"function\"&&define.amd){define([],f)}else{var g;if(typeof window!==\"undefined\"){g=window}else if(typeof global!==\"undefined\"){g=global}else if(typeof self!==\"undefined\"){g=self}else{g=this}g.bugsnag = f()}})(function(){var define,module,exports;\n// minimal implementations of useful ES functionality\n\n// all we really need for arrays is reduce – everything else is just sugar!\n\n// Array#reduce\nvar reduce = function (arr, fn, accum) {\n var val = accum;\n for (var i = 0, len = arr.length; i < len; i++) {\n val = fn(val, arr[i], i, arr);\n }return val;\n};\n\n// Array#filter\nvar filter = function (arr, fn) {\n return reduce(arr, function (accum, item, i, arr) {\n return !fn(item, i, arr) ? accum : accum.concat(item);\n }, []);\n};\n\n// Array#map\nvar map = function (arr, fn) {\n return reduce(arr, function (accum, item, i, arr) {\n return accum.concat(fn(item, i, arr));\n }, []);\n};\n\n// Array#includes\nvar includes = function (arr, x) {\n return reduce(arr, function (accum, item, i, arr) {\n return accum === true || item === x;\n }, false);\n};\n\nvar _hasDontEnumBug = !{ toString: null }.propertyIsEnumerable('toString');\nvar _dontEnums = ['toString', 'toLocaleString', 'valueOf', 'hasOwnProperty', 'isPrototypeOf', 'propertyIsEnumerable', 'constructor'];\n\n// Object#keys\nvar keys = function (obj) {\n // stripped down version of\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/Keys\n var result = [];\n var prop = void 0;\n for (prop in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, prop)) result.push(prop);\n }\n if (!_hasDontEnumBug) return result;\n for (var i = 0, len = _dontEnums.length; i < len; i++) {\n if (Object.prototype.hasOwnProperty.call(obj, _dontEnums[i])) result.push(_dontEnums[i]);\n }\n return result;\n};\n\n// Array#isArray\nvar isArray = function (obj) {\n return Object.prototype.toString.call(obj) === '[object Array]';\n};\n\nvar _pad = function (n) {\n return n < 10 ? '0' + n : n;\n};\n\n// Date#toISOString\nvar isoDate = function () {\n // from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString\n var d = new Date();\n return d.getUTCFullYear() + '-' + _pad(d.getUTCMonth() + 1) + '-' + _pad(d.getUTCDate()) + 'T' + _pad(d.getUTCHours()) + ':' + _pad(d.getUTCMinutes()) + ':' + _pad(d.getUTCSeconds()) + '.' + (d.getUTCMilliseconds() / 1000).toFixed(3).slice(2, 5) + 'Z';\n};\n\nvar _$esUtils_4 = { map: map, reduce: reduce, filter: filter, includes: includes, keys: keys, isArray: isArray, isoDate: isoDate };\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar __dummy_1$0 = 0,\n __isoDate_1 = _$esUtils_4.isoDate;\n\nvar BugsnagBreadcrumb = function () {\n function BugsnagBreadcrumb() {\n var name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '[anonymous]';\n var metaData = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var type = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'manual';\n var timestamp = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : __isoDate_1();\n\n _classCallCheck(this, BugsnagBreadcrumb);\n\n this.type = type;\n this.name = name;\n this.metaData = metaData;\n this.timestamp = timestamp;\n }\n\n BugsnagBreadcrumb.prototype.toJSON = function toJSON() {\n return {\n type: this.type,\n name: this.name,\n timestamp: this.timestamp,\n metaData: this.metaData\n };\n };\n\n return BugsnagBreadcrumb;\n}();\n\nvar _$BugsnagBreadcrumb_1 = BugsnagBreadcrumb;\n\nvar _$validators_7 = {};\nvar __dummy_7$0 = 0,\n __includes_7 = _$esUtils_4.includes;\n\n_$validators_7.positiveIntIfDefined = function (value) {\n return __includes_7(['undefined', 'number'], typeof value) && parseInt('' + value, 10) === value && value > 0;\n};\n\n_$validators_7.stringWithLength = function (value) {\n return typeof value === 'string' && !!value.length;\n};\n\nvar _$config_3 = {};\nvar __dummy_3$0 = 0,\n __filter_3 = _$esUtils_4.filter,\n __reduce_3 = _$esUtils_4.reduce,\n __keys_3 = _$esUtils_4.keys,\n __isArray_3 = _$esUtils_4.isArray,\n __includes_3 = _$esUtils_4.includes;\n\nvar __dummy_3$1 = 0,\n positiveIntIfDefined = _$validators_7.positiveIntIfDefined,\n stringWithLength = _$validators_7.stringWithLength;\n\n_$config_3.schema = {\n apiKey: {\n defaultValue: function () {\n return null;\n },\n message: 'is required',\n validate: stringWithLength\n },\n appVersion: {\n defaultValue: function () {\n return null;\n },\n message: 'should be a string',\n validate: function (value) {\n return value === null || stringWithLength(value);\n }\n },\n autoNotify: {\n defaultValue: function () {\n return true;\n },\n message: 'should be true|false',\n validate: function (value) {\n return value === true || value === false;\n }\n },\n beforeSend: {\n defaultValue: function () {\n return [];\n },\n message: 'should be a function or array of functions',\n validate: function (value) {\n return typeof value === 'function' || __isArray_3(value) && __filter_3(value, function (f) {\n return typeof f === 'function';\n }).length === value.length;\n }\n },\n endpoints: {\n defaultValue: function () {\n return {\n notify: 'https://notify.bugsnag.com',\n sessions: 'https://sessions.bugsnag.com'\n };\n },\n message: 'should be an object containing endpoint URLs { notify, sessions }. sessions is optional if autoCaptureSessions=false',\n validate: function (val, obj) {\n return (\n // first, ensure it's an object\n val && typeof val === 'object' &&\n // endpoints.notify must always be set\n stringWithLength(val.notify) && (\n // endpoints.sessions must be set unless session tracking is explicitly off\n obj.autoCaptureSessions === false || stringWithLength(val.sessions)) &&\n // ensure no keys other than notify/session are set on endpoints object\n __filter_3(__keys_3(val), function (k) {\n return !__includes_3(['notify', 'sessions'], k);\n }).length === 0\n );\n }\n },\n autoCaptureSessions: {\n defaultValue: function (val, opts) {\n return opts.endpoints === undefined || !!opts.endpoints && !!opts.endpoints.sessions;\n },\n message: 'should be true|false',\n validate: function (val) {\n return val === true || val === false;\n }\n },\n notifyReleaseStages: {\n defaultValue: function () {\n return null;\n },\n message: 'should be an array of strings',\n validate: function (value) {\n return value === null || __isArray_3(value) && __filter_3(value, function (f) {\n return typeof f === 'string';\n }).length === value.length;\n }\n },\n releaseStage: {\n defaultValue: function () {\n return 'production';\n },\n message: 'should be a string',\n validate: function (value) {\n return typeof value === 'string' && value.length;\n }\n },\n maxBreadcrumbs: {\n defaultValue: function () {\n return 20;\n },\n message: 'should be a number ≤40',\n validate: function (value) {\n return value === 0 || positiveIntIfDefined(value) && (value === undefined || value <= 40);\n }\n },\n autoBreadcrumbs: {\n defaultValue: function () {\n return true;\n },\n message: 'should be true|false',\n validate: function (value) {\n return typeof value === 'boolean';\n }\n },\n user: {\n defaultValue: function () {\n return null;\n },\n message: '(object) user should be an object',\n validate: function (value) {\n return typeof value === 'object';\n }\n },\n metaData: {\n defaultValue: function () {\n return null;\n },\n message: 'should be an object',\n validate: function (value) {\n return typeof value === 'object';\n }\n },\n logger: {\n defaultValue: function () {\n return undefined;\n },\n message: 'should be null or an object with methods { debug, info, warn, error }',\n validate: function (value) {\n return !value || value && __reduce_3(['debug', 'info', 'warn', 'error'], function (accum, method) {\n return accum && typeof value[method] === 'function';\n }, true);\n }\n }\n};\n\n_$config_3.mergeDefaults = function (opts, schema) {\n if (!opts || !schema) throw new Error('opts and schema objects are required');\n return __reduce_3(__keys_3(schema), function (accum, key) {\n accum[key] = opts[key] !== undefined ? opts[key] : schema[key].defaultValue(opts[key], opts);\n return accum;\n }, {});\n};\n\n_$config_3.validate = function (opts, schema) {\n if (!opts || !schema) throw new Error('opts and schema objects are required');\n var errors = __reduce_3(__keys_3(schema), function (accum, key) {\n if (schema[key].validate(opts[key], opts)) return accum;\n return accum.concat({ key: key, message: schema[key].message, value: opts[key] });\n }, []);\n return { valid: !errors.length, errors: errors };\n};\n\nvar _$inferReleaseStage_6 = function (client) {\n return client.app && typeof client.app.releaseStage === 'string' ? client.app.releaseStage : client.config.releaseStage;\n};\n\n// Given `err` which may be an error, does it have a stack property which is a string?\nvar _$hasStack_5 = function (err) {\n return !!err && (!!err.stack || !!err.stacktrace || !!err['opera#sourceloc']) && typeof (err.stack || err.stacktrace || err['opera#sourceloc']) === 'string' && err.stack !== err.name + ': ' + err.message;\n};\n\nvar _$stackframe_36 = {};\n(function (root, factory) {\n 'use strict';\n // Universal Module Definition (UMD) to support AMD, CommonJS/Node.js, Rhino, and browsers.\n\n /* istanbul ignore next */\n\n if (typeof define === 'function' && define.amd) {\n define('stackframe', [], factory);\n } else if (typeof _$stackframe_36 === 'object') {\n _$stackframe_36 = factory();\n } else {\n root.StackFrame = factory();\n }\n})(this, function () {\n 'use strict';\n\n function _isNumber(n) {\n return !isNaN(parseFloat(n)) && isFinite(n);\n }\n\n function _capitalize(str) {\n return str.charAt(0).toUpperCase() + str.substring(1);\n }\n\n function _getter(p) {\n return function () {\n return this[p];\n };\n }\n\n var booleanProps = ['isConstructor', 'isEval', 'isNative', 'isToplevel'];\n var numericProps = ['columnNumber', 'lineNumber'];\n var stringProps = ['fileName', 'functionName', 'source'];\n var arrayProps = ['args'];\n\n var props = booleanProps.concat(numericProps, stringProps, arrayProps);\n\n function StackFrame(obj) {\n if (obj instanceof Object) {\n for (var i = 0; i < props.length; i++) {\n if (obj.hasOwnProperty(props[i]) && obj[props[i]] !== undefined) {\n this['set' + _capitalize(props[i])](obj[props[i]]);\n }\n }\n }\n }\n\n StackFrame.prototype = {\n getArgs: function () {\n return this.args;\n },\n setArgs: function (v) {\n if (Object.prototype.toString.call(v) !== '[object Array]') {\n throw new TypeError('Args must be an Array');\n }\n this.args = v;\n },\n\n getEvalOrigin: function () {\n return this.evalOrigin;\n },\n setEvalOrigin: function (v) {\n if (v instanceof StackFrame) {\n this.evalOrigin = v;\n } else if (v instanceof Object) {\n this.evalOrigin = new StackFrame(v);\n } else {\n throw new TypeError('Eval Origin must be an Object or StackFrame');\n }\n },\n\n toString: function () {\n var functionName = this.getFunctionName() || '{anonymous}';\n var args = '(' + (this.getArgs() || []).join(',') + ')';\n var fileName = this.getFileName() ? '@' + this.getFileName() : '';\n var lineNumber = _isNumber(this.getLineNumber()) ? ':' + this.getLineNumber() : '';\n var columnNumber = _isNumber(this.getColumnNumber()) ? ':' + this.getColumnNumber() : '';\n return functionName + args + fileName + lineNumber + columnNumber;\n }\n };\n\n for (var i = 0; i < booleanProps.length; i++) {\n StackFrame.prototype['get' + _capitalize(booleanProps[i])] = _getter(booleanProps[i]);\n StackFrame.prototype['set' + _capitalize(booleanProps[i])] = function (p) {\n return function (v) {\n this[p] = Boolean(v);\n };\n }(booleanProps[i]);\n }\n\n for (var j = 0; j < numericProps.length; j++) {\n StackFrame.prototype['get' + _capitalize(numericProps[j])] = _getter(numericProps[j]);\n StackFrame.prototype['set' + _capitalize(numericProps[j])] = function (p) {\n return function (v) {\n if (!_isNumber(v)) {\n throw new TypeError(p + ' must be a Number');\n }\n this[p] = Number(v);\n };\n }(numericProps[j]);\n }\n\n for (var k = 0; k < stringProps.length; k++) {\n StackFrame.prototype['get' + _capitalize(stringProps[k])] = _getter(stringProps[k]);\n StackFrame.prototype['set' + _capitalize(stringProps[k])] = function (p) {\n return function (v) {\n this[p] = String(v);\n };\n }(stringProps[k]);\n }\n\n return StackFrame;\n});\n\nvar _$errorStackParser_33 = {};\n(function (root, factory) {\n 'use strict';\n // Universal Module Definition (UMD) to support AMD, CommonJS/Node.js, Rhino, and browsers.\n\n /* istanbul ignore next */\n\n if (typeof define === 'function' && define.amd) {\n define('error-stack-parser', ['stackframe'], factory);\n } else if (typeof _$errorStackParser_33 === 'object') {\n _$errorStackParser_33 = factory(_$stackframe_36);\n } else {\n root.ErrorStackParser = factory(root.StackFrame);\n }\n})(this, function ErrorStackParser(StackFrame) {\n 'use strict';\n\n var FIREFOX_SAFARI_STACK_REGEXP = /(^|@)\\S+\\:\\d+/;\n var CHROME_IE_STACK_REGEXP = /^\\s*at .*(\\S+\\:\\d+|\\(native\\))/m;\n var SAFARI_NATIVE_CODE_REGEXP = /^(eval@)?(\\[native code\\])?$/;\n\n return {\n /**\n * Given an Error object, extract the most information from it.\n *\n * @param {Error} error object\n * @return {Array} of StackFrames\n */\n parse: function ErrorStackParser$$parse(error) {\n if (typeof error.stacktrace !== 'undefined' || typeof error['opera#sourceloc'] !== 'undefined') {\n return this.parseOpera(error);\n } else if (error.stack && error.stack.match(CHROME_IE_STACK_REGEXP)) {\n return this.parseV8OrIE(error);\n } else if (error.stack) {\n return this.parseFFOrSafari(error);\n } else {\n throw new Error('Cannot parse given Error object');\n }\n },\n\n // Separate line and column numbers from a string of the form: (URI:Line:Column)\n extractLocation: function ErrorStackParser$$extractLocation(urlLike) {\n // Fail-fast but return locations like \"(native)\"\n if (urlLike.indexOf(':') === -1) {\n return [urlLike];\n }\n\n var regExp = /(.+?)(?:\\:(\\d+))?(?:\\:(\\d+))?$/;\n var parts = regExp.exec(urlLike.replace(/[\\(\\)]/g, ''));\n return [parts[1], parts[2] || undefined, parts[3] || undefined];\n },\n\n parseV8OrIE: function ErrorStackParser$$parseV8OrIE(error) {\n var filtered = error.stack.split('\\n').filter(function (line) {\n return !!line.match(CHROME_IE_STACK_REGEXP);\n }, this);\n\n return filtered.map(function (line) {\n if (line.indexOf('(eval ') > -1) {\n // Throw away eval information until we implement stacktrace.js/stackframe#8\n line = line.replace(/eval code/g, 'eval').replace(/(\\(eval at [^\\()]*)|(\\)\\,.*$)/g, '');\n }\n var tokens = line.replace(/^\\s+/, '').replace(/\\(eval code/g, '(').split(/\\s+/).slice(1);\n var locationParts = this.extractLocation(tokens.pop());\n var functionName = tokens.join(' ') || undefined;\n var fileName = ['eval', ''].indexOf(locationParts[0]) > -1 ? undefined : locationParts[0];\n\n return new StackFrame({\n functionName: functionName,\n fileName: fileName,\n lineNumber: locationParts[1],\n columnNumber: locationParts[2],\n source: line\n });\n }, this);\n },\n\n parseFFOrSafari: function ErrorStackParser$$parseFFOrSafari(error) {\n var filtered = error.stack.split('\\n').filter(function (line) {\n return !line.match(SAFARI_NATIVE_CODE_REGEXP);\n }, this);\n\n return filtered.map(function (line) {\n // Throw away eval information until we implement stacktrace.js/stackframe#8\n if (line.indexOf(' > eval') > -1) {\n line = line.replace(/ line (\\d+)(?: > eval line \\d+)* > eval\\:\\d+\\:\\d+/g, ':$1');\n }\n\n if (line.indexOf('@') === -1 && line.indexOf(':') === -1) {\n // Safari eval frames only have function names and nothing else\n return new StackFrame({\n functionName: line\n });\n } else {\n var functionNameRegex = /((.*\".+\"[^@]*)?[^@]*)(?:@)/;\n var matches = line.match(functionNameRegex);\n var functionName = matches && matches[1] ? matches[1] : undefined;\n var locationParts = this.extractLocation(line.replace(functionNameRegex, ''));\n\n return new StackFrame({\n functionName: functionName,\n fileName: locationParts[0],\n lineNumber: locationParts[1],\n columnNumber: locationParts[2],\n source: line\n });\n }\n }, this);\n },\n\n parseOpera: function ErrorStackParser$$parseOpera(e) {\n if (!e.stacktrace || e.message.indexOf('\\n') > -1 && e.message.split('\\n').length > e.stacktrace.split('\\n').length) {\n return this.parseOpera9(e);\n } else if (!e.stack) {\n return this.parseOpera10(e);\n } else {\n return this.parseOpera11(e);\n }\n },\n\n parseOpera9: function ErrorStackParser$$parseOpera9(e) {\n var lineRE = /Line (\\d+).*script (?:in )?(\\S+)/i;\n var lines = e.message.split('\\n');\n var result = [];\n\n for (var i = 2, len = lines.length; i < len; i += 2) {\n var match = lineRE.exec(lines[i]);\n if (match) {\n result.push(new StackFrame({\n fileName: match[2],\n lineNumber: match[1],\n source: lines[i]\n }));\n }\n }\n\n return result;\n },\n\n parseOpera10: function ErrorStackParser$$parseOpera10(e) {\n var lineRE = /Line (\\d+).*script (?:in )?(\\S+)(?:: In function (\\S+))?$/i;\n var lines = e.stacktrace.split('\\n');\n var result = [];\n\n for (var i = 0, len = lines.length; i < len; i += 2) {\n var match = lineRE.exec(lines[i]);\n if (match) {\n result.push(new StackFrame({\n functionName: match[3] || undefined,\n fileName: match[2],\n lineNumber: match[1],\n source: lines[i]\n }));\n }\n }\n\n return result;\n },\n\n // Opera 10.65+ Error.stack very similar to FF/Safari\n parseOpera11: function ErrorStackParser$$parseOpera11(error) {\n var filtered = error.stack.split('\\n').filter(function (line) {\n return !!line.match(FIREFOX_SAFARI_STACK_REGEXP) && !line.match(/^Error created at/);\n }, this);\n\n return filtered.map(function (line) {\n var tokens = line.split('@');\n var locationParts = this.extractLocation(tokens.pop());\n var functionCall = tokens.shift() || '';\n var functionName = functionCall.replace(//, '$2').replace(/\\([^\\)]*\\)/g, '') || undefined;\n var argsRaw;\n if (functionCall.match(/\\(([^\\)]*)\\)/)) {\n argsRaw = functionCall.replace(/^[^\\(]+\\(([^\\)]*)\\)$/, '$1');\n }\n var args = argsRaw === undefined || argsRaw === '[arguments not available]' ? undefined : argsRaw.split(',');\n\n return new StackFrame({\n functionName: functionName,\n args: args,\n fileName: locationParts[0],\n lineNumber: locationParts[1],\n columnNumber: locationParts[2],\n source: line\n });\n }, this);\n }\n };\n});\n\nvar _$stackGenerator_35 = {};\n(function (root, factory) {\n 'use strict';\n // Universal Module Definition (UMD) to support AMD, CommonJS/Node.js, Rhino, and browsers.\n\n /* istanbul ignore next */\n\n if (typeof define === 'function' && define.amd) {\n define('stack-generator', ['stackframe'], factory);\n } else if (typeof _$stackGenerator_35 === 'object') {\n _$stackGenerator_35 = factory(_$stackframe_36);\n } else {\n root.StackGenerator = factory(root.StackFrame);\n }\n})(this, function (StackFrame) {\n return {\n backtrace: function StackGenerator$$backtrace(opts) {\n var stack = [];\n var maxStackSize = 10;\n\n if (typeof opts === 'object' && typeof opts.maxStackSize === 'number') {\n maxStackSize = opts.maxStackSize;\n }\n\n var curr = arguments.callee;\n while (curr && stack.length < maxStackSize && curr['arguments']) {\n // Allow V8 optimizations\n var args = new Array(curr['arguments'].length);\n for (var i = 0; i < args.length; ++i) {\n args[i] = curr['arguments'][i];\n }\n if (/function(?:\\s+([\\w$]+))+\\s*\\(/.test(curr.toString())) {\n stack.push(new StackFrame({ functionName: RegExp.$1 || undefined, args: args }));\n } else {\n stack.push(new StackFrame({ args: args }));\n }\n\n try {\n curr = curr.caller;\n } catch (e) {\n break;\n }\n }\n return stack;\n }\n };\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nfunction ___classCallCheck_9(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\n/* removed: var _$errorStackParser_33 = require('error-stack-parser'); */;\n/* removed: var _$stackGenerator_35 = require('stack-generator'); */;\n/* removed: var _$hasStack_5 = require('./lib/has-stack'); */;\n\nvar __dummy_9$0 = 0,\n __reduce_9 = _$esUtils_4.reduce,\n __filter_9 = _$esUtils_4.filter;\n\nvar BugsnagReport = function () {\n function BugsnagReport(errorClass, errorMessage) {\n var stacktrace = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n var handledState = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : defaultHandledState();\n\n ___classCallCheck_9(this, BugsnagReport);\n\n // duck-typing ftw >_<\n this.__isBugsnagReport = true;\n\n this._ignored = false;\n\n // private (un)handled state\n this._handledState = handledState;\n\n // setable props\n this.app = undefined;\n this.apiKey = undefined;\n this.breadcrumbs = [];\n this.context = undefined;\n this.device = undefined;\n this.errorClass = stringOrFallback(errorClass, '[no error class]');\n this.errorMessage = stringOrFallback(errorMessage, '[no error message]');\n this.groupingHash = undefined;\n this.metaData = {};\n this.request = undefined;\n this.severity = this._handledState.severity;\n this.stacktrace = __reduce_9(stacktrace, function (accum, frame) {\n var f = formatStackframe(frame);\n // don't include a stackframe if none of its properties are defined\n try {\n if (JSON.stringify(f) === '{}') return accum;\n return accum.concat(f);\n } catch (e) {\n return accum;\n }\n }, []);\n this.user = undefined;\n this.session = undefined;\n }\n\n BugsnagReport.prototype.ignore = function ignore() {\n this._ignored = true;\n };\n\n BugsnagReport.prototype.isIgnored = function isIgnored() {\n return this._ignored;\n };\n\n BugsnagReport.prototype.updateMetaData = function updateMetaData(section) {\n var _updates;\n\n if (!section) return this;\n var updates = void 0;\n\n // updateMetaData(\"section\", null) -> removes section\n if ((arguments.length <= 1 ? undefined : arguments[1]) === null) return this.removeMetaData(section);\n\n // updateMetaData(\"section\", \"property\", null) -> removes property from section\n if ((arguments.length <= 2 ? undefined : arguments[2]) === null) return this.removeMetaData(section, arguments.length <= 1 ? undefined : arguments[1], arguments.length <= 2 ? undefined : arguments[2]);\n\n // normalise the two supported input types into object form\n if (typeof (arguments.length <= 1 ? undefined : arguments[1]) === 'object') updates = arguments.length <= 1 ? undefined : arguments[1];\n if (typeof (arguments.length <= 1 ? undefined : arguments[1]) === 'string') updates = (_updates = {}, _updates[arguments.length <= 1 ? undefined : arguments[1]] = arguments.length <= 2 ? undefined : arguments[2], _updates);\n\n // exit if we don't have an updates object at this point\n if (!updates) return this;\n\n // ensure a section with this name exists\n if (!this.metaData[section]) this.metaData[section] = {};\n\n // merge the updates with the existing section\n this.metaData[section] = _extends({}, this.metaData[section], updates);\n\n return this;\n };\n\n BugsnagReport.prototype.removeMetaData = function removeMetaData(section, property) {\n if (typeof section !== 'string') return this;\n\n // remove an entire section\n if (!property) {\n delete this.metaData[section];\n return this;\n }\n\n // remove a single property from a section\n if (this.metaData[section]) {\n delete this.metaData[section][property];\n return this;\n }\n\n return this;\n };\n\n BugsnagReport.prototype.toJSON = function toJSON() {\n return {\n payloadVersion: '4',\n exceptions: [{\n errorClass: this.errorClass,\n message: this.errorMessage,\n stacktrace: this.stacktrace,\n type: 'browserjs'\n }],\n severity: this.severity,\n unhandled: this._handledState.unhandled,\n severityReason: this._handledState.severityReason,\n app: this.app,\n device: this.device,\n breadcrumbs: this.breadcrumbs,\n context: this.context,\n user: this.user,\n metaData: this.metaData,\n groupingHash: this.groupingHash,\n request: this.request,\n session: this.session\n };\n };\n\n return BugsnagReport;\n}();\n\n// takes a stacktrace.js style stackframe (https://github.com/stacktracejs/stackframe)\n// and returns a Bugsnag compatible stackframe (https://docs.bugsnag.com/api/error-reporting/#json-payload)\n\n\nvar formatStackframe = function (frame) {\n var f = {\n file: frame.fileName,\n method: normaliseFunctionName(frame.functionName),\n lineNumber: frame.lineNumber,\n columnNumber: frame.columnNumber,\n code: undefined,\n inProject: undefined\n // Some instances result in no file:\n // - calling notify() from chrome's terminal results in no file/method.\n // - non-error exception thrown from global code in FF\n // This adds one.\n };if (f.lineNumber > -1 && !f.file && !f.method) {\n f.file = 'global code';\n }\n return f;\n};\n\nvar normaliseFunctionName = function (name) {\n return (/^global code$/i.test(name) ? 'global code' : name\n );\n};\n\nvar defaultHandledState = function () {\n return {\n unhandled: false,\n severity: 'warning',\n severityReason: { type: 'handledException' }\n };\n};\n\nvar stringOrFallback = function (str, fallback) {\n return typeof str === 'string' && str ? str : fallback;\n};\n\n// Helpers\n\nBugsnagReport.getStacktrace = function (error) {\n var errorFramesToSkip = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n var generatedFramesToSkip = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n\n if (_$hasStack_5(error)) return _$errorStackParser_33.parse(error).slice(errorFramesToSkip);\n // error wasn't provided or didn't have a stacktrace so try to walk the callstack\n return __filter_9(_$stackGenerator_35.backtrace(), function (frame) {\n return (frame.functionName || '').indexOf('StackGenerator$$') === -1;\n }).slice(1 + generatedFramesToSkip);\n};\n\nBugsnagReport.ensureReport = function (reportOrError) {\n var errorFramesToSkip = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n var generatedFramesToSkip = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n\n // notify() can be called with a Report object. In this case no action is required\n if (reportOrError.__isBugsnagReport) return reportOrError;\n try {\n var stacktrace = BugsnagReport.getStacktrace(reportOrError, errorFramesToSkip, 1 + generatedFramesToSkip);\n return new BugsnagReport(reportOrError.name, reportOrError.message, stacktrace);\n } catch (e) {\n return new BugsnagReport(reportOrError.name, reportOrError.message, []);\n }\n};\n\nvar _$BugsnagReport_9 = BugsnagReport;\n\nvar _$pad_31 = function pad(num, size) {\n var s = '000000000' + num;\n return s.substr(s.length - size);\n};\n\n/* removed: var _$pad_31 = require('./pad.js'); */;\n\nvar env = typeof window === 'object' ? window : self;\nvar globalCount = 0;\nfor (var prop in env) {\n if (Object.hasOwnProperty.call(env, prop)) globalCount++;\n}\nvar mimeTypesLength = navigator.mimeTypes ? navigator.mimeTypes.length : 0;\nvar clientId = _$pad_31((mimeTypesLength + navigator.userAgent.length).toString(36) + globalCount.toString(36), 4);\n\nvar _$fingerprint_30 = function fingerprint() {\n return clientId;\n};\n\n/**\n * cuid.js\n * Collision-resistant UID generator for browsers and node.\n * Sequential for fast db lookups and recency sorting.\n * Safe for element IDs and server-side lookups.\n *\n * Extracted from CLCTR\n *\n * Copyright (c) Eric Elliott 2012\n * MIT License\n */\n\n/* removed: var _$fingerprint_30 = require('./lib/fingerprint.js'); */;\n/* removed: var _$pad_31 = require('./lib/pad.js'); */;\n\nvar c = 0,\n blockSize = 4,\n base = 36,\n discreteValues = Math.pow(base, blockSize);\n\nfunction randomBlock() {\n return _$pad_31((Math.random() * discreteValues << 0).toString(base), blockSize);\n}\n\nfunction safeCounter() {\n c = c < discreteValues ? c : 0;\n c++; // this is not subliminal\n return c - 1;\n}\n\nfunction cuid() {\n // Starting with a lowercase letter makes\n // it HTML element ID friendly.\n var letter = 'c',\n // hard-coded allows for sequential access\n\n // timestamp\n // warning: this exposes the exact date and time\n // that the uid was created.\n timestamp = new Date().getTime().toString(base),\n\n\n // Prevent same-machine collisions.\n counter = _$pad_31(safeCounter().toString(base), blockSize),\n\n\n // A few chars to generate distinct ids for different\n // clients (so different computers are far less\n // likely to generate the same id)\n print = _$fingerprint_30(),\n\n\n // Grab some more chars from Math.random()\n random = randomBlock() + randomBlock();\n\n return letter + timestamp + counter + print + random;\n}\n\ncuid.fingerprint = _$fingerprint_30;\n\nvar _$cuid_29 = cuid;\n\nfunction ___classCallCheck_10(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar __dummy_10$0 = 0,\n __isoDate_10 = _$esUtils_4.isoDate;\n\n/* removed: var _$cuid_29 = require('@bugsnag/cuid'); */;\n\nvar Session = function () {\n function Session() {\n ___classCallCheck_10(this, Session);\n\n this.id = _$cuid_29();\n this.startedAt = __isoDate_10();\n this._handled = 0;\n this._unhandled = 0;\n }\n\n Session.prototype.toJSON = function toJSON() {\n return {\n id: this.id,\n startedAt: this.startedAt,\n events: { handled: this._handled, unhandled: this._unhandled }\n };\n };\n\n Session.prototype.trackError = function trackError(report) {\n this[report._handledState.unhandled ? '_unhandled' : '_handled'] += 1;\n };\n\n return Session;\n}();\n\nvar _$Session_10 = Session;\n\n\n/**\n * Expose `isError`.\n */\n\nvar _$isError_34 = isError;\n\n/**\n * Test whether `value` is error object.\n *\n * @param {*} value\n * @returns {boolean}\n */\n\nfunction isError(value) {\n switch (Object.prototype.toString.call(value)) {\n case '[object Error]':\n return true;\n case '[object Exception]':\n return true;\n case '[object DOMException]':\n return true;\n default:\n return value instanceof Error;\n }\n}\n\nvar ___extends_2 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nfunction ___classCallCheck_2(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\n/* removed: var _$config_3 = require('./config'); */;\n/* removed: var _$BugsnagReport_9 = require('./report'); */;\n/* removed: var _$BugsnagBreadcrumb_1 = require('./breadcrumb'); */;\n/* removed: var _$Session_10 = require('./session'); */;\n\nvar __dummy_2$0 = 0,\n __map_2 = _$esUtils_4.map,\n __reduce_2 = _$esUtils_4.reduce,\n __includes_2 = _$esUtils_4.includes,\n __isArray_2 = _$esUtils_4.isArray;\n\n/* removed: var _$inferReleaseStage_6 = require('./lib/infer-release-stage'); */;\n/* removed: var _$isError_34 = require('iserror'); */;\n\nvar LOG_USAGE_ERR_PREFIX = 'Usage error.';\nvar REPORT_USAGE_ERR_PREFIX = 'Bugsnag usage error.';\n\nvar noop = function () {};\n\nvar BugsnagClient = function () {\n function BugsnagClient(notifier) {\n var configSchema = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _$config_3.schema;\n var session = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n\n ___classCallCheck_2(this, BugsnagClient);\n\n if (!notifier || !notifier.name || !notifier.version || !notifier.url) {\n throw new Error('`notifier` argument is required');\n }\n\n // notifier id\n this.notifier = notifier;\n\n // config\n this.configSchema = configSchema;\n\n // configure() should be called before notify()\n this._configured = false;\n\n // i/o\n this._transport = { sendSession: noop, sendReport: noop };\n this._logger = { debug: noop, info: noop, warn: noop, error: noop\n\n // plugins\n };this.plugins = [];\n\n this.session = session;\n this.beforeSession = [];\n\n this.breadcrumbs = [];\n\n // setable props\n this.app = {};\n this.context = undefined;\n this.device = undefined;\n this.metaData = undefined;\n this.request = undefined;\n this.user = {};\n\n // expose internal constructors\n this.BugsnagReport = _$BugsnagReport_9;\n this.BugsnagBreadcrumb = _$BugsnagBreadcrumb_1;\n this.BugsnagSession = _$Session_10;\n }\n\n BugsnagClient.prototype.configure = function configure() {\n var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n this.config = _$config_3.mergeDefaults(___extends_2({}, this.config, opts), this.configSchema);\n var validity = _$config_3.validate(this.config, this.configSchema);\n if (!validity.valid === true) throw new Error(generateConfigErrorMessage(validity.errors));\n if (typeof this.config.beforeSend === 'function') this.config.beforeSend = [this.config.beforeSend];\n if (this.config.appVersion !== null) this.app.version = this.config.appVersion;\n if (this.config.metaData) this.metaData = this.config.metaData;\n if (this.config.user) this.user = this.config.user;\n if (this.config.logger) this.logger(this.config.logger);\n this._configured = true;\n this._logger.debug('Loaded!');\n return this;\n };\n\n BugsnagClient.prototype.use = function use(plugin) {\n this.plugins.push(plugin);\n return plugin.init(this);\n };\n\n BugsnagClient.prototype.transport = function transport(t) {\n this._transport = t;\n return this;\n };\n\n BugsnagClient.prototype.logger = function logger(l, sid) {\n this._logger = l;\n return this;\n };\n\n BugsnagClient.prototype.sessionDelegate = function sessionDelegate(s) {\n this._sessionDelegate = s;\n return this;\n };\n\n BugsnagClient.prototype.startSession = function startSession() {\n if (!this._sessionDelegate) {\n this._logger.warn('No session implementation is installed');\n return this;\n }\n return this._sessionDelegate.startSession(this);\n };\n\n BugsnagClient.prototype.leaveBreadcrumb = function leaveBreadcrumb(name, metaData, type, timestamp) {\n if (!this._configured) throw new Error('client not configured');\n\n // coerce bad values so that the defaults get set\n name = name || undefined;\n type = typeof type === 'string' ? type : undefined;\n timestamp = typeof timestamp === 'string' ? timestamp : undefined;\n metaData = typeof metaData === 'object' && metaData !== null ? metaData : undefined;\n\n // if no name and no metaData, usefulness of this crumb is questionable at best so discard\n if (typeof name !== 'string' && !metaData) return;\n\n var crumb = new _$BugsnagBreadcrumb_1(name, metaData, type, timestamp);\n\n // push the valid crumb onto the queue and maintain the length\n this.breadcrumbs.push(crumb);\n if (this.breadcrumbs.length > this.config.maxBreadcrumbs) {\n this.breadcrumbs = this.breadcrumbs.slice(this.breadcrumbs.length - this.config.maxBreadcrumbs);\n }\n\n return this;\n };\n\n BugsnagClient.prototype.notify = function notify(error) {\n var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n if (!this._configured) throw new Error('client not configured');\n\n // releaseStage can be set via config.releaseStage or client.app.releaseStage\n var releaseStage = _$inferReleaseStage_6(this);\n\n // ensure we have an error (or a reasonable object representation of an error)\n\n var _normaliseError = normaliseError(error, opts, this._logger),\n err = _normaliseError.err,\n errorFramesToSkip = _normaliseError.errorFramesToSkip,\n _opts = _normaliseError._opts;\n\n if (_opts) opts = _opts;\n\n // if we have something falsey at this point, report usage error\n if (!err) {\n var msg = generateNotifyUsageMessage('nothing');\n this._logger.warn(LOG_USAGE_ERR_PREFIX + ' ' + msg);\n err = new Error(REPORT_USAGE_ERR_PREFIX + ' ' + msg);\n }\n\n // ensure opts is an object\n if (typeof opts !== 'object' || opts === null) opts = {};\n\n // create a report from the error, if it isn't one already\n var report = _$BugsnagReport_9.ensureReport(err, errorFramesToSkip, 1);\n\n report.app = ___extends_2({ releaseStage: releaseStage }, report.app, this.app);\n report.context = report.context || opts.context || this.context || undefined;\n report.device = ___extends_2({}, report.device, this.device, opts.device);\n report.request = ___extends_2({}, report.request, this.request, opts.request);\n report.user = ___extends_2({}, report.user, this.user, opts.user);\n report.metaData = ___extends_2({}, report.metaData, this.metaData, opts.metaData);\n report.breadcrumbs = this.breadcrumbs.slice(0);\n\n if (this.session) {\n this.session.trackError(report);\n report.session = this.session;\n }\n\n // set severity if supplied\n if (opts.severity !== undefined) {\n report.severity = opts.severity;\n report._handledState.severityReason = { type: 'userSpecifiedSeverity' };\n }\n\n // exit early if the reports should not be sent on the current releaseStage\n if (__isArray_2(this.config.notifyReleaseStages) && !__includes_2(this.config.notifyReleaseStages, releaseStage)) {\n this._logger.warn('Report not sent due to releaseStage/notifyReleaseStages configuration');\n return false;\n }\n\n var originalSeverity = report.severity;\n\n var beforeSend = [].concat(opts.beforeSend).concat(this.config.beforeSend);\n var preventSend = __reduce_2(beforeSend, function (accum, fn) {\n if (accum === true) return true;\n if (typeof fn === 'function' && fn(report) === false) return true;\n if (report.isIgnored()) return true;\n return false;\n }, false);\n\n if (preventSend) {\n this._logger.debug('Report not sent due to beforeSend callback');\n return false;\n }\n\n // only leave a crumb for the error if actually got sent\n if (this.config.autoBreadcrumbs) {\n this.leaveBreadcrumb(report.errorClass, {\n errorClass: report.errorClass,\n errorMessage: report.errorMessage,\n severity: report.severity\n }, 'error');\n }\n\n if (originalSeverity !== report.severity) {\n report._handledState.severityReason = { type: 'userCallbackSetSeverity' };\n }\n\n this._transport.sendReport(this._logger, this.config, {\n apiKey: report.apiKey || this.config.apiKey,\n notifier: this.notifier,\n events: [report]\n });\n\n return true;\n };\n\n return BugsnagClient;\n}();\n\nvar normaliseError = function (error, opts, logger) {\n var err = void 0;\n var errorFramesToSkip = 0;\n var _opts = void 0;\n switch (typeof error) {\n case 'string':\n if (typeof opts === 'string') {\n // ≤v3 used to have a notify('ErrorName', 'Error message') interface\n // report usage/deprecation errors if this function is called like that\n var _msg = generateNotifyUsageMessage('string/string');\n logger.warn(LOG_USAGE_ERR_PREFIX + ' ' + _msg);\n err = new Error(REPORT_USAGE_ERR_PREFIX + ' ' + _msg);\n _opts = { metaData: { notifier: { notifyArgs: [error, opts] } } };\n } else {\n err = new Error(String(error));\n errorFramesToSkip += 2;\n }\n break;\n case 'number':\n case 'boolean':\n err = new Error(String(error));\n break;\n case 'function':\n var msg = generateNotifyUsageMessage('function');\n logger.warn(LOG_USAGE_ERR_PREFIX + ' ' + msg);\n err = new Error(REPORT_USAGE_ERR_PREFIX + ' ' + msg);\n break;\n case 'object':\n if (error !== null && (_$isError_34(error) || error.__isBugsnagReport)) {\n err = error;\n } else if (error !== null && hasNecessaryFields(error)) {\n err = new Error(error.message || error.errorMessage);\n err.name = error.name || error.errorClass;\n errorFramesToSkip += 2;\n } else {\n var _msg2 = generateNotifyUsageMessage('unsupported object');\n logger.warn(LOG_USAGE_ERR_PREFIX + ' ' + _msg2);\n err = new Error(REPORT_USAGE_ERR_PREFIX + ' ' + _msg2);\n }\n break;\n }\n return { err: err, errorFramesToSkip: errorFramesToSkip, _opts: _opts };\n};\n\nvar hasNecessaryFields = function (error) {\n return (typeof error.name === 'string' || typeof error.errorClass === 'string') && (typeof error.message === 'string' || typeof error.errorMessage === 'string');\n};\n\nvar generateConfigErrorMessage = function (errors) {\n return 'Bugsnag configuration error\\n' + __map_2(errors, function (err) {\n return '\"' + err.key + '\" ' + err.message + ' \\n got ' + stringify(err.value);\n }).join('\\n\\n');\n};\n\nvar generateNotifyUsageMessage = function (actual) {\n return 'notify() expected error/opts parameters, got ' + actual;\n};\n\nvar stringify = function (val) {\n return typeof val === 'object' ? JSON.stringify(val) : String(val);\n};\n\nvar _$BugsnagClient_2 = BugsnagClient;\n\nvar __dummy_8$0 = 0,\n __positiveIntIfDefined_8 = _$validators_7.positiveIntIfDefined;\n\n/*\n * Throttles and dedupes error reports\n */\n\nvar _$throttle_8 = {\n init: function (client) {\n // track sent events for each init of the plugin\n var n = 0;\n\n // add beforeSend hook\n client.config.beforeSend.push(function (report) {\n // have max events been sent already?\n if (n >= client.config.maxEvents) return report.ignore();\n n++;\n });\n\n client.refresh = function () {\n n = 0;\n };\n },\n configSchema: {\n maxEvents: {\n defaultValue: function () {\n return 10;\n },\n message: 'should be a positive integer ≤100',\n validate: function (val) {\n return __positiveIntIfDefined_8(val) && val < 100;\n }\n }\n }\n};\n\nvar ___extends_11 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar __dummy_11$0 = 0,\n schema = _$config_3.schema;\n\nvar __dummy_11$1 = 0,\n __map_11 = _$esUtils_4.map;\n\nvar __dummy_11$2 = 0,\n __stringWithLength_11 = _$validators_7.stringWithLength;\n\nvar _$config_11 = {\n releaseStage: {\n defaultValue: function () {\n if (/^localhost(:\\d+)?$/.test(window.location.host)) return 'development';\n return 'production';\n },\n message: 'should be set',\n validate: __stringWithLength_11\n },\n collectUserIp: {\n defaultValue: function () {\n return true;\n },\n message: 'should be true|false',\n validate: function (value) {\n return value === true || value === false;\n }\n },\n logger: ___extends_11({}, schema.logger, {\n defaultValue: function () {\n return (\n // set logger based on browser capability\n typeof console !== 'undefined' && typeof console.debug === 'function' ? getPrefixedConsole() : undefined\n );\n }\n })\n};\n\nvar getPrefixedConsole = function () {\n var logger = {};\n var consoleLog = console['log'];\n __map_11(['debug', 'info', 'warn', 'error'], function (method) {\n var consoleMethod = console[method];\n logger[method] = typeof consoleMethod === 'function' ? consoleMethod.bind(console, '[bugsnag]') : consoleLog.bind(console, '[bugsnag]');\n });\n return logger;\n};\n\nvar _$consoleBreadcrumbs_13 = {};\nvar __dummy_13$0 = 0,\n __map_13 = _$esUtils_4.map,\n __reduce_13 = _$esUtils_4.reduce,\n __filter_13 = _$esUtils_4.filter;\n\n/*\n * Leaves breadcrumbs when console log methods are called\n */\n\n\n_$consoleBreadcrumbs_13.init = function (client) {\n __map_13(CONSOLE_LOG_METHODS, function (method) {\n var original = console[method];\n console[method] = function () {\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n client.leaveBreadcrumb('Console output', __reduce_13(args, function (accum, arg, i) {\n // do the best/simplest stringification of each argument\n var stringified = String(arg);\n // if it stringifies to [object Object] attempt to JSON stringify\n if (stringified === '[object Object]') {\n // catch stringify errors and fallback to [object Object]\n try {\n stringified = JSON.stringify(arg);\n } catch (e) {}\n }\n accum['[' + i + ']'] = stringified;\n return accum;\n }, {\n severity: method.indexOf('group') === 0 ? 'log' : method\n }), 'log');\n original.apply(console, args);\n };\n console[method]._restore = function () {\n console[method] = original;\n };\n });\n};\n\n_$consoleBreadcrumbs_13.configSchema = {\n consoleBreadcrumbsEnabled: {\n defaultValue: function () {\n return undefined;\n },\n validate: function (value) {\n return value === true || value === false || value === undefined;\n },\n message: 'should be true|false'\n }\n};\n\nif (\"production\" !== 'production') {\n _$consoleBreadcrumbs_13.destroy = function () {\n return CONSOLE_LOG_METHODS.forEach(function (method) {\n if (typeof console[method]._restore === 'function') console[method]._restore();\n });\n };\n}\n\nvar CONSOLE_LOG_METHODS = __filter_13(['log', 'debug', 'info', 'warn', 'error'], function (method) {\n return typeof console !== 'undefined' && typeof console[method] === 'function';\n});\n\n/*\n * Sets the default context to be the current URL\n */\nvar _$context_14 = {\n init: function (client) {\n client.config.beforeSend.unshift(function (report) {\n if (report.context) return;\n report.context = window.location.pathname;\n });\n }\n};\n\nvar ___extends_15 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar __dummy_15$0 = 0,\n __isoDate_15 = _$esUtils_4.isoDate;\n/*\n * Automatically detects browser device details\n */\n\n\nvar _$device_15 = {\n init: function (client) {\n client.config.beforeSend.unshift(function (report) {\n report.device = ___extends_15({\n time: __isoDate_15(),\n locale: navigator.browserLanguage || navigator.systemLanguage || navigator.userLanguage || navigator.language,\n userAgent: navigator.userAgent\n }, report.device);\n });\n\n client.beforeSession.push(function (session) {\n session.device = { userAgent: navigator.userAgent };\n });\n }\n};\n\nvar _$inlineScriptContent_16 = {};\nvar __dummy_16$0 = 0,\n __reduce_16 = _$esUtils_4.reduce;\n\n_$inlineScriptContent_16 = {\n init: function (client) {\n var html = '';\n var DOMContentLoaded = false;\n var getHtml = function () {\n return document.documentElement.outerHTML;\n };\n var originalLocation = window.location.href;\n\n var addInlineContent = function (report) {\n var frame = report.stacktrace[0];\n if (!frame || !frame.file || !frame.lineNumber) return frame;\n if (frame.file.replace(/#.*$/, '') !== originalLocation.replace(/#.*$/, '')) return frame;\n if (!DOMContentLoaded || !html) html = getHtml();\n var htmlLines = [''].concat(html.split('\\n'));\n\n var _extractScriptContent = extractScriptContent(htmlLines, frame.lineNumber - 1),\n script = _extractScriptContent.script,\n start = _extractScriptContent.start;\n\n var code = __reduce_16(script, function (accum, line, i) {\n if (Math.abs(start + i + 1 - frame.lineNumber) > 10) return accum;\n accum['' + (start + i + 1)] = line;\n return accum;\n }, {});\n frame.code = code;\n report.updateMetaData('script', { content: script.join('\\n') });\n };\n\n // get whatever HTML exists at this point in time\n html = getHtml();\n\n // then update it when the DOM content has loaded\n document.onreadystatechange = function () {\n // IE8 compatible alternative to document#DOMContentLoaded\n if (document.readyState === 'interactive') {\n html = getHtml();\n DOMContentLoaded = true;\n }\n };\n\n client.config.beforeSend.unshift(addInlineContent);\n }\n};\n\nvar scriptStartRe = /^.*/;\nvar scriptEndRe = /<\\/script>.*$/;\nvar extractScriptContent = _$inlineScriptContent_16.extractScriptContent = function (lines, startLine) {\n // search down for \n var line = startLine;\n while (line < lines.length && !scriptEndRe.test(lines[line])) {\n line++;\n } // search up for