Welcome to mirror list, hosted at ThFree Co, Russian Federation.

vendors~editor-collab~editor-guest~editor-rich~files-modal.js « js - github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2786f2396721e3ecbd9c7e3d78f81816bc567b8c (plain)
1
2
(window.textWebpackJsonp=window.textWebpackJsonp||[]).push([[1],{199:function(e,t,r){"use strict";var n=r(10),a=r(67).map,o=r(60),s=r(32),i=o("map"),u=s("map");n({target:"Array",proto:!0,forced:!i||!u},{map:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},207:function(e,t,r){"use strict";var n=r(17),a="["+r(228)+"]",o=RegExp("^"+a+a+"*"),s=RegExp(a+a+"*$"),i=function(e){return function(t){var r=String(n(t));return 1&e&&(r=r.replace(o,"")),2&e&&(r=r.replace(s,"")),r}};e.exports={start:i(1),end:i(2),trim:i(3)}},208:function(e,t,r){"use strict";function n(e){return(n="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})(e)}r(106);var a,o=r(10),s=r(7),i=r(389),u=r(2),h=r(127),c=r(11),f=r(61),l=r(4),p=r(125),v=r(684),g=r(62).codeAt,m=r(686),d=r(35),y=r(687),w=r(18),b=u.URL,R=y.URLSearchParams,L=y.getState,U=w.set,k=w.getterFor("URL"),S=Math.floor,A=Math.pow,q=/[A-Za-z]/,x=/[\d+-.A-Za-z]/,I=/\d/,P=/^(0x|0X)/,B=/^[0-7]+$/,E=/^\d+$/,j=/^[\dA-Fa-f]+$/,C=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,F=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,O=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,T=/[\u0009\u000A\u000D]/g,$=function(e,t){var r,n,a;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return"Invalid host";if(!(r=J(t.slice(1,-1))))return"Invalid host";e.host=r}else if(G(e)){if(t=m(t),C.test(t))return"Invalid host";if(null===(r=D(t)))return"Invalid host";e.host=r}else{if(F.test(t))return"Invalid host";for(r="",n=v(t),a=0;a<n.length;a++)r+=H(n[a],N);e.host=r}},D=function(e){var t,r,n,a,o,s,i,u=e.split(".");if(u.length&&""==u[u.length-1]&&u.pop(),(t=u.length)>4)return e;for(r=[],n=0;n<t;n++){if(""==(a=u[n]))return e;if(o=10,a.length>1&&"0"==a.charAt(0)&&(o=P.test(a)?16:8,a=a.slice(8==o?1:2)),""===a)s=0;else{if(!(10==o?E:8==o?B:j).test(a))return e;s=parseInt(a,o)}r.push(s)}for(n=0;n<t;n++)if(s=r[n],n==t-1){if(s>=A(256,5-t))return null}else if(s>255)return null;for(i=r.pop(),n=0;n<r.length;n++)i+=r[n]*A(256,3-n);return i},J=function(e){var t,r,n,a,o,s,i,u=[0,0,0,0,0,0,0,0],h=0,c=null,f=0,l=function(){return e.charAt(f)};if(":"==l()){if(":"!=e.charAt(1))return;f+=2,c=++h}for(;l();){if(8==h)return;if(":"!=l()){for(t=r=0;r<4&&j.test(l());)t=16*t+parseInt(l(),16),f++,r++;if("."==l()){if(0==r)return;if(f-=r,h>6)return;for(n=0;l();){if(a=null,n>0){if(!("."==l()&&n<4))return;f++}if(!I.test(l()))return;for(;I.test(l());){if(o=parseInt(l(),10),null===a)a=o;else{if(0==a)return;a=10*a+o}if(a>255)return;f++}u[h]=256*u[h]+a,2!=++n&&4!=n||h++}if(4!=n)return;break}if(":"==l()){if(f++,!l())return}else if(l())return;u[h++]=t}else{if(null!==c)return;f++,c=++h}}if(null!==c)for(s=h-c,h=7;0!=h&&s>0;)i=u[h],u[h--]=u[c+s-1],u[c+--s]=i;else if(8!=h)return;return u},M=function(e){var t,r,a,o;if("number"==typeof e){for(t=[],r=0;r<4;r++)t.unshift(e%256),e=S(e/256);return t.join(".")}if("object"==n(e)){for(t="",a=function(e){for(var t=null,r=1,n=null,a=0,o=0;o<8;o++)0!==e[o]?(a>r&&(t=n,r=a),n=null,a=0):(null===n&&(n=o),++a);return a>r&&(t=n,r=a),t}(e),r=0;r<8;r++)o&&0===e[r]||(o&&(o=!1),a===r?(t+=r?":":"::",o=!0):(t+=e[r].toString(16),r<7&&(t+=":")));return"["+t+"]"}return e},N={},z=p({},N,{" ":1,'"':1,"<":1,">":1,"`":1}),W=p({},z,{"#":1,"?":1,"{":1,"}":1}),Z=p({},W,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),H=function(e,t){var r=g(e,0);return r>32&&r<127&&!l(t,e)?e:encodeURIComponent(e)},X={ftp:21,file:null,http:80,https:443,ws:80,wss:443},G=function(e){return l(X,e.scheme)},K=function(e){return""!=e.username||""!=e.password},Q=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},V=function(e,t){var r;return 2==e.length&&q.test(e.charAt(0))&&(":"==(r=e.charAt(1))||!t&&"|"==r)},Y=function(e){var t;return e.length>1&&V(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},_=function(e){var t=e.path,r=t.length;!r||"file"==e.scheme&&1==r&&V(t[0],!0)||t.pop()},ee=function(e){return"."===e||"%2e"===e.toLowerCase()},te={},re={},ne={},ae={},oe={},se={},ie={},ue={},he={},ce={},fe={},le={},pe={},ve={},ge={},me={},de={},ye={},we={},be={},Re={},Le=function(e,t,r,n){var o,s,i,u,h,c=r||te,f=0,p="",g=!1,m=!1,d=!1;for(r||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(O,"")),t=t.replace(T,""),o=v(t);f<=o.length;){switch(s=o[f],c){case te:if(!s||!q.test(s)){if(r)return"Invalid scheme";c=ne;continue}p+=s.toLowerCase(),c=re;break;case re:if(s&&(x.test(s)||"+"==s||"-"==s||"."==s))p+=s.toLowerCase();else{if(":"!=s){if(r)return"Invalid scheme";p="",c=ne,f=0;continue}if(r&&(G(e)!=l(X,p)||"file"==p&&(K(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=p,r)return void(G(e)&&X[e.scheme]==e.port&&(e.port=null));p="","file"==e.scheme?c=ve:G(e)&&n&&n.scheme==e.scheme?c=ae:G(e)?c=ue:"/"==o[f+1]?(c=oe,f++):(e.cannotBeABaseURL=!0,e.path.push(""),c=we)}break;case ne:if(!n||n.cannotBeABaseURL&&"#"!=s)return"Invalid scheme";if(n.cannotBeABaseURL&&"#"==s){e.scheme=n.scheme,e.path=n.path.slice(),e.query=n.query,e.fragment="",e.cannotBeABaseURL=!0,c=Re;break}c="file"==n.scheme?ve:se;continue;case ae:if("/"!=s||"/"!=o[f+1]){c=se;continue}c=he,f++;break;case oe:if("/"==s){c=ce;break}c=ye;continue;case se:if(e.scheme=n.scheme,s==a)e.username=n.username,e.password=n.password,e.host=n.host,e.port=n.port,e.path=n.path.slice(),e.query=n.query;else if("/"==s||"\\"==s&&G(e))c=ie;else if("?"==s)e.username=n.username,e.password=n.password,e.host=n.host,e.port=n.port,e.path=n.path.slice(),e.query="",c=be;else{if("#"!=s){e.username=n.username,e.password=n.password,e.host=n.host,e.port=n.port,e.path=n.path.slice(),e.path.pop(),c=ye;continue}e.username=n.username,e.password=n.password,e.host=n.host,e.port=n.port,e.path=n.path.slice(),e.query=n.query,e.fragment="",c=Re}break;case ie:if(!G(e)||"/"!=s&&"\\"!=s){if("/"!=s){e.username=n.username,e.password=n.password,e.host=n.host,e.port=n.port,c=ye;continue}c=ce}else c=he;break;case ue:if(c=he,"/"!=s||"/"!=p.charAt(f+1))continue;f++;break;case he:if("/"!=s&&"\\"!=s){c=ce;continue}break;case ce:if("@"==s){g&&(p="%40"+p),g=!0,i=v(p);for(var y=0;y<i.length;y++){var w=i[y];if(":"!=w||d){var b=H(w,Z);d?e.password+=b:e.username+=b}else d=!0}p=""}else if(s==a||"/"==s||"?"==s||"#"==s||"\\"==s&&G(e)){if(g&&""==p)return"Invalid authority";f-=v(p).length+1,p="",c=fe}else p+=s;break;case fe:case le:if(r&&"file"==e.scheme){c=me;continue}if(":"!=s||m){if(s==a||"/"==s||"?"==s||"#"==s||"\\"==s&&G(e)){if(G(e)&&""==p)return"Invalid host";if(r&&""==p&&(K(e)||null!==e.port))return;if(u=$(e,p))return u;if(p="",c=de,r)return;continue}"["==s?m=!0:"]"==s&&(m=!1),p+=s}else{if(""==p)return"Invalid host";if(u=$(e,p))return u;if(p="",c=pe,r==le)return}break;case pe:if(!I.test(s)){if(s==a||"/"==s||"?"==s||"#"==s||"\\"==s&&G(e)||r){if(""!=p){var R=parseInt(p,10);if(R>65535)return"Invalid port";e.port=G(e)&&R===X[e.scheme]?null:R,p=""}if(r)return;c=de;continue}return"Invalid port"}p+=s;break;case ve:if(e.scheme="file","/"==s||"\\"==s)c=ge;else{if(!n||"file"!=n.scheme){c=ye;continue}if(s==a)e.host=n.host,e.path=n.path.slice(),e.query=n.query;else if("?"==s)e.host=n.host,e.path=n.path.slice(),e.query="",c=be;else{if("#"!=s){Y(o.slice(f).join(""))||(e.host=n.host,e.path=n.path.slice(),_(e)),c=ye;continue}e.host=n.host,e.path=n.path.slice(),e.query=n.query,e.fragment="",c=Re}}break;case ge:if("/"==s||"\\"==s){c=me;break}n&&"file"==n.scheme&&!Y(o.slice(f).join(""))&&(V(n.path[0],!0)?e.path.push(n.path[0]):e.host=n.host),c=ye;continue;case me:if(s==a||"/"==s||"\\"==s||"?"==s||"#"==s){if(!r&&V(p))c=ye;else if(""==p){if(e.host="",r)return;c=de}else{if(u=$(e,p))return u;if("localhost"==e.host&&(e.host=""),r)return;p="",c=de}continue}p+=s;break;case de:if(G(e)){if(c=ye,"/"!=s&&"\\"!=s)continue}else if(r||"?"!=s)if(r||"#"!=s){if(s!=a&&(c=ye,"/"!=s))continue}else e.fragment="",c=Re;else e.query="",c=be;break;case ye:if(s==a||"/"==s||"\\"==s&&G(e)||!r&&("?"==s||"#"==s)){if(".."===(h=(h=p).toLowerCase())||"%2e."===h||".%2e"===h||"%2e%2e"===h?(_(e),"/"==s||"\\"==s&&G(e)||e.path.push("")):ee(p)?"/"==s||"\\"==s&&G(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&V(p)&&(e.host&&(e.host=""),p=p.charAt(0)+":"),e.path.push(p)),p="","file"==e.scheme&&(s==a||"?"==s||"#"==s))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==s?(e.query="",c=be):"#"==s&&(e.fragment="",c=Re)}else p+=H(s,W);break;case we:"?"==s?(e.query="",c=be):"#"==s?(e.fragment="",c=Re):s!=a&&(e.path[0]+=H(s,N));break;case be:r||"#"!=s?s!=a&&("'"==s&&G(e)?e.query+="%27":e.query+="#"==s?"%23":H(s,N)):(e.fragment="",c=Re);break;case Re:s!=a&&(e.fragment+=H(s,z))}f++}},Ue=function(e){var t,r,n=f(this,Ue,"URL"),a=arguments.length>1?arguments[1]:void 0,o=String(e),i=U(n,{type:"URL"});if(void 0!==a)if(a instanceof Ue)t=k(a);else if(r=Le(t={},String(a)))throw TypeError(r);if(r=Le(i,o,null,t))throw TypeError(r);var u=i.searchParams=new R,h=L(u);h.updateSearchParams(i.query),h.updateURL=function(){i.query=String(u)||null},s||(n.href=Se.call(n),n.origin=Ae.call(n),n.protocol=qe.call(n),n.username=xe.call(n),n.password=Ie.call(n),n.host=Pe.call(n),n.hostname=Be.call(n),n.port=Ee.call(n),n.pathname=je.call(n),n.search=Ce.call(n),n.searchParams=Fe.call(n),n.hash=Oe.call(n))},ke=Ue.prototype,Se=function(){var e=k(this),t=e.scheme,r=e.username,n=e.password,a=e.host,o=e.port,s=e.path,i=e.query,u=e.fragment,h=t+":";return null!==a?(h+="//",K(e)&&(h+=r+(n?":"+n:"")+"@"),h+=M(a),null!==o&&(h+=":"+o)):"file"==t&&(h+="//"),h+=e.cannotBeABaseURL?s[0]:s.length?"/"+s.join("/"):"",null!==i&&(h+="?"+i),null!==u&&(h+="#"+u),h},Ae=function(){var e=k(this),t=e.scheme,r=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&G(e)?t+"://"+M(e.host)+(null!==r?":"+r:""):"null"},qe=function(){return k(this).scheme+":"},xe=function(){return k(this).username},Ie=function(){return k(this).password},Pe=function(){var e=k(this),t=e.host,r=e.port;return null===t?"":null===r?M(t):M(t)+":"+r},Be=function(){var e=k(this).host;return null===e?"":M(e)},Ee=function(){var e=k(this).port;return null===e?"":String(e)},je=function(){var e=k(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Ce=function(){var e=k(this).query;return e?"?"+e:""},Fe=function(){return k(this).searchParams},Oe=function(){var e=k(this).fragment;return e?"#"+e:""},Te=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(s&&h(ke,{href:Te(Se,(function(e){var t=k(this),r=String(e),n=Le(t,r);if(n)throw TypeError(n);L(t.searchParams).updateSearchParams(t.query)})),origin:Te(Ae),protocol:Te(qe,(function(e){var t=k(this);Le(t,String(e)+":",te)})),username:Te(xe,(function(e){var t=k(this),r=v(String(e));if(!Q(t)){t.username="";for(var n=0;n<r.length;n++)t.username+=H(r[n],Z)}})),password:Te(Ie,(function(e){var t=k(this),r=v(String(e));if(!Q(t)){t.password="";for(var n=0;n<r.length;n++)t.password+=H(r[n],Z)}})),host:Te(Pe,(function(e){var t=k(this);t.cannotBeABaseURL||Le(t,String(e),fe)})),hostname:Te(Be,(function(e){var t=k(this);t.cannotBeABaseURL||Le(t,String(e),le)})),port:Te(Ee,(function(e){var t=k(this);Q(t)||(""==(e=String(e))?t.port=null:Le(t,e,pe))})),pathname:Te(je,(function(e){var t=k(this);t.cannotBeABaseURL||(t.path=[],Le(t,e+"",de))})),search:Te(Ce,(function(e){var t=k(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Le(t,e,be)),L(t.searchParams).updateSearchParams(t.query)})),searchParams:Te(Fe),hash:Te(Oe,(function(e){var t=k(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Le(t,e,Re)):t.fragment=null}))}),c(ke,"toJSON",(function(){return Se.call(this)}),{enumerable:!0}),c(ke,"toString",(function(){return Se.call(this)}),{enumerable:!0}),b){var $e=b.createObjectURL,De=b.revokeObjectURL;$e&&c(Ue,"createObjectURL",(function(e){return $e.apply(b,arguments)})),De&&c(Ue,"revokeObjectURL",(function(e){return De.apply(b,arguments)}))}d(Ue,"URL"),o({global:!0,forced:!i,sham:!s},{URL:Ue})},228:function(e,t,r){"use strict";e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},389:function(e,t,r){"use strict";var n=r(0),a=r(1),o=r(33),s=a("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),o&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}))},684:function(e,t,r){"use strict";var n=r(31),a=r(13),o=r(685),s=r(130),i=r(12),u=r(113),h=r(114);e.exports=function(e){var t,r,c,f,l,p,v=a(e),g="function"==typeof this?this:Array,m=arguments.length,d=m>1?arguments[1]:void 0,y=void 0!==d,w=h(v),b=0;if(y&&(d=n(d,m>2?arguments[2]:void 0,2)),null==w||g==Array&&s(w))for(r=new g(t=i(v.length));t>b;b++)p=y?d(v[b],b):v[b],u(r,b,p);else for(l=(f=w.call(v)).next,r=new g;!(c=l.call(f)).done;b++)p=y?o(f,d,[c.value,b],!0):c.value,u(r,b,p);return r.length=b,r}},685:function(e,t,r){"use strict";var n=r(5),a=r(131);e.exports=function(e,t,r,o){try{return o?t(n(r)[0],r[1]):t(r)}catch(t){throw a(e),t}}},686:function(e,t,r){"use strict";var n=/[^\0-\u007E]/,a=/[.\u3002\uFF0E\uFF61]/g,o="Overflow: input needs wider integers to process",s=Math.floor,i=String.fromCharCode,u=function(e){return e+22+75*(e<26)},h=function(e,t,r){var n=0;for(e=r?s(e/700):e>>1,e+=s(e/t);e>455;n+=36)e=s(e/35);return s(n+36*e/(e+38))},c=function(e){var t,r,n=[],a=(e=function(e){for(var t=[],r=0,n=e.length;r<n;){var a=e.charCodeAt(r++);if(a>=55296&&a<=56319&&r<n){var o=e.charCodeAt(r++);56320==(64512&o)?t.push(((1023&a)<<10)+(1023&o)+65536):(t.push(a),r--)}else t.push(a)}return t}(e)).length,c=128,f=0,l=72;for(t=0;t<e.length;t++)(r=e[t])<128&&n.push(i(r));var p=n.length,v=p;for(p&&n.push("-");v<a;){var g=2147483647;for(t=0;t<e.length;t++)(r=e[t])>=c&&r<g&&(g=r);var m=v+1;if(g-c>s((2147483647-f)/m))throw RangeError(o);for(f+=(g-c)*m,c=g,t=0;t<e.length;t++){if((r=e[t])<c&&++f>2147483647)throw RangeError(o);if(r==c){for(var d=f,y=36;;y+=36){var w=y<=l?1:y>=l+26?26:y-l;if(d<w)break;var b=d-w,R=36-w;n.push(i(u(w+b%R))),d=s(b/R)}n.push(i(u(d))),l=h(f,m,v==p),f=0,++v}}++f,++c}return n.join("")};e.exports=function(e){var t,r,o=[],s=e.toLowerCase().replace(a,".").split(".");for(t=0;t<s.length;t++)r=s[t],o.push(n.test(r)?"xn--"+c(r):r);return o.join(".")}},687:function(e,t,r){"use strict";r(55);var n=r(10),a=r(20),o=r(389),s=r(11),i=r(118),u=r(35),h=r(129),c=r(18),f=r(61),l=r(4),p=r(31),v=r(72),g=r(5),m=r(6),d=r(34),y=r(21),w=r(688),b=r(114),R=r(1),L=a("fetch"),U=a("Headers"),k=R("iterator"),S=c.set,A=c.getterFor("URLSearchParams"),q=c.getterFor("URLSearchParamsIterator"),x=/\+/g,I=Array(4),P=function(e){return I[e-1]||(I[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},B=function(e){try{return decodeURIComponent(e)}catch(t){return e}},E=function(e){var t=e.replace(x," "),r=4;try{return decodeURIComponent(t)}catch(e){for(;r;)t=t.replace(P(r--),B);return t}},j=/[!'()~]|%20/g,C={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},F=function(e){return C[e]},O=function(e){return encodeURIComponent(e).replace(j,F)},T=function(e,t){if(t)for(var r,n,a=t.split("&"),o=0;o<a.length;)(r=a[o++]).length&&(n=r.split("="),e.push({key:E(n.shift()),value:E(n.join("="))}))},$=function(e){this.entries.length=0,T(this.entries,e)},D=function(e,t){if(e<t)throw TypeError("Not enough arguments")},J=h((function(e,t){S(this,{type:"URLSearchParamsIterator",iterator:w(A(e).entries),kind:t})}),"Iterator",(function(){var e=q(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r})),M=function(){f(this,M,"URLSearchParams");var e,t,r,n,a,o,s,i,u,h=arguments.length>0?arguments[0]:void 0,c=this,p=[];if(S(c,{type:"URLSearchParams",entries:p,updateURL:function(){},updateSearchParams:$}),void 0!==h)if(m(h))if("function"==typeof(e=b(h)))for(r=(t=e.call(h)).next;!(n=r.call(t)).done;){if((s=(o=(a=w(g(n.value))).next).call(a)).done||(i=o.call(a)).done||!o.call(a).done)throw TypeError("Expected sequence with length 2");p.push({key:s.value+"",value:i.value+""})}else for(u in h)l(h,u)&&p.push({key:u,value:h[u]+""});else T(p,"string"==typeof h?"?"===h.charAt(0)?h.slice(1):h:h+"")},N=M.prototype;i(N,{append:function(e,t){D(arguments.length,2);var r=A(this);r.entries.push({key:e+"",value:t+""}),r.updateURL()},delete:function(e){D(arguments.length,1);for(var t=A(this),r=t.entries,n=e+"",a=0;a<r.length;)r[a].key===n?r.splice(a,1):a++;t.updateURL()},get:function(e){D(arguments.length,1);for(var t=A(this).entries,r=e+"",n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){D(arguments.length,1);for(var t=A(this).entries,r=e+"",n=[],a=0;a<t.length;a++)t[a].key===r&&n.push(t[a].value);return n},has:function(e){D(arguments.length,1);for(var t=A(this).entries,r=e+"",n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){D(arguments.length,1);for(var r,n=A(this),a=n.entries,o=!1,s=e+"",i=t+"",u=0;u<a.length;u++)(r=a[u]).key===s&&(o?a.splice(u--,1):(o=!0,r.value=i));o||a.push({key:s,value:i}),n.updateURL()},sort:function(){var e,t,r,n=A(this),a=n.entries,o=a.slice();for(a.length=0,r=0;r<o.length;r++){for(e=o[r],t=0;t<r;t++)if(a[t].key>e.key){a.splice(t,0,e);break}t===r&&a.push(e)}n.updateURL()},forEach:function(e){for(var t,r=A(this).entries,n=p(e,arguments.length>1?arguments[1]:void 0,3),a=0;a<r.length;)n((t=r[a++]).value,t.key,this)},keys:function(){return new J(this,"keys")},values:function(){return new J(this,"values")},entries:function(){return new J(this,"entries")}},{enumerable:!0}),s(N,k,N.entries),s(N,"toString",(function(){for(var e,t=A(this).entries,r=[],n=0;n<t.length;)e=t[n++],r.push(O(e.key)+"="+O(e.value));return r.join("&")}),{enumerable:!0}),u(M,"URLSearchParams"),n({global:!0,forced:!o},{URLSearchParams:M}),o||"function"!=typeof L||"function"!=typeof U||n({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,r,n,a=[e];return arguments.length>1&&(m(t=arguments[1])&&(r=t.body,"URLSearchParams"===v(r)&&((n=t.headers?new U(t.headers):new U).has("content-type")||n.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=d(t,{body:y(0,String(r)),headers:y(0,n)}))),a.push(t)),L.apply(this,a)}}),e.exports={URLSearchParams:M,getState:A}},688:function(e,t,r){"use strict";var n=r(5),a=r(114);e.exports=function(e){var t=a(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return n(t.call(e))}}}]);
//# sourceMappingURL=vendors~editor-collab~editor-guest~editor-rich~files-modal.js.map?v=5515661da1311ca99d56