Files

2 lines
209 KiB
JavaScript
Raw Permalink Normal View History

2026-11-17 16:15:01 -05:00
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Keymetrics=e()}}(function(){return function e(t,n,a){function i(r,s){if(!n[r]){if(!t[r]){var l="function"==typeof require&&require;if(!s&&l)return l(r,!0);if(o)return o(r,!0);var p=new Error("Cannot find module '"+r+"'");throw p.code="MODULE_NOT_FOUND",p}var u=n[r]={exports:{}};t[r][0].call(u.exports,function(e){var n=t[r][1][e];return i(n||e)},u,u.exports,e,t,n,a)}return n[r].exports}for(var o="function"==typeof require&&require,r=0;r<a.length;r++)i(a[r]);return i}({1:[function(e,t,n){(function(n){"use strict";var a=e("./package.json"),i={headers:{"X-JS-API-Version":a.version},services:{API:"https://app.keymetrics.io",OAUTH:"https://id.keymetrics.io"},OAUTH_AUTHORIZE_ENDPOINT:"/api/oauth/authorize",OAUTH_CLIENT_ID:"795984050",ENVIRONNEMENT:n&&n.versions&&n.versions.node?"node":"browser",VERSION:a.version,IS_DEBUG:"undefined"!=typeof window&&window.location.host.match(/km.(io|local)/)||void 0!==n&&"true"===n.env.DEBUG};t.exports=Object.assign({},i)}).call(this,e("_process"))},{"./package.json":35,_process:34}],2:[function(e,t,n){(function(e,a){var i;i=this,function(n){"use strict";function i(e,t){t|=0;for(var n=Math.max(e.length-t,0),a=Array(n),i=0;i<n;i++)a[i]=e[t+i];return a}var o=function(e){var t=i(arguments,1);return function(){var n=i(arguments);return e.apply(null,t.concat(n))}},r=function(e){return function(){var t=i(arguments),n=t.pop();e.call(this,t,n)}};function s(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var l="function"==typeof setImmediate&&setImmediate,p="object"==typeof e&&"function"==typeof e.nextTick;function u(e){setTimeout(e,0)}function c(e){return function(t){var n=i(arguments,1);e(function(){t.apply(null,n)})}}var d=c(l?setImmediate:p?e.nextTick:u);function f(e){return r(function(t,n){var a;try{a=e.apply(this,t)}catch(e){return n(e)}s(a)&&"function"==typeof a.then?a.then(function(e){m(n,null,e)},function(e){m(n,e.message?e:new Error(e))}):n(null,a)})}function m(e,t,n){try{e(t,n)}catch(e){d(y,e)}}function y(e){throw e}var h="function"==typeof Symbol;function v(e){return h&&"AsyncFunction"===e[Symbol.toStringTag]}function g(e){return v(e)?f(e):e}function b(e){return function(t){var n=i(arguments,1),a=r(function(n,a){var i=this;return e(t,function(e,t){g(e).apply(i,n.concat(t))},a)});return n.length?a.apply(this,n):a}}var k="object"==typeof a&&a&&a.Object===Object&&a,_="object"==typeof self&&self&&self.Object===Object&&self,w=k||_||Function("return this")(),A=w.Symbol,T=Object.prototype,j=T.hasOwnProperty,E=T.toString,S=A?A.toStringTag:void 0;var x=Object.prototype.toString;var O="[object Null]",z="[object Undefined]",P=A?A.toStringTag:void 0;function L(e){return null==e?void 0===e?z:O:P&&P in Object(e)?function(e){var t=j.call(e,S),n=e[S];try{e[S]=void 0;var a=!0}catch(e){}var i=E.call(e);return a&&(t?e[S]=n:delete e[S]),i}(e):(t=e,x.call(t));var t}var C="[object AsyncFunction]",B="[object Function]",D="[object GeneratorFunction]",U="[object Proxy]";var R=9007199254740991;function N(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=R}function I(e){return null!=e&&N(e.length)&&!function(e){if(!s(e))return!1;var t=L(e);return t==B||t==D||t==C||t==U}(e)}var M={};function q(){}function G(e){return function(){if(null!==e){var t=e;e=null,t.apply(this,arguments)}}}var F="function"==typeof Symbol&&Symbol.iterator,H=function(e){return F&&e[F]&&e[F]()};function W(e){return null!=e&&"object"==typeof e}var V="[object Arguments]";function Q(e){return W(e)&&L(e)==V}var X=Object.prototype,J=X.hasOwnProperty,$=X.propertyIsEnumerable,K=Q(function(){return arguments}())?Q:function(e){return W(e)&&J.call(e,"callee")&&!$.call(e,"callee")},Y=Array.isArray;var Z="object"==typeof n&&n&&!n.nodeType&&n,ee=Z&&"object"==typeof t&&t&&!t.nodeType&&t,te=ee&&ee.exports===Z?w.Buffer:void 0,ne=(te?te.isBuffer:void 0)||function(){return!1},ae=9007199254740991,ie=/^