You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ORPA-pyOpenRPA/Resources/Help/keyboard · PyPI_files/lib.23f53f0dd5fed5e0b878802...

28 lines
20 KiB

5 years ago
/**
* Fastly Insights.js
* Build generated: 2019-06-07
* https://github.com/fastly/insights.js
*
* Copyright (c) 2019, Fastly, Inc. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
!function(){"use strict";function t(t){for(var e=Object(t),n=1;n<arguments.length;n++){var r=arguments[n];if(null!=r)for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e}function e(t){return t?(t^16*Math.random()>>t/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,e)}function n(t,e){return b?navigator.sendBeacon(t,e):fetch(t,{method:"POST",body:e,keepalive:!0})}function r(e){return t({},e,{client_asn:parseInt(e.client_asn,10),resolver_asn:parseInt(e.resolver_asn,10)})}function i(t){return m[t]?m[t]:(m[t]=fetch(t).then(function(t){return t.json()}).then(r),m[t])}function o(t){return function(e){return{id:e,type:"pop",host:e+"-v4."+t}}}function u(t){return t[Math.floor(Math.random()*t.length)]}function s(t,e,n){for(var r=e||4,i=n||0,s=t.pops,c=t.hosts.pop,a=o(c),f=s.slice(0,r),l=s.slice(r),h=f.map(a),v=[].concat(l),y=[],p=l.length<i?l.length:i,d=0;d<p;d++){var g=u(v);v.splice(v.indexOf(g),1),y.push(a(g))}return h.concat(y)}function c(t){return t.replace(/(?:^|\.?)([A-Z])/g,function(t,e){return"_"+e.toLowerCase()}).replace(/^_/,"")}function a(t,e){return e={exports:{}},t(e,e.exports),e.exports}function f(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5e3;return new Promise(function(n,r){var i=void 0,o=new he(function(e,r){var o=e.getEntriesByName(t);(i=o.shift())&&(r.disconnect(),n(i))});setTimeout(function(){i||(o.disconnect(),r(new Error("Timed out observing resource timing")))},e);try{o.observe({entryTypes:["resource"]})}catch(t){r(t)}})}function l(t){var e={};for(var n in t){var r=O(t[n]);"number"!==r&&"string"!==r||(e[n]=t[n])}return e}function h(t,e){return Object.keys(t).reduce(function(n,r){return e.indexOf(r)<0&&(n[r]=t[r]),n},{})}function v(t){return Object.keys(t).reduce(function(e,n){return e[c(n)]=t[n],e},{})}function y(t){return t.reduce(function(t,e){return t.then(function(t){return e().then(function(e){return[].concat(T(t),[e])})})},Promise.resolve([]))}function p(t){for(var e=[].concat(T(t)),n=e.length,r=void 0,i=void 0;n;)i=Math.floor(Math.random()*n--),r=e[n],e[n]=e[i],e[i]=r;return e}var d=function(t,e){return Object.keys(t).reduce(function(n,r){return n[e+r]=t[r],n},{})},g=e(),b="sendBeacon"in navigator&&"function"==typeof navigator.sendBeacon,m={},O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},w=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},k=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),_=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)},j=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e},S=function(){function t(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var u,s=t[Symbol.iterator]();!(r=(u=s.next()).done)&&(n.push(u.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),T=function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)},E=function(){function e(n){w(this,e),this.config=t({},n),this.config.testId=g,this.result={},this.state={hasRan:!1}}return k(e,[{key:"encode",value:function(t){return JSON.stringify(t)}},{key:"send",value:function(t){var e=this.config,r=e.apiKey,i=e.session;n("https: