Team Ai
Datasetpublic

Brunobkr/llama.cpp_AlgMor24_github

ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.

sourceHugging Faceupdated 2mo agoView on Hugging Face
0likes3.1kdownloads
axe.js33704 linesDownload Raw Back to axe-core
1/*! axe v4.12.02 * Copyright (c) 2015 - 2026 Deque Systems, Inc.3 *4 * Your use of this Source Code Form is subject to the terms of the Mozilla Public5 * License, v. 2.0. If a copy of the MPL was not distributed with this6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.7 *8 * This entire copyright notice must appear in every copy of this file you9 * distribute or in any file that contains substantial portions of this source10 * code.11 */12(function axeFunction(window) {13  var global = window;14  var document = window.document;15  'use strict';16  function _typeof(o) {17    '@babel/helpers - typeof';18    return _typeof = 'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator ? function(o) {19      return typeof o;20    } : function(o) {21      return o && 'function' == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? 'symbol' : typeof o;22    }, _typeof(o);23  }24  var axe = axe || {};25  axe.version = '4.12.0';26  if (typeof define === 'function' && define.amd) {27    define('axe-core', [], function() {28      return axe;29    });30  }31  if ((typeof module === 'undefined' ? 'undefined' : _typeof(module)) === 'object' && module.exports && typeof axeFunction.toString === 'function') {32    axe.source = '(' + axeFunction.toString() + ')(typeof window === "object" ? window : this);';33    module.exports = axe;34  }35  if (typeof window.getComputedStyle === 'function') {36    window.axe = axe;37  }38  var commons;39  'use strict';40  var _excluded = [ 'precision', 'format', 'inGamut' ], _excluded2 = [ 'space' ], _excluded3 = [ 'algorithm' ], _excluded4 = [ 'method' ], _excluded5 = [ 'maxDeltaE', 'deltaEMethod', 'steps', 'maxSteps' ], _excluded6 = [ 'node' ], _excluded7 = [ 'relatedNodes' ], _excluded8 = [ 'node' ], _excluded9 = [ 'variant' ], _excluded0 = [ 'matches' ], _excluded1 = [ 'chromium' ], _excluded10 = [ 'noImplicit' ], _excluded11 = [ 'noPresentational' ], _excluded12 = [ 'node' ], _excluded13 = [ 'environmentData' ], _excluded14 = [ 'environmentData' ], _excluded15 = [ 'environmentData' ], _excluded16 = [ 'environmentData' ], _excluded17 = [ 'environmentData' ];41  function _regenerator() {42    var e, t, r = 'function' == typeof Symbol ? Symbol : {}, n = r.iterator || '@@iterator', o = r.toStringTag || '@@toStringTag';43    function i(r, n, o, i) {44      var c = n && n.prototype instanceof Generator ? n : Generator, u = Object.create(c.prototype);45      return _regeneratorDefine2(u, '_invoke', function(r, n, o) {46        var i, c, u, f = 0, p = o || [], y = !1, G = {47          p: 0,48          n: 0,49          v: e,50          a: d,51          f: d.bind(e, 4),52          d: function d(t, r) {53            return i = t, c = 0, u = e, G.n = r, a;54          }55        };56        function d(r, n) {57          for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) {58            var o, i = p[t], d = G.p, l = i[2];59            r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, 60            G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, 61            i[5] = n, G.n = l, c = 0));62          }63          if (o || r > 1) {64            return a;65          }66          throw y = !0, n;67        }68        return function(o, p, l) {69          if (f > 1) {70            throw TypeError('Generator is already running');71          }72          for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y; ) {73            i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u);74            try {75              if (f = 2, i) {76                if (c || (o = 'next'), t = i[o]) {77                  if (!(t = t.call(i, u))) {78                    throw TypeError('iterator result is not an object');79                  }80                  if (!t.done) {81                    return t;82                  }83                  u = t.value, c < 2 && (c = 0);84                } else {85                  1 === c && (t = i['return']) && t.call(i), c < 2 && (u = TypeError('The iterator does not provide a \'' + o + '\' method'), 86                  c = 1);87                }88                i = e;89              } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) {90                break;91              }92            } catch (t) {93              i = e, c = 1, u = t;94            } finally {95              f = 1;96            }97          }98          return {99            value: t,100            done: y101          };102        };103      }(r, o, i), !0), u;104    }105    var a = {};106    function Generator() {}107    function GeneratorFunction() {}108    function GeneratorFunctionPrototype() {}109    t = Object.getPrototypeOf;110    var c = [][n] ? t(t([][n]())) : (_regeneratorDefine2(t = {}, n, function() {111      return this;112    }), t), u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c);113    function f(e) {114      return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, 115      _regeneratorDefine2(e, o, 'GeneratorFunction')), e.prototype = Object.create(u), 116      e;117    }118    return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine2(u, 'constructor', GeneratorFunctionPrototype), 119    _regeneratorDefine2(GeneratorFunctionPrototype, 'constructor', GeneratorFunction), 120    GeneratorFunction.displayName = 'GeneratorFunction', _regeneratorDefine2(GeneratorFunctionPrototype, o, 'GeneratorFunction'), 121    _regeneratorDefine2(u), _regeneratorDefine2(u, o, 'Generator'), _regeneratorDefine2(u, n, function() {122      return this;123    }), _regeneratorDefine2(u, 'toString', function() {124      return '[object Generator]';125    }), (_regenerator = function _regenerator() {126      return {127        w: i,128        m: f129      };130    })();131  }132  function _regeneratorDefine2(e, r, n, t) {133    var i = Object.defineProperty;134    try {135      i({}, '', {});136    } catch (e) {137      i = 0;138    }139    _regeneratorDefine2 = function _regeneratorDefine(e, r, n, t) {140      function o(r, n) {141        _regeneratorDefine2(e, r, function(e) {142          return this._invoke(r, n, e);143        });144      }145      r ? i ? i(e, r, {146        value: n,147        enumerable: !t,148        configurable: !t,149        writable: !t150      }) : e[r] = n : (o('next', 0), o('throw', 1), o('return', 2));151    }, _regeneratorDefine2(e, r, n, t);152  }153  function asyncGeneratorStep(n, t, e, r, o, a, c) {154    try {155      var i = n[a](c), u = i.value;156    } catch (n) {157      return void e(n);158    }159    i.done ? t(u) : Promise.resolve(u).then(r, o);160  }161  function _asyncToGenerator(n) {162    return function() {163      var t = this, e = arguments;164      return new Promise(function(r, o) {165        var a = n.apply(t, e);166        function _next(n) {167          asyncGeneratorStep(a, r, o, _next, _throw, 'next', n);168        }169        function _throw(n) {170          asyncGeneratorStep(a, r, o, _next, _throw, 'throw', n);171        }172        _next(void 0);173      });174    };175  }176  function _toArray(r) {177    return _arrayWithHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableRest();178  }179  function _wrapNativeSuper(t) {180    var r = 'function' == typeof Map ? new Map() : void 0;181    return _wrapNativeSuper = function _wrapNativeSuper(t) {182      if (null === t || !_isNativeFunction(t)) {183        return t;184      }185      if ('function' != typeof t) {186        throw new TypeError('Super expression must either be null or a function');187      }188      if (void 0 !== r) {189        if (r.has(t)) {190          return r.get(t);191        }192        r.set(t, Wrapper);193      }194      function Wrapper() {195        return _construct(t, arguments, _getPrototypeOf(this).constructor);196      }197      return Wrapper.prototype = Object.create(t.prototype, {198        constructor: {199          value: Wrapper,200          enumerable: !1,201          writable: !0,202          configurable: !0203        }204      }), _setPrototypeOf(Wrapper, t);205    }, _wrapNativeSuper(t);206  }207  function _isNativeFunction(t) {208    try {209      return -1 !== Function.toString.call(t).indexOf('[native code]');210    } catch (n) {211      return 'function' == typeof t;212    }213  }214  function _defineProperty(e, r, t) {215    return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {216      value: t,217      enumerable: !0,218      configurable: !0,219      writable: !0220    }) : e[r] = t, e;221  }222  function _construct(t, e, r) {223    if (_isNativeReflectConstruct()) {224      return Reflect.construct.apply(null, arguments);225    }226    var o = [ null ];227    o.push.apply(o, e);228    var p = new (t.bind.apply(t, o))();229    return r && _setPrototypeOf(p, r.prototype), p;230  }231  function _objectWithoutProperties(e, t) {232    if (null == e) {233      return {};234    }235    var o, r, i = _objectWithoutPropertiesLoose(e, t);236    if (Object.getOwnPropertySymbols) {237      var n = Object.getOwnPropertySymbols(e);238      for (r = 0; r < n.length; r++) {239        o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);240      }241    }242    return i;243  }244  function _objectWithoutPropertiesLoose(r, e) {245    if (null == r) {246      return {};247    }248    var t = {};249    for (var n in r) {250      if ({}.hasOwnProperty.call(r, n)) {251        if (-1 !== e.indexOf(n)) {252          continue;253        }254        t[n] = r[n];255      }256    }257    return t;258  }259  function _callSuper(t, o, e) {260    return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));261  }262  function _possibleConstructorReturn(t, e) {263    if (e && ('object' == _typeof(e) || 'function' == typeof e)) {264      return e;265    }266    if (void 0 !== e) {267      throw new TypeError('Derived constructors may only return object or undefined');268    }269    return _assertThisInitialized(t);270  }271  function _assertThisInitialized(e) {272    if (void 0 === e) {273      throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');274    }275    return e;276  }277  function _isNativeReflectConstruct() {278    try {279      var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));280    } catch (t) {}281    return (_isNativeReflectConstruct = function _isNativeReflectConstruct() {282      return !!t;283    })();284  }285  function _getPrototypeOf(t) {286    return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {287      return t.__proto__ || Object.getPrototypeOf(t);288    }, _getPrototypeOf(t);289  }290  function _inherits(t, e) {291    if ('function' != typeof e && null !== e) {292      throw new TypeError('Super expression must either be null or a function');293    }294    t.prototype = Object.create(e && e.prototype, {295      constructor: {296        value: t,297        writable: !0,298        configurable: !0299      }300    }), Object.defineProperty(t, 'prototype', {301      writable: !1302    }), e && _setPrototypeOf(t, e);303  }304  function _setPrototypeOf(t, e) {305    return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) {306      return t.__proto__ = e, t;307    }, _setPrototypeOf(t, e);308  }309  function _extends() {310    return _extends = Object.assign ? Object.assign.bind() : function(n) {311      for (var e = 1; e < arguments.length; e++) {312        var t = arguments[e];313        for (var r in t) {314          ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);315        }316      }317      return n;318    }, _extends.apply(null, arguments);319  }320  function _toConsumableArray(r) {321    return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();322  }323  function _nonIterableSpread() {324    throw new TypeError('Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.');325  }326  function _iterableToArray(r) {327    if ('undefined' != typeof Symbol && null != r[Symbol.iterator] || null != r['@@iterator']) {328      return Array.from(r);329    }330  }331  function _arrayWithoutHoles(r) {332    if (Array.isArray(r)) {333      return _arrayLikeToArray(r);334    }335  }336  function _classPrivateFieldInitSpec(e, t, a) {337    _checkPrivateRedeclaration(e, t), t.set(e, a);338  }339  function _classPrivateMethodInitSpec(e, a) {340    _checkPrivateRedeclaration(e, a), a.add(e);341  }342  function _checkPrivateRedeclaration(e, t) {343    if (t.has(e)) {344      throw new TypeError('Cannot initialize the same private elements twice on an object');345    }346  }347  function _classPrivateFieldGet(s, a) {348    return s.get(_assertClassBrand(s, a));349  }350  function _classPrivateFieldSet(s, a, r) {351    return s.set(_assertClassBrand(s, a), r), r;352  }353  function _assertClassBrand(e, t, n) {354    if ('function' == typeof e ? e === t : e.has(t)) {355      return arguments.length < 3 ? t : n;356    }357    throw new TypeError('Private element is not present on this object');358  }359  function _slicedToArray(r, e) {360    return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();361  }362  function _nonIterableRest() {363    throw new TypeError('Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.');364  }365  function _iterableToArrayLimit(r, l) {366    var t = null == r ? null : 'undefined' != typeof Symbol && r[Symbol.iterator] || r['@@iterator'];367    if (null != t) {368      var e, n, i, u, a = [], f = !0, o = !1;369      try {370        if (i = (t = t.call(r)).next, 0 === l) {371          if (Object(t) !== t) {372            return;373          }374          f = !1;375        } else {376          for (;!(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0) {}377        }378      } catch (r) {379        o = !0, n = r;380      } finally {381        try {382          if (!f && null != t['return'] && (u = t['return'](), Object(u) !== u)) {383            return;384          }385        } finally {386          if (o) {387            throw n;388          }389        }390      }391      return a;392    }393  }394  function _arrayWithHoles(r) {395    if (Array.isArray(r)) {396      return r;397    }398  }399  function _classCallCheck(a, n) {400    if (!(a instanceof n)) {401      throw new TypeError('Cannot call a class as a function');402    }403  }404  function _defineProperties(e, r) {405    for (var t = 0; t < r.length; t++) {406      var o = r[t];407      o.enumerable = o.enumerable || !1, o.configurable = !0, 'value' in o && (o.writable = !0), 408      Object.defineProperty(e, _toPropertyKey(o.key), o);409    }410  }411  function _createClass(e, r, t) {412    return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), 413    Object.defineProperty(e, 'prototype', {414      writable: !1415    }), e;416  }417  function _toPropertyKey(t) {418    var i = _toPrimitive(t, 'string');419    return 'symbol' == _typeof(i) ? i : i + '';420  }421  function _toPrimitive(t, r) {422    if ('object' != _typeof(t) || !t) {423      return t;424    }425    var e = t[Symbol.toPrimitive];426    if (void 0 !== e) {427      var i = e.call(t, r || 'default');428      if ('object' != _typeof(i)) {429        return i;430      }431      throw new TypeError('@@toPrimitive must return a primitive value.');432    }433    return ('string' === r ? String : Number)(t);434  }435  function _createForOfIteratorHelper(r, e) {436    var t = 'undefined' != typeof Symbol && r[Symbol.iterator] || r['@@iterator'];437    if (!t) {438      if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && 'number' == typeof r.length) {439        t && (r = t);440        var _n = 0, F = function F() {};441        return {442          s: F,443          n: function n() {444            return _n >= r.length ? {445              done: !0446            } : {447              done: !1,448              value: r[_n++]449            };450          },451          e: function e(r) {452            throw r;453          },454          f: F455        };456      }457      throw new TypeError('Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.');458    }459    var o, a = !0, u = !1;460    return {461      s: function s() {462        t = t.call(r);463      },464      n: function n() {465        var r = t.next();466        return a = r.done, r;467      },468      e: function e(r) {469        u = !0, o = r;470      },471      f: function f() {472        try {473          a || null == t['return'] || t['return']();474        } finally {475          if (u) {476            throw o;477          }478        }479      }480    };481  }482  function _unsupportedIterableToArray(r, a) {483    if (r) {484      if ('string' == typeof r) {485        return _arrayLikeToArray(r, a);486      }487      var t = {}.toString.call(r).slice(8, -1);488      return 'Object' === t && r.constructor && (t = r.constructor.name), 'Map' === t || 'Set' === t ? Array.from(r) : 'Arguments' === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;489    }490  }491  function _arrayLikeToArray(r, a) {492    (null == a || a > r.length) && (a = r.length);493    for (var e = 0, n = Array(a); e < a; e++) {494      n[e] = r[e];495    }496    return n;497  }498  function _typeof(o) {499    '@babel/helpers - typeof';500    return _typeof = 'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator ? function(o) {501      return typeof o;502    } : function(o) {503      return o && 'function' == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? 'symbol' : typeof o;504    }, _typeof(o);505  }506  (function(_Class_brand, _path, _CSS, _space, _r, _g, _b, _red, _green, _blue, _Class3_brand) {507    var __create = Object.create;508    var __defProp = Object.defineProperty;509    var __getProtoOf = Object.getPrototypeOf;510    var __hasOwnProp = Object.prototype.hasOwnProperty;511    var __getOwnPropNames = Object.getOwnPropertyNames;512    var __getOwnPropDesc = Object.getOwnPropertyDescriptor;513    var __defNormalProp = function __defNormalProp(obj, key, value) {514      return key in obj ? __defProp(obj, key, {515        enumerable: true,516        configurable: true,517        writable: true,518        value: value519      }) : obj[key] = value;520    };521    var __markAsModule = function __markAsModule(target) {522      return __defProp(target, '__esModule', {523        value: true524      });525    };526    var __commonJS = function __commonJS(cb, mod) {527      return function() {528        return mod || cb((mod = {529          exports: {}530        }).exports, mod), mod.exports;531      };532    };533    var __export = function __export(target, all) {534      for (var name in all) {535        __defProp(target, name, {536          get: all[name],537          enumerable: true538        });539      }540    };541    var __exportStar = function __exportStar(target, module, desc) {542      if (module && _typeof(module) === 'object' || typeof module === 'function') {543        var _iterator = _createForOfIteratorHelper(__getOwnPropNames(module)), _step;544        try {545          var _loop = function _loop() {546            var key = _step.value;547            if (!__hasOwnProp.call(target, key) && key !== 'default') {548              __defProp(target, key, {549                get: function get() {550                  return module[key];551                },552                enumerable: !(desc = __getOwnPropDesc(module, key)) || desc.enumerable553              });554            }555          };556          for (_iterator.s(); !(_step = _iterator.n()).done; ) {557            _loop();558          }559        } catch (err) {560          _iterator.e(err);561        } finally {562          _iterator.f();563        }564      }565      return target;566    };567    var __toModule = function __toModule(module) {568      return __exportStar(__markAsModule(__defProp(module != null ? __create(__getProtoOf(module)) : {}, 'default', module && module.__esModule && 'default' in module ? {569        get: function get() {570          return module['default'];571        },572        enumerable: true573      } : {574        value: module,575        enumerable: true576      })), module);577    };578    var __publicField = function __publicField(obj, key, value) {579      __defNormalProp(obj, _typeof(key) !== 'symbol' ? key + '' : key, value);580      return value;581    };582    var require_es6_promise = __commonJS(function(exports, module) {583      (function(global2, factory) {584        _typeof(exports) === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : global2.ES6Promise = factory();585      })(exports, function() {586        'use strict';587        function objectOrFunction(x) {588          var type2 = _typeof(x);589          return x !== null && (type2 === 'object' || type2 === 'function');590        }591        function isFunction(x) {592          return typeof x === 'function';593        }594        var _isArray = void 0;595        if (Array.isArray) {596          _isArray = Array.isArray;597        } else {598          _isArray = function _isArray(x) {599            return Object.prototype.toString.call(x) === '[object Array]';600          };601        }602        var isArray = _isArray;603        var len = 0;604        var vertxNext = void 0;605        var customSchedulerFn = void 0;606        var asap = function asap2(callback, arg) {607          queue2[len] = callback;608          queue2[len + 1] = arg;609          len += 2;610          if (len === 2) {611            if (customSchedulerFn) {612              customSchedulerFn(flush);613            } else {614              scheduleFlush();615            }616          }617        };618        function setScheduler(scheduleFn) {619          customSchedulerFn = scheduleFn;620        }621        function setAsap(asapFn) {622          asap = asapFn;623        }624        var browserWindow = typeof window !== 'undefined' ? window : void 0;625        var browserGlobal = browserWindow || {};626        var BrowserMutationObserver = browserGlobal.MutationObserver || browserGlobal.WebKitMutationObserver;627        var isNode2 = typeof self === 'undefined' && typeof process !== 'undefined' && {}.toString.call(process) === '[object process]';628        var isWorker = typeof Uint8ClampedArray !== 'undefined' && typeof importScripts !== 'undefined' && typeof MessageChannel !== 'undefined';629        function useNextTick() {630          return function() {631            return process.nextTick(flush);632          };633        }634        function useVertxTimer() {635          if (typeof vertxNext !== 'undefined') {636            return function() {637              vertxNext(flush);638            };639          }640          return useSetTimeout();641        }642        function useMutationObserver() {643          var iterations = 0;644          var observer = new BrowserMutationObserver(flush);645          var node = document.createTextNode('');646          observer.observe(node, {647            characterData: true648          });649          return function() {650            node.data = iterations = ++iterations % 2;651          };652        }653        function useMessageChannel() {654          var channel = new MessageChannel();655          channel.port1.onmessage = flush;656          return function() {657            return channel.port2.postMessage(0);658          };659        }660        function useSetTimeout() {661          var globalSetTimeout = setTimeout;662          return function() {663            return globalSetTimeout(flush, 1);664          };665        }666        var queue2 = new Array(1e3);667        function flush() {668          for (var i = 0; i < len; i += 2) {669            var callback = queue2[i];670            var arg = queue2[i + 1];671            callback(arg);672            queue2[i] = void 0;673            queue2[i + 1] = void 0;674          }675          len = 0;676        }677        function attemptVertx() {678          try {679            var vertx = Function('return this')().require('vertx');680            vertxNext = vertx.runOnLoop || vertx.runOnContext;681            return useVertxTimer();682          } catch (e) {683            return useSetTimeout();684          }685        }686        var scheduleFlush = void 0;687        if (isNode2) {688          scheduleFlush = useNextTick();689        } else if (BrowserMutationObserver) {690          scheduleFlush = useMutationObserver();691        } else if (isWorker) {692          scheduleFlush = useMessageChannel();693        } else if (browserWindow === void 0 && true) {694          scheduleFlush = attemptVertx();695        } else {696          scheduleFlush = useSetTimeout();697        }698        function then(onFulfillment, onRejection) {699          var parent = this;700          var child = new this.constructor(noop3);701          if (child[PROMISE_ID] === void 0) {702            makePromise(child);703          }704          var _state = parent._state;705          if (_state) {706            var callback = arguments[_state - 1];707            asap(function() {708              return invokeCallback(_state, child, callback, parent._result);709            });710          } else {711            subscribe2(parent, child, onFulfillment, onRejection);712          }713          return child;714        }715        function resolve$1(object) {716          var Constructor = this;717          if (object && _typeof(object) === 'object' && object.constructor === Constructor) {718            return object;719          }720          var promise = new Constructor(noop3);721          resolve(promise, object);722          return promise;723        }724        var PROMISE_ID = Math.random().toString(36).substring(2);725        function noop3() {}726        var PENDING = void 0;727        var FULFILLED = 1;728        var REJECTED = 2;729        function selfFulfillment() {730          return new TypeError('You cannot resolve a promise with itself');731        }732        function cannotReturnOwn() {733          return new TypeError('A promises callback cannot return that same promise.');734        }735        function tryThen(then$$1, value, fulfillmentHandler, rejectionHandler) {736          try {737            then$$1.call(value, fulfillmentHandler, rejectionHandler);738          } catch (e) {739            return e;740          }741        }742        function handleForeignThenable(promise, thenable, then$$1) {743          asap(function(promise2) {744            var sealed = false;745            var error = tryThen(then$$1, thenable, function(value) {746              if (sealed) {747                return;748              }749              sealed = true;750              if (thenable !== value) {751                resolve(promise2, value);752              } else {753                fulfill(promise2, value);754              }755            }, function(reason) {756              if (sealed) {757                return;758              }759              sealed = true;760              reject(promise2, reason);761            }, 'Settle: ' + (promise2._label || ' unknown promise'));762            if (!sealed && error) {763              sealed = true;764              reject(promise2, error);765            }766          }, promise);767        }768        function handleOwnThenable(promise, thenable) {769          if (thenable._state === FULFILLED) {770            fulfill(promise, thenable._result);771          } else if (thenable._state === REJECTED) {772            reject(promise, thenable._result);773          } else {774            subscribe2(thenable, void 0, function(value) {775              return resolve(promise, value);776            }, function(reason) {777              return reject(promise, reason);778            });779          }780        }781        function handleMaybeThenable(promise, maybeThenable, then$$1) {782          if (maybeThenable.constructor === promise.constructor && then$$1 === then && maybeThenable.constructor.resolve === resolve$1) {783            handleOwnThenable(promise, maybeThenable);784          } else {785            if (then$$1 === void 0) {786              fulfill(promise, maybeThenable);787            } else if (isFunction(then$$1)) {788              handleForeignThenable(promise, maybeThenable, then$$1);789            } else {790              fulfill(promise, maybeThenable);791            }792          }793        }794        function resolve(promise, value) {795          if (promise === value) {796            reject(promise, selfFulfillment());797          } else if (objectOrFunction(value)) {798            var then$$1 = void 0;799            try {800              then$$1 = value.then;801            } catch (error) {802              reject(promise, error);803              return;804            }805            handleMaybeThenable(promise, value, then$$1);806          } else {807            fulfill(promise, value);808          }809        }810        function publishRejection(promise) {811          if (promise._onerror) {812            promise._onerror(promise._result);813          }814          publish(promise);815        }816        function fulfill(promise, value) {817          if (promise._state !== PENDING) {818            return;819          }820          promise._result = value;821          promise._state = FULFILLED;822          if (promise._subscribers.length !== 0) {823            asap(publish, promise);824          }825        }826        function reject(promise, reason) {827          if (promise._state !== PENDING) {828            return;829          }830          promise._state = REJECTED;831          promise._result = reason;832          asap(publishRejection, promise);833        }834        function subscribe2(parent, child, onFulfillment, onRejection) {835          var _subscribers = parent._subscribers;836          var length = _subscribers.length;837          parent._onerror = null;838          _subscribers[length] = child;839          _subscribers[length + FULFILLED] = onFulfillment;840          _subscribers[length + REJECTED] = onRejection;841          if (length === 0 && parent._state) {842            asap(publish, parent);843          }844        }845        function publish(promise) {846          var subscribers = promise._subscribers;847          var settled = promise._state;848          if (subscribers.length === 0) {849            return;850          }851          var child = void 0, callback = void 0, detail = promise._result;852          for (var i = 0; i < subscribers.length; i += 3) {853            child = subscribers[i];854            callback = subscribers[i + settled];855            if (child) {856              invokeCallback(settled, child, callback, detail);857            } else {858              callback(detail);859            }860          }861          promise._subscribers.length = 0;862        }863        function invokeCallback(settled, promise, callback, detail) {864          var hasCallback = isFunction(callback), value = void 0, error = void 0, succeeded = true;865          if (hasCallback) {866            try {867              value = callback(detail);868            } catch (e) {869              succeeded = false;870              error = e;871            }872            if (promise === value) {873              reject(promise, cannotReturnOwn());874              return;875            }876          } else {877            value = detail;878          }879          if (promise._state !== PENDING) {} else if (hasCallback && succeeded) {880            resolve(promise, value);881          } else if (succeeded === false) {882            reject(promise, error);883          } else if (settled === FULFILLED) {884            fulfill(promise, value);885          } else if (settled === REJECTED) {886            reject(promise, value);887          }888        }889        function initializePromise(promise, resolver) {890          try {891            resolver(function resolvePromise(value) {892              resolve(promise, value);893            }, function rejectPromise(reason) {894              reject(promise, reason);895            });896          } catch (e) {897            reject(promise, e);898          }899        }900        var id = 0;901        function nextId() {902          return id++;903        }904        function makePromise(promise) {905          promise[PROMISE_ID] = id++;906          promise._state = void 0;907          promise._result = void 0;908          promise._subscribers = [];909        }910        function validationError() {911          return new Error('Array Methods must be provided an Array');912        }913        var Enumerator = function() {914          function Enumerator2(Constructor, input) {915            this._instanceConstructor = Constructor;916            this.promise = new Constructor(noop3);917            if (!this.promise[PROMISE_ID]) {918              makePromise(this.promise);919            }920            if (isArray(input)) {921              this.length = input.length;922              this._remaining = input.length;923              this._result = new Array(this.length);924              if (this.length === 0) {925                fulfill(this.promise, this._result);926              } else {927                this.length = this.length || 0;928                this._enumerate(input);929                if (this._remaining === 0) {930                  fulfill(this.promise, this._result);931                }932              }933            } else {934              reject(this.promise, validationError());935            }936          }937          Enumerator2.prototype._enumerate = function _enumerate(input) {938            for (var i = 0; this._state === PENDING && i < input.length; i++) {939              this._eachEntry(input[i], i);940            }941          };942          Enumerator2.prototype._eachEntry = function _eachEntry(entry, i) {943            var c4 = this._instanceConstructor;944            var resolve$$1 = c4.resolve;945            if (resolve$$1 === resolve$1) {946              var _then = void 0;947              var error = void 0;948              var didError = false;949              try {950                _then = entry.then;951              } catch (e) {952                didError = true;953                error = e;954              }955              if (_then === then && entry._state !== PENDING) {956                this._settledAt(entry._state, i, entry._result);957              } else if (typeof _then !== 'function') {958                this._remaining--;959                this._result[i] = entry;960              } else if (c4 === Promise$1) {961                var promise = new c4(noop3);962                if (didError) {963                  reject(promise, error);964                } else {965                  handleMaybeThenable(promise, entry, _then);966                }967                this._willSettleAt(promise, i);968              } else {969                this._willSettleAt(new c4(function(resolve$$12) {970                  return resolve$$12(entry);971                }), i);972              }973            } else {974              this._willSettleAt(resolve$$1(entry), i);975            }976          };977          Enumerator2.prototype._settledAt = function _settledAt(state, i, value) {978            var promise = this.promise;979            if (promise._state === PENDING) {980              this._remaining--;981              if (state === REJECTED) {982                reject(promise, value);983              } else {984                this._result[i] = value;985              }986            }987            if (this._remaining === 0) {988              fulfill(promise, this._result);989            }990          };991          Enumerator2.prototype._willSettleAt = function _willSettleAt(promise, i) {992            var enumerator = this;993            subscribe2(promise, void 0, function(value) {994              return enumerator._settledAt(FULFILLED, i, value);995            }, function(reason) {996              return enumerator._settledAt(REJECTED, i, reason);997            });998          };999          return Enumerator2;1000        }();1001        function all(entries) {1002          return new Enumerator(this, entries).promise;1003        }1004        function race(entries) {1005          var Constructor = this;1006          if (!isArray(entries)) {1007            return new Constructor(function(_, reject2) {1008              return reject2(new TypeError('You must pass an array to race.'));1009            });1010          } else {1011            return new Constructor(function(resolve2, reject2) {1012              var length = entries.length;1013              for (var i = 0; i < length; i++) {1014                Constructor.resolve(entries[i]).then(resolve2, reject2);1015              }1016            });1017          }1018        }1019        function reject$1(reason) {1020          var Constructor = this;1021          var promise = new Constructor(noop3);1022          reject(promise, reason);1023          return promise;1024        }1025        function needsResolver() {1026          throw new TypeError('You must pass a resolver function as the first argument to the promise constructor');1027        }1028        function needsNew() {1029          throw new TypeError('Failed to construct \'Promise\': Please use the \'new\' operator, this object constructor cannot be called as a function.');1030        }1031        var Promise$1 = function() {1032          function Promise2(resolver) {1033            this[PROMISE_ID] = nextId();1034            this._result = this._state = void 0;1035            this._subscribers = [];1036            if (noop3 !== resolver) {1037              typeof resolver !== 'function' && needsResolver();1038              this instanceof Promise2 ? initializePromise(this, resolver) : needsNew();1039            }1040          }1041          Promise2.prototype['catch'] = function _catch(onRejection) {1042            return this.then(null, onRejection);1043          };1044          Promise2.prototype['finally'] = function _finally(callback) {1045            var promise = this;1046            var constructor = promise.constructor;1047            if (isFunction(callback)) {1048              return promise.then(function(value) {1049                return constructor.resolve(callback()).then(function() {1050                  return value;1051                });1052              }, function(reason) {1053                return constructor.resolve(callback()).then(function() {1054                  throw reason;1055                });1056              });1057            }1058            return promise.then(callback, callback);1059          };1060          return Promise2;1061        }();1062        Promise$1.prototype.then = then;1063        Promise$1.all = all;1064        Promise$1.race = race;1065        Promise$1.resolve = resolve$1;1066        Promise$1.reject = reject$1;1067        Promise$1._setScheduler = setScheduler;1068        Promise$1._setAsap = setAsap;1069        Promise$1._asap = asap;1070        function polyfill() {1071          var local = void 0;1072          if (typeof global !== 'undefined') {1073            local = global;1074          } else if (typeof self !== 'undefined') {1075            local = self;1076          } else {1077            try {1078              local = Function('return this')();1079            } catch (e) {1080              throw new Error('polyfill failed because global object is unavailable in this environment');1081            }1082          }1083          var P = local.Promise;1084          if (P) {1085            var promiseToString = null;1086            try {1087              promiseToString = Object.prototype.toString.call(P.resolve());1088            } catch (e) {}1089            if (promiseToString === '[object Promise]' && !P.cast) {1090              return;1091            }1092          }1093          local.Promise = Promise$1;1094        }1095        Promise$1.polyfill = polyfill;1096        Promise$1.Promise = Promise$1;1097        return Promise$1;1098      });1099    });1100    var require_typedarray = __commonJS(function(exports) {1101      var MAX_ARRAY_LENGTH = 1e5;1102      var ECMAScript = function() {1103        var opts = Object.prototype.toString;1104        var ophop = Object.prototype.hasOwnProperty;1105        return {1106          Class: function Class(v) {1107            return opts.call(v).replace(/^\[object *|\]$/g, '');1108          },1109          HasProperty: function HasProperty(o, p2) {1110            return p2 in o;1111          },1112          HasOwnProperty: function HasOwnProperty(o, p2) {1113            return ophop.call(o, p2);1114          },1115          IsCallable: function IsCallable(o) {1116            return typeof o === 'function';1117          },1118          ToInt32: function ToInt32(v) {1119            return v >> 0;1120          },1121          ToUint32: function ToUint32(v) {1122            return v >>> 0;1123          }1124        };1125      }();1126      var LN2 = Math.LN2;1127      var abs = Math.abs;1128      var floor = Math.floor;1129      var log2 = Math.log;1130      var min = Math.min;1131      var pow = Math.pow;1132      var round = Math.round;1133      function clamp3(v, minimum, max2) {1134        return v < minimum ? minimum : v > max2 ? max2 : v;1135      }1136      var getOwnPropNames = Object.getOwnPropertyNames || function(o) {1137        if (o !== Object(o)) {1138          throw new TypeError('Object.getOwnPropertyNames called on non-object');1139        }1140        var props = [], p2;1141        for (p2 in o) {1142          if (ECMAScript.HasOwnProperty(o, p2)) {1143            props.push(p2);1144          }1145        }1146        return props;1147      };1148      var defineProp;1149      if (Object.defineProperty && function() {1150        try {1151          Object.defineProperty({}, 'x', {});1152          return true;1153        } catch (e) {1154          return false;1155        }1156      }()) {1157        defineProp = Object.defineProperty;1158      } else {1159        defineProp = function defineProp(o, p2, desc) {1160          if (!o === Object(o)) {1161            throw new TypeError('Object.defineProperty called on non-object');1162          }1163          if (ECMAScript.HasProperty(desc, 'get') && Object.prototype.__defineGetter__) {1164            Object.prototype.__defineGetter__.call(o, p2, desc.get);1165          }1166          if (ECMAScript.HasProperty(desc, 'set') && Object.prototype.__defineSetter__) {1167            Object.prototype.__defineSetter__.call(o, p2, desc.set);1168          }1169          if (ECMAScript.HasProperty(desc, 'value')) {1170            o[p2] = desc.value;1171          }1172          return o;1173        };1174      }1175      function configureProperties(obj) {1176        if (getOwnPropNames && defineProp) {1177          var props = getOwnPropNames(obj), i;1178          for (i = 0; i < props.length; i += 1) {1179            defineProp(obj, props[i], {1180              value: obj[props[i]],1181              writable: false,1182              enumerable: false,1183              configurable: false1184            });1185          }1186        }1187      }1188      function makeArrayAccessors(obj) {1189        if (!defineProp) {1190          return;1191        }1192        if (obj.length > MAX_ARRAY_LENGTH) {1193          throw new RangeError('Array too large for polyfill');1194        }1195        function makeArrayAccessor(index) {1196          defineProp(obj, index, {1197            get: function get() {1198              return obj._getter(index);1199            },1200            set: function set(v) {

Showing the first 1,200 of 33704 lines. Download the file for the rest.

Brunobkr/llama.cpp_AlgMor24_github · Team Ai