/** * filerobot-image-editor v4.9.1 * https://github.com/scaleflex/filerobot-image-editor * Copyright (c) 2019 Scaleflex * Released under the MIT license * Date: 2024-12-31T21:59:23.565Z */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).FilerobotImageEditor=t()}(this,(function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(t){return t=function(t,n){if("object"!=e(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0===r)return String(t);if("object"!=e(r=r.call(t,n)))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(t,"string"),"symbol"==e(t)?t:t+""}function n(e,n){for(var r=0;r>>1,o=e[r];if(!(0>>1;rt)||e&&!ye());){var r,o=U.callback;"function"==typeof o?(U.callback=null,G=U.priorityLevel,r=o(U.expirationTime<=t),t=R.unstable_now(),"function"==typeof r?U.callback=r:U===fe(V)&&he(V),ge(t)):he(V),U=fe(V)}var i;return null!==U||(null!==(i=fe(B))&&xe(me,i.startTime-t),!1)}finally{U=null,G=n,Z=!1}}function ye(){return!(R.unstable_now()-oe