text: !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(e.SlateDevEnvironment={})}(this,function(e){"use strict";var t="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},n="object"===("undefined"==typeof window?"undefined":t(window))&&"object"===("undefined"==typeof document?"undefined":t(document))&&9===document.nodeType,r=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,f=e[Symbol.iterator]();!(r=(a=f.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&f.return&&f.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=void 0;if(n){var i=!0,a=!1,f=void 0;try{for(var d,u=[["edge",/Edge\/([0-9\._]+)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)$/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+)\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["android",/Android\s([0-9\.]+)/],["safari",/Version\/([0-9\._]+).*Safari/]][Symbol.iterator]();!(i=(d=u.next()).done);i=!0){var l=r(d.value,2),s=l[0];if(l[1].test(window.navigator.userAgent)){o=s;break}}}catch(e){a=!0,f=e}finally{try{!i&&u.return&&u.return()}finally{if(a)throw f}}}var c=void 0;if(n){var y=!0,v=!1,p=void 0;try{for(var m,S=[["ios",/os ([\.\_\d]+) like mac os/i],["macos",/mac os x/i],["android",/android/i],["firefoxos",/mozilla\/[a-z\.\_\d]+ \((?:mobile)|(?:tablet)/i],["windows",/windows\s*(?:nt)?\s*([\.\_\d]+)/i]][Symbol.iterator]();!(y=(m=S.next()).done);y=!0){var _=r(m.value,2),b=_[0];if(_[1].test(window.navigator.userAgent)){c=b;break}}}catch(e){v=!0,p=e}finally{try{!y&&S.return&&S.return()}finally{if(v)throw p}}}var w=[["inputeventslevel1",function(e){return"inputType"in(e.InputEvent?new InputEvent("input"):{})}],["inputeventslevel2",function(e){var t=e.document.createElement("div");return t.contentEditable=!0,"onbeforeinput"in t}]],E=[];if(n){var I=!0,h=!1,x=void 0;try{for(var A,O=w[Symbol.iterator]();!(I=(A=O.next()).done);I=!0){var T=r(A.value,2),g=T[0];(0,T[1])(window)&&E.push(g)}}catch(e){h=!0,x=e}finally{try{!I&&O.return&&O.return()}finally{if(h)throw x}}}var R="chrome"===o,N="opera"===o,P="firefox"===o,$="safari"===o,j="ie"===o,D="edge"===o,M="android"===c,V="ios"===c,k="macos"===c,C="windows"===c,F=E.includes("inputeventslevel1"),L=E.includes("inputeventslevel2");e.IS_CHROME=R,e.IS_OPERA=N,e.IS_FIREFOX=P,e.IS_SAFARI=$,e.IS_IE=j,e.IS_EDGE=D,e.IS_ANDROID=M,e.IS_IOS=V,e.IS_MAC=k,e.IS_WINDOWS=C,e.HAS_INPUT_EVENTS_LEVEL_1=F,e.HAS_INPUT_EVENTS_LEVEL_2=L,Object.defineProperty(e,"__esModule",{value:!0})});
  