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.
NewEduCoderBuild/31401.async.js

1 line
27 KiB

(self.webpackChunk=self.webpackChunk||[]).push([[31401],{97937:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(87462),i=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"}}]},name:"close",theme:"outlined"},s=n(43387),f=function(t,e){return i.createElement(s.Z,(0,r.Z)({},t,{ref:e,icon:a}))};var o=i.forwardRef(f)},11475:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(87462),i=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},s=n(43387),f=function(t,e){return i.createElement(s.Z,(0,r.Z)({},t,{ref:e,icon:a}))};var o=i.forwardRef(f)},64082:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(87462),i=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},s=n(43387),f=function(t,e){return i.createElement(s.Z,(0,r.Z)({},t,{ref:e,icon:a}))};var o=i.forwardRef(f)},81088:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(87462),i=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"}}]},name:"poweroff",theme:"outlined"},s=n(43387),f=function(t,e){return i.createElement(s.Z,(0,r.Z)({},t,{ref:e,icon:a}))};var o=i.forwardRef(f)},20640:function(t,e,n){"use strict";var r=n(11742),i={"text/plain":"Text","text/html":"Url",default:"Text"};t.exports=function(t,e){var n,a,s,f,o,h,l=!1;e||(e={}),n=e.debug||!1;try{if(s=r(),f=document.createRange(),o=document.getSelection(),(h=document.createElement("span")).textContent=t,h.ariaHidden="true",h.style.all="unset",h.style.position="fixed",h.style.top=0,h.style.clip="rect(0, 0, 0, 0)",h.style.whiteSpace="pre",h.style.webkitUserSelect="text",h.style.MozUserSelect="text",h.style.msUserSelect="text",h.style.userSelect="text",h.addEventListener("copy",(function(r){if(r.stopPropagation(),e.format)if(r.preventDefault(),void 0===r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var a=i[e.format]||i.default;window.clipboardData.setData(a,t)}else r.clipboardData.clearData(),r.clipboardData.setData(e.format,t);e.onCopy&&(r.preventDefault(),e.onCopy(r.clipboardData))})),document.body.appendChild(h),f.selectNodeContents(h),o.addRange(f),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");l=!0}catch(r){n&&console.error("unable to copy using execCommand: ",r),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(e.format||"text",t),e.onCopy&&e.onCopy(window.clipboardData),l=!0}catch(r){n&&console.error("unable to copy using clipboardData: ",r),n&&console.error("falling back to prompt"),a=function(t){var e=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return t.replace(/#{\s*key\s*}/g,e)}("message"in e?e.message:"Copy to clipboard: #{key}, Enter"),window.prompt(a,t)}}finally{o&&("function"==typeof o.removeRange?o.removeRange(f):o.removeAllRanges()),h&&document.body.removeChild(h),s()}return l}},52027:function(t){var e=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32},n=-1;e.Diff=function(t,e){return[t,e]},e.prototype.diff_main=function(t,n,r,i){void 0===i&&(i=this.Diff_Timeout<=0?Number.MAX_VALUE:(new Date).getTime()+1e3*this.Diff_Timeout);var a=i;if(null==t||null==n)throw new Error("Null input. (diff_main)");if(t==n)return t?[new e.Diff(0,t)]:[];void 0===r&&(r=!0);var s=r,f=this.diff_commonPrefix(t,n),o=t.substring(0,f);t=t.substring(f),n=n.substring(f),f=this.diff_commonSuffix(t,n);var h=t.substring(t.length-f);t=t.substring(0,t.length-f),n=n.substring(0,n.length-f);var l=this.diff_compute_(t,n,s,a);return o&&l.unshift(new e.Diff(0,o)),h&&l.push(new e.Diff(0,h)),this.diff_cleanupMerge(l),l},e.prototype.diff_compute_=function(t,r,i,a){var s;if(!t)return[new e.Diff(1,r)];if(!r)return[new e.Diff(n,t)];var f=t.length>r.length?t:r,o=t.length>r.length?r:t,h=f.indexOf(o);if(-1!=h)return s=[new e.Diff(1,f.substring(0,h)),new e.Diff(0,o),new e.Diff(1,f.substring(h+o.length))],t.length>r.length&&(s[0][0]=s[2][0]=n),s;if(1==o.length)return[new e.Diff(n,t),new e.Diff(1,r)];var l=this.diff_halfMatch_(t,r);if(l){var c=l[0],g=l[1],u=l[2],p=l[3],d=l[4],b=this.diff_main(c,u,i,a),_=this.diff_main(g,p,i,a);return b.concat([new e.Diff(0,d)],_)}return i&&t.length>100&&r.length>100?this.diff_lineMode_(t,r,a):this.diff_bisect_(t,r,a)},e.prototype.diff_lineMode_=function(t,r,i){var a=this.diff_linesToChars_(t,r);t=a.chars1,r=a.chars2;var s=a.lineArray,f=this.diff_main(t,r,!1,i);this.diff_charsToLines_(f,s),this.diff_cleanupSemantic(f),f.push(new e.Diff(0,""));for(var o=0,h=0,l=0,c="",g="";o<f.length;){switch(f[o][0]){case 1:l++,g+=f[o][1];break;case n:h++,c+=f[o][1];break;case 0:if(h>=1&&l>=1){f.splice(o-h-l,h+l),o=o-h-l;for(var u=this.diff_main(c,g,!1,i),p=u.length-1;p>=0;p--)f.splice(o,0,u[p]);o+=u.length}l=0,h=0,c="",g=""}o++}return f.pop(),f},e.prototype.diff_bisect_=function(t,r,i){for(var a=t.length,s=r.length,f=Math.ceil((a+s)/2),o=f,h=2*f,l=new Array(h),c=new Array(h),g=0;g<h;g++)l[g]=-1,c[g]=-1;l[o+1]=0,c[o+1]=0;for(var u=a-s,p=u%2!=0,d=0,b=0,_=0,v=0,m=0;m<f&&!((new Date).getTime()>i);m++){for(var y=-m+d;y<=m-b;y+=2){for(var w=o+y,x=(O=y==-m||y!=m&&l[w-1]<l[w+1]?l[w+1]:l[w-1]+1)-y;O<a&&x<s&&t.charAt(O)==r.charAt(x);)O++,x++;if(l[w]=O,O>a)b+=2;else if(x>s)d+=2;else if(p){if((C=o+u-y)>=0&&C<h&&-1!=c[C])if(O>=(M=a-c[C]))return this.diff_bisectSplit_(t,r,O,x,i)}}for(var D=-m+_;D<=m-v;D+=2){for(var M,C=o+D,k=(M=D==-m||D!=m&&c[C-1]<c[C+1]?c[C+1]:c[C-1]+1)-D;M<a&&k<s&&t.charAt(a-M-1)==r.charAt(s-k-1);)M++,k++;if(c[C]=M,M>a)v+=2;else if(k>s)_+=2;else if(!p){if((w=o+u-D)>=0&&w<h&&-1!=l[w]){var O;x=o+(O=l[w])-w;if(O>=(M=a-M))return this.diff_bisectSplit_(t,r,O,x,i)}}}}return[new e.Diff(n,t),new e.Diff(1,r)]},e.prototype.diff_bisectSplit_=function(t,e,n,r,i){var a=t.substring(0,n),s=e.substring(0,r),f=t.substring(n),o=e.substring(r),h=this.diff_main(a,s,!1,i),l=this.diff_main(f,o,!1,i);return h.concat(l)},e.prototype.diff_linesToChars_=function(t,e){var n=[],r={};function i(t){for(var e="",i=0,s=-1,f=n.length;s<t.length-1;){-1==(s=t.indexOf("\n",i))&&(s=t.length-1);var o=t.substring(i,s+1);(r.hasOwnProperty?r.hasOwnProperty(o):void 0!==r[o])?e+=String.fromCharCode(r[o]):(f==a&&(o=t.substring(i),s=t.length),e+=String.fromCharCode(f),r[o]=f,n[f++]=o),i=s+1}return e}n[0]="";var a=4e4,s=i(t);return a=65535,{chars1:s,chars2:i(e),lineArray:n}},e.prototype.diff_charsToLines_=function(t,e){for(var n=0;n<t.length;n++){for(var r=t[n][1],i=[],a=0;a<r.length;a++)i[a]=e[r.charCodeAt(a)];t[n][1]=i.join("")}},e.prototype.diff_commonPrefix=function(t,e){if(!t||!e||t.charAt(0)!=e.charAt(0))return 0;for(var n=0,r=Math.min(t.length,e.length),i=r,a=0;n<i;)t.substring(a,i)==e.substring(a,i)?a=n=i:r=i,i=Math.floor((r-n)/2+n);return i},e.prototype.diff_commonSuffix=function(t,e){if(!t||!e||t.charAt(t.length-1)!=e.charAt(e.length-1))return 0;for(var n=0,r=Math.min(t.length,e.length),i=r,a=0;n<i;)t.substring(t.length-i,t.length-a)==e.substring(e.length-i,e.length-a)?a=n=i:r=i,i=Math.floor((r-n)/2+n);return i},e.prototype.diff_commonOverlap_=function(t,e){var n=t.length,r=e.length;if(0==n||0==r)return 0;n>r?t=t.substring(n-r):n<r&&(e=e.substring(0,n));var i=Math.min(n,r);if(t==e)return i;for(var a=0,s=1;;){var f=t.substring(i-s),o=e.indexOf(f);if(-1==o)return a;s+=o,0!=o&&t.substring(i-s)!=e.substring(0,s)||(a=s,s++)}},e.prototype.diff_halfMatch_=function(t,e){if(this.Diff_Timeout<=0)return null;var n=t.length>e.length?t:e,r=t.length>e.length?e:t;if(n.length<4||2*r.length<n.length)return null;var i=this;function a(t,e,n){for(var r,a,s,f,o=t.substring(n,n+Math.floor(t.length/4)),h=-1,l="";-1!=(h=e.indexOf(o,h+1));){var c=i.diff_commonPrefix(t.substring(n),e.substring(h)),g=i.diff_commonSuffix(t.substring(0,n),e.substring(0,h));l.length<g+c&&(l=e.substring(h-g,h)+e.substring(h,h+c),r=t.substring(0,n-g),a=t.substring(n+c),s=e.substring(0,h-g),f=e.substring(h+c))}return 2*l.length>=t.length?[r,a,s,f,l]:null}var s,f,o,h,l,c=a(n,r,Math.ceil(n.length/4)),g=a(n,r,Math.ceil(n.length/2));return c||g?(s=g?c&&c[4].length>g[4].length?c:g:c,t.length>e.length?(f=s[0],o=s[1],h=s[2],l=s[3]):(h=s[0],l=s[1],f=s[2],o=s[3]),[f,o,h,l,s[4]]):null},e.prototype.diff_cleanupSemantic=function(t){for(var r=!1,i=[],a=0,s=null,f=0,o=0,h=0,l=0,c=0;f<t.length;)0==t[f][0]?(i[a++]=f,o=l,h=c,l=0,c=0,s=t[f][1]):(1==t[f][0]?l+=t[f][1].length:c+=t[f][1].length,s&&s.length<=Math.max(o,h)&&s.length<=Math.max(l,c)&&(t.splice(i[a-1],0,new e.Diff(n,s)),t[i[a-1]+1][0]=1,a--,f=--a>0?i[a-1]:-1,o=0,h=0,l=0,c=0,s=null,r=!0)),f++;for(r&&this.diff_cleanupMerge(t),this.diff_cleanupSemanticLossless(t),f=1;f<t.length;){if(t[f-1][0]==n&&1==t[f][0]){var g=t[f-1][1],u=t[f][1],p=this.diff_commonOverlap_(g,u),d=this.diff_commonOverlap_(u,g);p>=d?(p>=g.length/2||p>=u.length/2)&&(t.splice(f,0,new e.Diff(0,u.substring(0,p))),t[f-1][1]=g.substring(0,g.length-p),t[f+1][1]=u.substring(p),f++):(d>=g.length/2||d>=u.length/2)&&(t.splice(f,0,new e.Diff(0,g.substring(0,d))),t[f-1][0]=1,t[f-1][1]=u.substring(0,u.length-d),t[f+1][0]=n,t[f+1][1]=g.substring(d),f++),f++}f++}},e.prototype.diff_cleanupSemanticLossless=function(t){function n(t,n){if(!t||!n)return 6;var r=t.charAt(t.length-1),i=n.charAt(0),a=r.match(e.nonAlphaNumericRegex_),s=i.match(e.nonAlphaNumericRegex_),f=a&&r.match(e.whitespaceRegex_),o=s&&i.match(e.whitespaceRegex_),h=f&&r.match(e.linebreakRegex_),l=o&&i.match(e.linebreakRegex_),c=h&&t.match(e.blanklineEndRegex_),g=l&&n.match(e.blanklineStartRegex_);return c||g?5:h||l?4:a&&!f&&o?3:f||o?2:a||s?1:0}for(var r=1;r<t.length-1;){if(0==t[r-1][0]&&0==t[r+1][0]){var i=t[r-1][1],a=t[r][1],s=t[r+1][1],f=this.diff_commonSuffix(i,a);if(f){var o=a.substring(a.length-f);i=i.substring(0,i.length-f),a=o+a.substring(0,a.length-f),s=o+s}for(var h=i,l=a,c=s,g=n(i,a)+n(a,s);a.charAt(0)===s.charAt(0);){i+=a.charAt(0),a=a.substring(1)+s.charAt(0),s=s.substring(1);var u=n(i,a)+n(a,s);u>=g&&(g=u,h=i,l=a,c=s)}t[r-1][1]!=h&&(h?t[r-1][1]=h:(t.splice(r-1,1),r--),t[r][1]=l,c?t[r+1][1]=c:(t.splice(r+1,1),r--))}r++}},e.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,e.whitespaceRegex_=/\s/,e.linebreakRegex_=/[\r\n]/,e.blanklineEndRegex_=/\n\r?\n$/,e.blanklineStartRegex_=/^\r?\n\r?\n/,e.prototype.diff_cleanupEfficiency=function(t){for(var r=!1,i=[],a=0,s=null,f=0,o=!1,h=!1,l=!1,c=!1;f<t.length;)0==t[f][0]?(t[f][1].length<this.Diff_EditCost&&(l||c)?(i[a++]=f,o=l,h=c,s=t[f][1]):(a=0,s=null),l=c=!1):(t[f][0]==n?c=!0:l=!0,s&&(o&&h&&l&&c||s.length<this.Diff_EditCost/2&&o+h+l+c==3)&&(t.splice(i[a-1],0,new e.Diff(n,s)),t[i[a-1]+1][0]=1,a--,s=null,o&&h?(l=c=!0,a=0):(f=--a>0?i[a-1]:-1,l=c=!1),r=!0)),f++;r&&this.diff_cleanupMerge(t)},e.prototype.diff_cleanupMerge=function(t){t.push(new e.Diff(0,""));for(var r,i=0,a=0,s=0,f="",o="";i<t.length;)switch(t[i][0]){case 1:s++,o+=t[i][1],i++;break;case n:a++,f+=t[i][1],i++;break;case 0:a+s>1?(0!==a&&0!==s&&(0!==(r=this.diff_commonPrefix(o,f))&&(i-a-s>0&&0==t[i-a-s-1][0]?t[i-a-s-1][1]+=o.substring(0,r):(t.splice(0,0,new e.Diff(0,o.substring(0,r))),i++),o=o.substring(r),f=f.substring(r)),0!==(r=this.diff_commonSuffix(o,f))&&(t[i][1]=o.substring(o.length-r)+t[i][1],o=o.substring(0,o.length-r),f=f.substring(0,f.length-r))),i-=a+s,t.splice(i,a+s),f.length&&(t.splice(i,0,new e.Diff(n,f)),i++),o.length&&(t.splice(i,0,new e.Diff(1,o)),i++),i++):0!==i&&0==t[i-1][0]?(t[i-1][1]+=t[i][1],t.splice(i,1)):i++,s=0,a=0,f="",o=""}""===t[t.length-1][1]&&t.pop();var h=!1;for(i=1;i<t.length-1;)0==t[i-1][0]&&0==t[i+1][0]&&(t[i][1].substring(t[i][1].length-t[i-1][1].length)==t[i-1][1]?(t[i][1]=t[i-1][1]+t[i][1].substring(0,t[i][1].length-t[i-1][1].length),t[i+1][1]=t[i-1][1]+t[i+1][1],t.splice(i-1,1),h=!0):t[i][1].substring(0,t[i+1][1].length)==t[i+1][1]&&(t[i-1][1]+=t[i+1][1],t[i][1]=t[i][1].substring(t[i+1][1].length)+t[i+1][1],t.splice(i+1,1),h=!0)),i++;h&&this.diff_cleanupMerge(t)},e.prototype.diff_xIndex=function(t,e){var r,i=0,a=0,s=0,f=0;for(r=0;r<t.length&&(1!==t[r][0]&&(i+=t[r][1].length),t[r][0]!==n&&(a+=t[r][1].length),!(i>e));r++)s=i,f=a;return t.length!=r&&t[r][0]===n?f:f+(e-s)},e.prototype.diff_prettyHtml=function(t){for(var e=[],r=/&/g,i=/</g,a=/>/g,s=/\n/g,f=0;f<t.length;f++){var o=t[f][0],h=t[f][1].replace(r,"&amp;").replace(i,"&lt;").replace(a,"&gt;").replace(s,"&para;<br>");switch(o){case 1:e[f]='<ins style="background:#e6ffe6;">'+h+"</ins>";break;case n:e[f]='<del style="background:#ffe6e6;">'+h+"</del>";break;case 0:e[f]="<span>"+h+"</span>"}}return e.join("")},e.prototype.diff_text1=function(t){for(var e=[],n=0;n<t.length;n++)1!==t[n][0]&&(e[n]=t[n][1]);return e.join("")},e.prototype.diff_text2=function(t){for(var e=[],r=0;r<t.length;r++)t[r][0]!==n&&(e[r]=t[r][1]);return e.join("")},e.prototype.diff_levenshtein=function(t){for(var e=0,r=0,i=0,a=0;a<t.length;a++){var s=t[a][0],f=t[a][1];switch(s){case 1:r+=f.length;break;case n:i+=f.length;break;case 0:e+=Math.max(r,i),r=0,i=0}}return e+=Math.max(r,i)},e.prototype.diff_toDelta=function(t){for(var e=[],r=0;r<t.length;r++)switch(t[r][0]){case 1:e[r]="+"+encodeURI(t[r][1]);break;case n:e[r]="-"+t[r][1].length;break;case 0:e[r]="="+t[r][1].length}return e.join("\t").replace(/%20/g," ")},e.prototype.diff_fromDelta=function(t,r){for(var i=[],a=0,s=0,f=r.split(/\t/g),o=0;o<f.length;o++){var h=f[o].substring(1);switch(f[o].charAt(0)){case"+":try{i[a++]=new e.Diff(1,decodeURI(h))}catch(t){throw new Error("Illegal escape in diff_fromDelta: "+h)}break;case"-":case"=":var l=parseInt(h,10);if(isNaN(l)||l<0)throw new Error("Invalid number in diff_fromDelta: "+h);var c=t.substring(s,s+=l);"="==f[o].charAt(0)?i[a++]=new e.Diff(0,c):i[a++]=new e.Diff(n,c);break;default:if(f[o])throw new Error("Invalid diff operation in diff_fromDelta: "+f[o])}}if(s!=t.length)throw new Error("Delta length ("+s+") does not equal source text length ("+t.length+").");return i},e.prototype.match_main=function(t,e,n){if(null==t||null==e||null==n)throw new Error("Null input. (match_main)");return n=Math.max(0,Math.min(n,t.length)),t==e?0:t.length?t.substring(n,n+e.length)==e?n:this.match_bitap_(t,e,n):-1},e.prototype.match_bitap_=function(t,e,n){if(e.length>this.Match_MaxBits)throw new Error("Pattern too long for this browser.");var r=this.match_alphabet_(e),i=this;function a(t,r){var a=t/e.length,s=Math.abs(n-r);return i.Match_Distance?a+s/i.Match_Distance:s?1:a}var s=this.Match_Threshold,f=t.indexOf(e,n);-1!=f&&(s=Math.min(a(0,f),s),-1!=(f=t.lastIndexOf(e,n+e.length))&&(s=Math.min(a(0,f),s)));var o,h,l=1<<e.length-1;f=-1;for(var c,g=e.length+t.length,u=0;u<e.length;u++){for(o=0,h=g;o<h;)a(u,n+h)<=s?o=h:g=h,h=Math.floor((g-o)/2+o);g=h;var p=Math.max(1,n-h+1),d=Math.min(n+h,t.length)+e.length,b=Array(d+2);b[d+1]=(1<<u)-1;for(var _=d;_>=p;_--){var v=r[t.charAt(_-1)];if(b[_]=0===u?(b[_+1]<<1|1)&v:(b[_+1]<<1|1)&v|(c[_+1]|c[_])<<1|1|c[_+1],b[_]&l){var m=a(u,_-1);if(m<=s){if(s=m,!((f=_-1)>n))break;p=Math.max(1,2*n-f)}}}if(a(u+1,n)>s)break;c=b}return f},e.prototype.match_alphabet_=function(t){for(var e={},n=0;n<t.length;n++)e[t.charAt(n)]=0;for(n=0;n<t.length;n++)e[t.charAt(n)]|=1<<t.length-n-1;return e},e.prototype.patch_addContext_=function(t,n){if(0!=n.length){if(null===t.start2)throw Error("patch not initialized");for(var r=n.substring(t.start2,t.start2+t.length1),i=0;n.indexOf(r)!=n.lastIndexOf(r)&&r.length<this.Match_MaxBits-this.Patch_Margin-this.Patch_Margin;)i+=this.Patch_Margin,r=n.substring(t.start2-i,t.start2+t.length1+i);i+=this.Patch_Margin;var a=n.substring(t.start2-i,t.start2);a&&t.diffs.unshift(new e.Diff(0,a));var s=n.substring(t.start2+t.length1,t.start2+t.length1+i);s&&t.diffs.push(new e.Diff(0,s)),t.start1-=a.length,t.start2-=a.length,t.length1+=a.length+s.length,t.length2+=a.length+s.length}},e.prototype.patch_make=function(t,r,i){var a,s;if("string"==typeof t&&"string"==typeof r&&void 0===i)a=t,(s=this.diff_main(a,r,!0)).length>2&&(this.diff_cleanupSemantic(s),this.diff_cleanupEfficiency(s));else if(t&&"object"==typeof t&&void 0===r&&void 0===i)s=t,a=this.diff_text1(s);else if("string"==typeof t&&r&&"object"==typeof r&&void 0===i)a=t,s=r;else{if("string"!=typeof t||"string"!=typeof r||!i||"object"!=typeof i)throw new Error("Unknown call format to patch_make.");a=t,s=i}if(0===s.length)return[];for(var f=[],o=new e.patch_obj,h=0,l=0,c=0,g=a,u=a,p=0;p<s.length;p++){var d=s[p][0],b=s[p][1];switch(h||0===d||(o.start1=l,o.start2=c),d){case 1:o.diffs[h++]=s[p],o.length2+=b.length,u=u.substring(0,c)+b+u.substring(c);break;case n:o.length1+=b.length,o.diffs[h++]=s[p],u=u.substring(0,c)+u.substring(c+b.length);break;case 0:b.length<=2*this.Patch_Margin&&h&&s.length!=p+1?(o.diffs[h++]=s[p],o.length1+=b.length,o.length2+=b.length):b.length>=2*this.Patch_Margin&&h&&(this.patch_addContext_(o,g),f.push(o),o=new e.patch_obj,h=0,g=u,l=c)}1!==d&&(l+=b.length),d!==n&&(c+=b.length)}return h&&(this.patch_addContext_(o,g),f.push(o)),f},e.prototype.patch_deepCopy=function(t){for(var n=[],r=0;r<t.length;r++){var i=t[r],a=new e.patch_obj;a.diffs=[];for(var s=0;s<i.diffs.length;s++)a.diffs[s]=new e.Diff(i.diffs[s][0],i.diffs[s][1]);a.start1=i.start1,a.start2=i.start2,a.length1=i.length1,a.length2=i.length2,n[r]=a}return n},e.prototype.patch_apply=function(t,e){if(0==t.length)return[e,[]];t=this.patch_deepCopy(t);var r=this.patch_addPadding(t);e=r+e+r,this.patch_splitMax(t);for(var i=0,a=[],s=0;s<t.length;s++){var f,o,h=t[s].start2+i,l=this.diff_text1(t[s].diffs),c=-1;if(l.length>this.Match_MaxBits?-1!=(f=this.match_main(e,l.substring(0,this.Match_MaxBits),h))&&(-1==(c=this.match_main(e,l.substring(l.length-this.Match_MaxBits),h+l.length-this.Match_MaxBits))||f>=c)&&(f=-1):f=this.match_main(e,l,h),-1==f)a[s]=!1,i-=t[s].length2-t[s].length1;else if(a[s]=!0,i=f-h,l==(o=-1==c?e.substring(f,f+l.length):e.substring(f,c+this.Match_MaxBits)))e=e.substring(0,f)+this.diff_text2(t[s].diffs)+e.substring(f+l.length);else{var g=this.diff_main(l,o,!1);if(l.length>this.Match_MaxBits&&this.diff_levenshtein(g)/l.length>this.Patch_DeleteThreshold)a[s]=!1;else{this.diff_cleanupSemanticLossless(g);for(var u,p=0,d=0;d<t[s].diffs.length;d++){var b=t[s].diffs[d];0!==b[0]&&(u=this.diff_xIndex(g,p)),1===b[0]?e=e.substring(0,f+u)+b[1]+e.substring(f+u):b[0]===n&&(e=e.substring(0,f+u)+e.substring(f+this.diff_xIndex(g,p+b[1].length))),b[0]!==n&&(p+=b[1].length)}}}}return[e=e.substring(r.length,e.length-r.length),a]},e.prototype.patch_addPadding=function(t){for(var n=this.Patch_Margin,r="",i=1;i<=n;i++)r+=String.fromCharCode(i);for(i=0;i<t.length;i++)t[i].start1+=n,t[i].start2+=n;var a=t[0],s=a.diffs;if(0==s.length||0!=s[0][0])s.unshift(new e.Diff(0,r)),a.start1-=n,a.start2-=n,a.length1+=n,a.length2+=n;else if(n>s[0][1].length){var f=n-s[0][1].length;s[0][1]=r.substring(s[0][1].length)+s[0][1],a.start1-=f,a.start2-=f,a.length1+=f,a.length2+=f}if(0==(s=(a=t[t.length-1]).diffs).length||0!=s[s.length-1][0])s.push(new e.Diff(0,r)),a.length1+=n,a.length2+=n;else if(n>s[s.length-1][1].length){f=n-s[s.length-1][1].length;s[s.length-1][1]+=r.substring(0,f),a.length1+=f,a.length2+=f}return r},e.prototype.patch_splitMax=function(t){for(var r=this.Match_MaxBits,i=0;i<t.length;i++)if(!(t[i].length1<=r)){var a=t[i];t.splice(i--,1);for(var s=a.start1,f=a.start2,o="";0!==a.diffs.length;){var h=new e.patch_obj,l=!0;for(h.start1=s-o.length,h.start2=f-o.length,""!==o&&(h.length1=h.length2=o.length,h.diffs.push(new e.Diff(0,o)));0!==a.diffs.length&&h.length1<r-this.Patch_Margin;){var c=a.diffs[0][0],g=a.diffs[0][1];1===c?(h.length2+=g.length,f+=g.length,h.diffs.push(a.diffs.shift()),l=!1):c===n&&1==h.diffs.length&&0==h.diffs[0][0]&&g.length>2*r?(h.length1+=g.length,s+=g.length,l=!1,h.diffs.push(new e.Diff(c,g)),a.diffs.shift()):(g=g.substring(0,r-h.length1-this.Patch_Margin),h.length1+=g.length,s+=g.length,0===c?(h.length2+=g.length,f+=g.length):l=!1,h.diffs.push(new e.Diff(c,g)),g==a.diffs[0][1]?a.diffs.shift():a.diffs[0][1]=a.diffs[0][1].substring(g.length))}o=(o=this.diff_text2(h.diffs)).substring(o.length-this.Patch_Margin);var u=this.diff_text1(a.diffs).substring(0,this.Patch_Margin);""!==u&&(h.length1+=u.length,h.length2+=u.length,0!==h.diffs.length&&0===h.diffs[h.diffs.length-1][0]?h.diffs[h.diffs.length-1][1]+=u:h.diffs.push(new e.Diff(0,u))),l||t.splice(++i,0,h)}}},e.prototype.patch_toText=function(t){for(var e=[],n=0;n<t.length;n++)e[n]=t[n];return e.join("")},e.prototype.patch_fromText=function(t){var r=[];if(!t)return r;for(var i=t.split("\n"),a=0,s=/^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;a<i.length;){var f=i[a].match(s);if(!f)throw new Error("Invalid patch string: "+i[a]);var o=new e.patch_obj;for(r.push(o),o.start1=parseInt(f[1],10),""===f[2]?(o.start1--,o.length1=1):"0"==f[2]?o.length1=0:(o.start1--,o.length1=parseInt(f[2],10)),o.start2=parseInt(f[3],10),""===f[4]?(o.start2--,o.length2=1):"0"==f[4]?o.length2=0:(o.start2--,o.length2=parseInt(f[4],10)),a++;a<i.length;){var h=i[a].charAt(0);try{var l=decodeURI(i[a].substring(1))}catch(t){throw new Error("Illegal escape in patch_fromText: "+l)}if("-"==h)o.diffs.push(new e.Diff(n,l));else if("+"==h)o.diffs.push(new e.Diff(1,l));else if(" "==h)o.diffs.push(new e.Diff(0,l));else{if("@"==h)break;if(""!==h)throw new Error('Invalid patch mode "'+h+'" in: '+l)}a++}}return r},(e.patch_obj=function(){this.diffs=[],this.start1=null,this.start2=null,this.length1=0,this.length2=0}).prototype.toString=function(){for(var t,e=["@@ -"+(0===this.length1?this.start1+",0":1==this.length1?this.start1+1:this.start1+1+","+this.length1)+" +"+(0===this.length2?this.start2+",0":1==this.length2?this.start2+1:this.start2+1+","+this.length2)+" @@\n"],r=0;r<this.diffs.length;r++){switch(this.diffs[r][0]){case 1:t="+";break;case n:t="-";break;case 0:t=" "}e[r+1]=t+encodeURI(this.diffs[r][1])+"\n"}return e.join("").replace(/%20/g," ")},t.exports=e,t.exports.diff_match_patch=e,t.exports.DIFF_DELETE=n,t.exports.DIFF_INSERT=1,t.exports.DIFF_EQUAL=0},74300:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CopyToClipboard=void 0;var r=a(n(67294)),i=a(n(20640));function a(t){return t&&t.__esModule?t:{default:t}}function s(t){return s="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},s(t)}function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},a=Object.keys(t);for(r=0;r<a.length;r++)n=a[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(r=0;r<a.length;r++)n=a[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(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)}}function c(t,e){return!e||"object"!==s(e)&&"function"!=typeof e?u(t):e}function g(t){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},g(t)}function u(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p(t,e){return p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},p(t,e)}function d(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var b=function(t){function e(){var t,n;h(this,e);for(var a=arguments.length,s=new Array(a),f=0;f<a;f++)s[f]=arguments[f];return d(u(n=c(this,(t=g(e)).call.apply(t,[this].concat(s)))),"onClick",(function(t){var e=n.props,a=e.text,s=e.onCopy,f=e.children,o=e.options,h=r.default.Children.only(f),l=(0,i.default)(a,o);s&&s(a,l),h&&h.props&&"function"==typeof h.props.onClick&&h.props.onClick(t)})),n}var n,a,s;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(e,t),n=e,a=[{key:"render",value:function(){var t=this.props,e=(t.text,t.onCopy,t.options,t.children),n=o(t,["text","onCopy","options","children"]),i=r.default.Children.only(e);return r.default.cloneElement(i,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?f(n,!0).forEach((function(e){d(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):f(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},n,{onClick:this.onClick}))}}],a&&l(n.prototype,a),s&&l(n,s),e}(r.default.PureComponent);e.CopyToClipboard=b,d(b,"defaultProps",{onCopy:void 0,options:void 0})},74855:function(t,e,n){"use strict";var r=n(74300).CopyToClipboard;r.CopyToClipboard=r,t.exports=r},11742:function(t){t.exports=function(){var t=document.getSelection();if(!t.rangeCount)return function(){};for(var e=document.activeElement,n=[],r=0;r<t.rangeCount;r++)n.push(t.getRangeAt(r));switch(e.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":e.blur();break;default:e=null}return t.removeAllRanges(),function(){"Caret"===t.type&&t.removeAllRanges(),t.rangeCount||n.forEach((function(e){t.addRange(e)})),e&&e.focus()}}}}]);