tocco-legacy-bundle 3.13.1 → 3.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/changelog.md +3 -0
- package/dist/68323711e75444195e7eb950af2af177.js +1 -0
- package/dist/bfae1ca81a1ee3b319b4562b0e40c591.js +1 -0
- package/dist/{chunk-179.eaf229502997bf00ac3b.js → chunk-179.338ab92a402ba87de9e0.js} +1 -1
- package/dist/chunk-264.2cef2ef88153e99892c2.js +1 -0
- package/dist/chunk-356.723c0a72664a66007c4a.js +6 -0
- package/dist/{chunk-363.7c2dbfd21a459a434ad8.js → chunk-363.bd6701a9f81a412734a7.js} +1 -1
- package/dist/{chunk-523.8ee5de3ba74712106eeb.js → chunk-523.4ffc90b1e1ee0d1f6bed.js} +1 -1
- package/dist/{chunk-actions.19dd769b6aefa6872256.js → chunk-actions.58bfdf6f30f9bcc4bc70.js} +1 -1
- package/dist/{chunk-docs-actions.4d656da3a97f88329349.js → chunk-docs-actions.faa58cbb2f3abaa47a72.js} +1 -1
- package/dist/{chunk-html-editor.8d4fe7700d7f3161e2a0.js → chunk-html-editor.8ad6747cce730a73dd63.js} +1 -1
- package/dist/chunk-vendor-libphonenumber-js.0de1600e4af4d0ae32d3.js +1 -0
- package/dist/docs-browser.js +22 -22
- package/dist/entity-browser.js +21 -21
- package/dist/input-edit.js +21 -21
- package/dist/login.js +17 -17
- package/dist/merge.js +16 -16
- package/dist/password-update.js +17 -17
- package/dist/resource-scheduler.js +17 -17
- package/dist/sso-login.js +17 -17
- package/dist/two-factor-connector.js +16 -16
- package/package.json +1 -1
- package/dist/8b5a7ea56e555f0646ff1ec04e2f2ec8.js +0 -1
- package/dist/91e35c5eaf4724ba88de11bc0443a5c2.js +0 -1
- package/dist/chunk-264.ad29d69c35ceb788d507.js +0 -1
- package/dist/chunk-480.e1922ff358281b38a8a8.js +0 -6
- package/dist/chunk-vendor-libphonenumber-js.09ba36517028c8cc2b15.js +0 -1
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
(self.webpackChunktocco_=self.webpackChunktocco_||[]).push([[480],{18085:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>we});var n=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(e){0}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),i="-ms-",o="-moz-",s="-webkit-",a="comm",l="rule",u="decl",c="@keyframes",d=Math.abs,f=String.fromCharCode,h=Object.assign;function p(e){return e.trim()}function g(e,t,r){return e.replace(t,r)}function v(e,t){return e.indexOf(t)}function m(e,t){return 0|e.charCodeAt(t)}function y(e,t,r){return e.slice(t,r)}function b(e){return e.length}function w(e){return e.length}function k(e,t){return t.push(e),e}var x=1,C=1,j=0,L=0,S=0,$="";function P(e,t,r,n,i,o,s){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:x,column:C,length:s,return:""}}function O(e,t){return h(P("",null,null,"",null,null,0),e,{length:-e.length},t)}function N(){return S=L>0?m($,--L):0,C--,10===S&&(C=1,x--),S}function D(){return S=L<j?m($,L++):0,C++,10===S&&(C=1,x++),S}function E(){return m($,L)}function _(){return L}function A(e,t){return y($,e,t)}function T(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function M(e){return x=C=1,j=b($=e),L=0,[]}function B(e){return $="",e}function F(e){return p(A(L-1,V(91===e?e+2:40===e?e+1:e)))}function R(e){for(;(S=E())&&S<33;)D();return T(e)>2||T(S)>3?"":" "}function G(e,t){for(;--t&&D()&&!(S<48||S>102||S>57&&S<65||S>70&&S<97););return A(e,_()+(t<6&&32==E()&&32==D()))}function V(e){for(;D();)switch(S){case e:return L;case 34:case 39:34!==e&&39!==e&&V(S);break;case 40:41===e&&V(e);break;case 92:D()}return L}function H(e,t){for(;D()&&e+S!==57&&(e+S!==84||47!==E()););return"/*"+A(t,L-1)+"*"+f(47===e?e:D())}function I(e){for(;!T(E());)D();return A(e,L)}function W(e){return B(z("",null,null,null,[""],e=M(e),0,[0],e))}function z(e,t,r,n,i,o,s,a,l){for(var u=0,c=0,d=s,h=0,p=0,y=0,w=1,x=1,C=1,j=0,L="",S=i,$=o,P=n,O=L;x;)switch(y=j,j=D()){case 40:if(108!=y&&58==m(O,d-1)){-1!=v(O+=g(F(j),"&","&\f"),"&\f")&&(C=-1);break}case 34:case 39:case 91:O+=F(j);break;case 9:case 10:case 13:case 32:O+=R(y);break;case 92:O+=G(_()-1,7);continue;case 47:switch(E()){case 42:case 47:k(q(H(D(),_()),t,r),l);break;default:O+="/"}break;case 123*w:a[u++]=b(O)*C;case 125*w:case 59:case 0:switch(j){case 0:case 125:x=0;case 59+c:-1==C&&(O=g(O,/\f/g,"")),p>0&&b(O)-d&&k(p>32?J(O+";",n,r,d-1):J(g(O," ","")+";",n,r,d-2),l);break;case 59:O+=";";default:if(k(P=U(O,t,r,u,c,i,a,L,S=[],$=[],d),o),123===j)if(0===c)z(O,t,P,P,S,o,d,a,$);else switch(99===h&&110===m(O,3)?100:h){case 100:case 108:case 109:case 115:z(e,P,P,n&&k(U(e,P,P,0,0,i,a,L,i,S=[],d),$),i,$,d,a,n?S:$);break;default:z(O,P,P,P,[""],$,0,a,$)}}u=c=p=0,w=C=1,L=O="",d=s;break;case 58:d=1+b(O),p=y;default:if(w<1)if(123==j)--w;else if(125==j&&0==w++&&125==N())continue;switch(O+=f(j),j*w){case 38:C=c>0?1:(O+="\f",-1);break;case 44:a[u++]=(b(O)-1)*C,C=1;break;case 64:45===E()&&(O+=F(D())),h=E(),c=d=b(L=O+=I(_())),j++;break;case 45:45===y&&2==b(O)&&(w=0)}}return o}function U(e,t,r,n,i,o,s,a,u,c,f){for(var h=i-1,v=0===i?o:[""],m=w(v),b=0,k=0,x=0;b<n;++b)for(var C=0,j=y(e,h+1,h=d(k=s[b])),L=e;C<m;++C)(L=p(k>0?v[C]+" "+j:g(j,/&\f/g,v[C])))&&(u[x++]=L);return P(e,t,r,0===i?l:a,u,c,f)}function q(e,t,r){return P(e,t,r,a,f(S),y(e,2,-2),0)}function J(e,t,r,n){return P(e,t,r,u,y(e,0,n),y(e,n+1,-1),n)}function X(e,t){for(var r="",n=w(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function Z(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case u:return e.return=e.return||e.value;case a:return"";case c:return e.return=e.value+"{"+X(e.children,n)+"}";case l:e.value=e.props.join(",")}return b(r=X(e.children,n))?e.return=e.value+"{"+r+"}":""}var Y=r(36289),K=function(e,t,r){for(var n=0,i=0;n=i,i=E(),38===n&&12===i&&(t[r]=1),!T(i);)D();return A(e,L)},Q=function(e,t){return B(function(e,t){var r=-1,n=44;do{switch(T(n)){case 0:38===n&&12===E()&&(t[r]=1),e[r]+=K(L-1,t,r);break;case 2:e[r]+=F(n);break;case 4:if(44===n){e[++r]=58===E()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=f(n)}}while(n=D());return e}(M(e),t))},ee=new WeakMap,te=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||ee.get(r))&&!n){ee.set(e,!0);for(var i=[],o=Q(t,i),s=r.props,a=0,l=0;a<o.length;a++)for(var u=0;u<s.length;u++,l++)e.props[l]=i[a]?o[a].replace(/&\f/g,s[u]):s[u]+" "+o[a]}}},re=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ne(e,t){switch(function(e,t){return 45^m(e,0)?(((t<<2^m(e,0))<<2^m(e,1))<<2^m(e,2))<<2^m(e,3):0}(e,t)){case 5103:return s+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return s+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return s+e+o+e+i+e+e;case 6828:case 4268:return s+e+i+e+e;case 6165:return s+e+i+"flex-"+e+e;case 5187:return s+e+g(e,/(\w+).+(:[^]+)/,s+"box-$1$2"+i+"flex-$1$2")+e;case 5443:return s+e+i+"flex-item-"+g(e,/flex-|-self/,"")+e;case 4675:return s+e+i+"flex-line-pack"+g(e,/align-content|flex-|-self/,"")+e;case 5548:return s+e+i+g(e,"shrink","negative")+e;case 5292:return s+e+i+g(e,"basis","preferred-size")+e;case 6060:return s+"box-"+g(e,"-grow","")+s+e+i+g(e,"grow","positive")+e;case 4554:return s+g(e,/([^-])(transform)/g,"$1"+s+"$2")+e;case 6187:return g(g(g(e,/(zoom-|grab)/,s+"$1"),/(image-set)/,s+"$1"),e,"")+e;case 5495:case 3959:return g(e,/(image-set\([^]*)/,s+"$1$`$1");case 4968:return g(g(e,/(.+:)(flex-)?(.*)/,s+"box-pack:$3"+i+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+s+e+e;case 4095:case 3583:case 4068:case 2532:return g(e,/(.+)-inline(.+)/,s+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(b(e)-1-t>6)switch(m(e,t+1)){case 109:if(45!==m(e,t+4))break;case 102:return g(e,/(.+:)(.+)-([^]+)/,"$1"+s+"$2-$3$1"+o+(108==m(e,t+3)?"$3":"$2-$3"))+e;case 115:return~v(e,"stretch")?ne(g(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==m(e,t+1))break;case 6444:switch(m(e,b(e)-3-(~v(e,"!important")&&10))){case 107:return g(e,":",":"+s)+e;case 101:return g(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+s+(45===m(e,14)?"inline-":"")+"box$3$1"+s+"$2$3$1"+i+"$2box$3")+e}break;case 5936:switch(m(e,t+11)){case 114:return s+e+i+g(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return s+e+i+g(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return s+e+i+g(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return s+e+i+e+e}return e}var ie=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case u:e.return=ne(e.value,e.length);break;case c:return X([O(e,{value:g(e.value,"@","@"+s)})],n);case l:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return X([O(e,{props:[g(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return X([O(e,{props:[g(t,/:(plac\w+)/,":"+s+"input-$1")]}),O(e,{props:[g(t,/:(plac\w+)/,":-moz-$1")]}),O(e,{props:[g(t,/:(plac\w+)/,i+"input-$1")]})],n)}return""}))}}],oe=function(e){var t=e.key;if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var i=e.stylisPlugins||ie;var o,s,a={},l=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)a[t[r]]=!0;l.push(e)}));var u,c,d,f,h=[Z,(f=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&f(e)})],p=(c=[te,re].concat(i,h),d=w(c),function(e,t,r,n){for(var i="",o=0;o<d;o++)i+=c[o](e,t,r,n)||"";return i});s=function(e,t,r,n){u=r,X(W(e?e+"{"+t.styles+"}":t.styles),p),n&&(g.inserted[t.name]=!0)};var g={key:t,sheet:new n({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:s};return g.sheet.hydrate(l),g};var se=r(83969),ae=/[A-Z]|^ms/g,le=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ue=function(e){return 45===e.charCodeAt(1)},ce=function(e){return null!=e&&"boolean"!=typeof e},de=(0,Y.A)((function(e){return ue(e)?e:e.replace(ae,"-$&").toLowerCase()})),fe=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(le,(function(e,t,r){return pe={name:t,styles:r,next:pe},t}))}return 1===se.A[e]||ue(e)||"number"!=typeof t||0===t?t:t+"px"};function he(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return pe={name:r.name,styles:r.styles,next:pe},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)pe={name:n.name,styles:n.styles,next:pe},n=n.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=he(e,t,r[i])+";";else for(var o in r){var s=r[o];if("object"!=typeof s)null!=t&&void 0!==t[s]?n+=o+"{"+t[s]+"}":ce(s)&&(n+=de(o)+":"+fe(o,s)+";");else if(!Array.isArray(s)||"string"!=typeof s[0]||null!=t&&void 0!==t[s[0]]){var a=he(e,t,s);switch(o){case"animation":case"animationName":n+=de(o)+":"+a+";";break;default:n+=o+"{"+a+"}"}}else for(var l=0;l<s.length;l++)ce(s[l])&&(n+=de(o)+":"+fe(o,s[l])+";")}return n}(e,t,r);case"function":if(void 0!==e){var i=pe,o=r(e);return pe=i,he(e,t,o)}}if(null==t)return r;var s=t[r];return void 0!==s?s:r}var pe,ge=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var ve=function(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,i="";pe=void 0;var o=e[0];null==o||void 0===o.raw?(n=!1,i+=he(r,t,o)):i+=o[0];for(var s=1;s<e.length;s++)i+=he(r,t,e[s]),n&&(i+=o[s]);ge.lastIndex=0;for(var a,l="";null!==(a=ge.exec(i));)l+="-"+a[1];var u=function(e){for(var t,r=0,n=0,i=e.length;i>=4;++n,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(i){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(i)+l;return{name:u,styles:i,next:pe}};function me(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "})),n}function ye(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function be(e,t,r){var n=[],i=me(e,n,r);return n.length<2?r:i+t(n)}var we=function(e){var t=oe(e);t.sheet.speedy=function(e){this.isSpeedy=e},t.compat=!0;var r=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i=ve(r,t.registered,void 0);return function(e,t,r){!function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)}(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+n:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}}(t,i,!1),t.key+"-"+i.name};return{css:r,cx:function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return be(t.registered,r,ke(n))},injectGlobal:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i=ve(r,t.registered);ye(t,i)},keyframes:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i=ve(r,t.registered),o="animation-"+i.name;return ye(t,{name:i.name,styles:"@keyframes "+o+"{"+i.styles+"}"}),o},hydrate:function(e){e.forEach((function(e){t.inserted[e]=!0}))},flush:function(){t.registered={},t.inserted={},t.sheet.flush()},sheet:t.sheet,cache:t,getRegisteredStyles:me.bind(null,t.registered),merge:be.bind(null,t.registered,r)}},ke=function e(t){for(var r="",n=0;n<t.length;n++){var i=t[n];if(null!=i){var o=void 0;switch(typeof i){case"boolean":break;case"object":if(Array.isArray(i))o=e(i);else for(var s in o="",i)i[s]&&s&&(o&&(o+=" "),o+=s);break;default:o=i}o&&(r&&(r+=" "),r+=o)}}return r}},20085:e=>{e.exports=function(e,t,r){if("function"!=typeof e)throw new TypeError("Expected a function");return setTimeout((function(){e.apply(void 0,r)}),t)}},27185:(e,t,r)=>{var n=r(38859),i=r(15325),o=r(29905),s=r(34932),a=r(27301),l=r(19219),u=Math.min;e.exports=function(e,t,r){for(var c=r?o:i,d=e[0].length,f=e.length,h=f,p=Array(f),g=1/0,v=[];h--;){var m=e[h];h&&t&&(m=s(m,a(t))),g=u(m.length,g),p[h]=!r&&(t||d>=120&&m.length>=120)?new n(h&&m):void 0}m=e[0];var y=-1,b=p[0];e:for(;++y<d&&v.length<g;){var w=m[y],k=t?t(w):w;if(w=r||0!==w?w:0,!(b?l(b,k):c(v,k,r))){for(h=f;--h;){var x=p[h];if(!(x?l(x,k):c(e[h],k,r)))continue e}b&&b.push(k),v.push(w)}}return v}},80741:(e,t,r)=>{var n=r(83693);e.exports=function(e){return n(e)?e:[]}},60895:(e,t,r)=>{var n=r(20085),i=r(69302),o=r(99374),s=i((function(e,t,r){return n(e,o(t)||0,r)}));e.exports=s},5287:(e,t,r)=>{var n=r(34932),i=r(27185),o=r(69302),s=r(80741),a=o((function(e){var t=n(e,s);return t.length&&t[0]===e[0]?i(t):[]}));e.exports=a},48067:(e,t)=>{"use strict";t.YW=function(e,t={}){const{decode:r=decodeURIComponent,loose:i=!0}=t,o=e instanceof l?e:u(e,t),s=f(i,o.delimiter),a=[],c=p(o,a,t),d=a.map((e=>{if(r&&("+"===e.modifier||"*"===e.modifier)){const{prefix:t="",suffix:n="",separator:i=n+t}=e,o=new RegExp(s(i),"g");return e=>e.split(o).map(r)}return r||n}));return function(e){const t=c.exec(e);if(!t)return!1;const{0:r,index:n}=t,i=Object.create(null);for(let e=1;e<t.length;e++){if(void 0===t[e])continue;const r=a[e-1],n=d[e-1];i[r.name]=n(t[e])}return{path:r,index:n,params:i}}};const r="/",n=e=>e,i=/^\p{XID_Continue}$/u,o="https://git.new/pathToRegexpError",s={"!":"!","@":"@",";":";",",":",","*":"*","+":"+","?":"?","{":"{","}":"}"};class a{constructor(e){this.tokens=e,this.index=0}peek(){return this.tokens[this.index]}tryConsume(e){const t=this.peek();if(t.type===e)return this.index++,t.value}consume(e){const t=this.tryConsume(e);if(void 0!==t)return t;const{type:r,index:n}=this.peek();throw new TypeError(`Unexpected ${r} at ${n}, expected ${e}: ${o}`)}text(){let e,t="";for(;e=this.tryConsume("CHAR")||this.tryConsume("ESCAPED");)t+=e;return t}modifier(){return this.tryConsume("?")||this.tryConsume("*")||this.tryConsume("+")}}class l{constructor(e,t){this.tokens=e,this.delimiter=t}}function u(e,t={}){const{encodePath:u=n,delimiter:d=u(r)}=t,f=[],h=function(e){const t=[...e],r=[];let n=0;for(;n<t.length;){const e=t[n],o=s[e];if(o)r.push({type:o,index:n++,value:e});else if("\\"!==e)if(":"!==e)if("("!==e)r.push({type:"CHAR",index:n,value:t[n++]});else{const e=n++;let i=1,o="";if("?"===t[n])throw new TypeError(`Pattern cannot start with "?" at ${n}`);for(;n<t.length;)if("\\"!==t[n]){if(")"===t[n]){if(i--,0===i){n++;break}}else if("("===t[n]&&(i++,"?"!==t[n+1]))throw new TypeError(`Capturing groups are not allowed at ${n}`);o+=t[n++]}else o+=t[n++]+t[n++];if(i)throw new TypeError(`Unbalanced pattern at ${e}`);if(!o)throw new TypeError(`Missing pattern at ${e}`);r.push({type:"PATTERN",index:n,value:o})}else{let e="";for(;i.test(t[++n]);)e+=t[n];if(!e)throw new TypeError(`Missing parameter name at ${n}`);r.push({type:"NAME",index:n,value:e})}else r.push({type:"ESCAPED",index:n++,value:t[n++]})}return r.push({type:"END",index:n,value:""}),new a(r)}(e);let p=0;for(;;){const e=h.text();e&&f.push(u(e));const t=h.tryConsume("NAME"),r=h.tryConsume("PATTERN");if(t||r){f.push({name:t||String(p++),pattern:r});const e=h.peek();if("*"===e.type)throw new TypeError(`Unexpected * at ${e.index}, you probably want \`/*\` or \`{/:foo}*\`: ${o}`);continue}if(h.tryConsume("*")){f.push({name:String(p++),pattern:`(?:(?!${c(d)}).)*`,modifier:"*",separator:d});continue}if(!h.tryConsume("{")){h.consume("END");break}{const e=h.text(),t=h.tryConsume("NAME"),r=h.tryConsume("PATTERN"),n=h.text(),i=h.tryConsume(";")&&h.text();h.consume("}");const o=h.modifier();f.push({name:t||(r?String(p++):""),prefix:u(e),suffix:u(n),pattern:r,modifier:o,separator:i})}}return new l(f,d)}function c(e){return e.replace(/([.+*?^${}()[\]|/\\])/g,"\\$1")}function d(e,t){const r=c(e);return t?`(?:${r})+(?!${r})`:r}function f(e,t){if(!e)return c;const r=new RegExp(`(?:(?!${c(t)}).)+|(.)`,"g");return e=>e.replace(r,d)}function h(e){return e.sensitive?"":"i"}function p(e,t,r){const{trailing:n=!0,loose:i=!0,start:o=!0,end:s=!0,strict:a=!1}=r,l=h(r),u=f(i,e.delimiter);let d=o?"^":"";return d+=g(e,u,t,l,a).join(""),n&&(d+=`(?:${u(e.delimiter)})?`),d+=s?"$":`(?=${c(e.delimiter)}|$)`,new RegExp(d,l)}function g(e,t,r,n,i){const s=`(?:(?!${c(e.delimiter)}).)+?`;let a="",l=!0;return e.tokens.map(((e,u)=>{if("string"==typeof e)return a=e,t(e);const{prefix:c="",suffix:d="",separator:f=d+c,modifier:h=""}=e,p=t(c),g=t(d);if(e.name){const u=e.pattern?`(?:${e.pattern})`:s,m=function(e,t,r){try{return new RegExp(`^${e}$`,r)}catch(e){throw new TypeError(`Invalid pattern for "${t}": ${e.message}`)}}(u,e.name,n);if(l||(l=v(m,c||a)),!l)throw new TypeError(`Ambiguous pattern for "${e.name}": ${o}`);if(l=!i||v(m,d),a="",r.push(e),"+"===h||"*"===h){const r="*"===h?"?":"",n=t(f);if(!n)throw new TypeError(`Missing separator for "${e.name}": ${o}`);if(l||(l=!i||v(m,f)),!l)throw new TypeError(`Ambiguous pattern for "${e.name}" separator: ${o}`);return l=!i,`(?:${p}(${u}(?:${n}${u})*)${g})${r}`}return`(?:${p}(${u})${g})${h}`}return`(?:${p}${g})${h}`}))}function v(e,t){return!!t&&!e.test(t)}},44411:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.computeHiddenBlocks=void 0,t.computeHiddenBlocks=function(e,t,r){let n,i=0,o={},s=[];return e.forEach(((e,a)=>{const l=t.some((e=>e>=a-r&&e<=a+r));l||null!=n?l?n=void 0:(n.endLine=a,n.lines++,o[a]=n.index):(n={index:i,startLine:a,endLine:a,lines:1},s.push(n),o[a]=n.index,i++)})),{lineBlocks:o,blocks:s}}},78217:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.computeLineInformation=t.DiffMethod=t.DiffType=void 0;const s=o(r(4700)),a=s;var l,u;!function(e){e[e.DEFAULT=0]="DEFAULT",e[e.ADDED=1]="ADDED",e[e.REMOVED=2]="REMOVED",e[e.CHANGED=3]="CHANGED"}(l||(t.DiffType=l={})),function(e){e.CHARS="diffChars",e.WORDS="diffWords",e.WORDS_WITH_SPACE="diffWordsWithSpace",e.LINES="diffLines",e.TRIMMED_LINES="diffTrimmedLines",e.SENTENCES="diffSentences",e.CSS="diffCss",e.JSON="diffJson"}(u||(t.DiffMethod=u={}));const c=e=>{if(""===e)return[];return e.replace(/\n$/,"").split("\n")};t.computeLineInformation=(e,t,r=!1,n=u.CHARS,i=0,o=[])=>{let d=[];d="string"==typeof e&&"string"==typeof t?s.diffLines(e.trimRight(),t.trimRight(),{newlineIsToken:!1,ignoreWhitespace:!1,ignoreCase:!1}):s.diffJson(e,t);let f=i,h=i,p=[],g=0;const v=[],m=[],y=(e,t,i,s,p)=>c(e).map(((e,b)=>{const w={},k={};if(!(m.includes(`${t}-${b}`)||p&&0!==b)){if(i||s){let i=!0;if(s){h+=1,w.lineNumber=h,w.type=l.REMOVED,w.value=e||" ";const o=d[t+1];if(o&&o.added){const s=c(o.value)[b];if(s){const o=y(s,t,!0,!1,!0),{value:c,lineNumber:d,type:f}=o[0].right;if(m.push(`${t+1}-${b}`),k.lineNumber=d,w.value===c)i=!1,k.type=0,w.type=0,k.value=c;else if(k.type=f,r)k.value=c;else{const t=((e,t,r=u.CHARS)=>{const n=a[r](e,t),i={left:[],right:[]};return n.forEach((({added:e,removed:t,value:r})=>{const n={};return e&&(n.type=l.ADDED,n.value=r,i.right.push(n)),t&&(n.type=l.REMOVED,n.value=r,i.left.push(n)),t||e||(n.type=l.DEFAULT,n.value=r,i.right.push(n),i.left.push(n)),n})),i})(e,c,n);k.value=t.right,w.value=t.left}}}}else f+=1,k.lineNumber=f,k.type=l.ADDED,k.value=e;i&&!p&&(v.includes(g)||v.push(g))}else h+=1,f+=1,w.lineNumber=h,w.type=l.DEFAULT,w.value=e,k.lineNumber=f,k.type=l.DEFAULT,k.value=e;return((null==o?void 0:o.includes(`L-${w.lineNumber}`))||(null==o?void 0:o.includes(`R-${k.lineNumber}`))&&!v.includes(g))&&v.push(g),p||(g+=1),{right:k,left:w}}})).filter(Boolean);return d.forEach((({added:e,removed:t,value:r},n)=>{p=[...p,...y(r,n,e,t)]})),{lineInformation:p,diffLines:v}}},82514:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DiffMethod=t.LineNumberPrefix=void 0;const a=r(74848),l=o(r(4883)),u=s(r(46942)),c=r(78217);Object.defineProperty(t,"DiffMethod",{enumerable:!0,get:function(){return c.DiffMethod}});const d=s(r(26945)),f=r(44411),h=r(41811),p=h.default||h;var g;!function(e){e.LEFT="L",e.RIGHT="R"}(g||(t.LineNumberPrefix=g={}));class v extends l.Component{constructor(e){super(e),this.resetCodeBlocks=()=>this.state.expandedBlocks.length>0&&(this.setState({expandedBlocks:[]}),!0),this.onBlockExpand=e=>{const t=this.state.expandedBlocks.slice();t.push(e),this.setState({expandedBlocks:t})},this.computeStyles=p(d.default),this.onLineNumberClickProxy=e=>this.props.onLineNumberClick?t=>this.props.onLineNumberClick(e,t):()=>{},this.renderWordDiff=(e,t)=>e.map(((e,r)=>(0,a.jsx)("span",{className:(0,u.default)(this.styles.wordDiff,{[this.styles.wordAdded]:e.type===c.DiffType.ADDED,[this.styles.wordRemoved]:e.type===c.DiffType.REMOVED}),children:t?t(e.value):e.value},r))),this.renderLine=(e,t,r,n,i,o)=>{const s=`${r}-${e}`,d=`${o}-${i}`,f=this.props.highlightLines.includes(s)||this.props.highlightLines.includes(d),h=t===c.DiffType.ADDED,p=t===c.DiffType.REMOVED,g=t===c.DiffType.CHANGED;let v;return v=Array.isArray(n)?this.renderWordDiff(n,this.props.renderContent):this.props.renderContent?this.props.renderContent(n):n,(0,a.jsxs)(l.Fragment,{children:[!this.props.hideLineNumbers&&(0,a.jsx)("td",{onClick:e&&this.onLineNumberClickProxy(s),className:(0,u.default)(this.styles.gutter,{[this.styles.emptyGutter]:!e,[this.styles.diffAdded]:h,[this.styles.diffRemoved]:p,[this.styles.diffChanged]:g,[this.styles.highlightedGutter]:f}),children:(0,a.jsx)("pre",{className:this.styles.lineNumber,children:e})}),!this.props.splitView&&!this.props.hideLineNumbers&&(0,a.jsx)("td",{onClick:i&&this.onLineNumberClickProxy(d),className:(0,u.default)(this.styles.gutter,{[this.styles.emptyGutter]:!i,[this.styles.diffAdded]:h,[this.styles.diffRemoved]:p,[this.styles.diffChanged]:g,[this.styles.highlightedGutter]:f}),children:(0,a.jsx)("pre",{className:this.styles.lineNumber,children:i})}),this.props.renderGutter?this.props.renderGutter({lineNumber:e,type:t,prefix:r,value:n,additionalLineNumber:i,additionalPrefix:o,styles:this.styles}):null,!this.props.hideMarkers&&(0,a.jsx)("td",{className:(0,u.default)(this.styles.marker,{[this.styles.emptyLine]:!v,[this.styles.diffAdded]:h,[this.styles.diffRemoved]:p,[this.styles.diffChanged]:g,[this.styles.highlightedLine]:f}),children:(0,a.jsxs)("pre",{children:[h&&"+",p&&"-"]})}),(0,a.jsx)("td",{className:(0,u.default)(this.styles.content,{[this.styles.emptyLine]:!v,[this.styles.diffAdded]:h,[this.styles.diffRemoved]:p,[this.styles.diffChanged]:g,[this.styles.highlightedLine]:f}),children:(0,a.jsx)("pre",{className:this.styles.contentText,children:v})})]})},this.renderSplitView=({left:e,right:t},r)=>(0,a.jsxs)("tr",{className:this.styles.line,children:[this.renderLine(e.lineNumber,e.type,g.LEFT,e.value),this.renderLine(t.lineNumber,t.type,g.RIGHT,t.value)]},r),this.renderInlineView=({left:e,right:t},r)=>{let n;return e.type===c.DiffType.REMOVED&&t.type===c.DiffType.ADDED?(0,a.jsxs)(l.Fragment,{children:[(0,a.jsx)("tr",{className:this.styles.line,children:this.renderLine(e.lineNumber,e.type,g.LEFT,e.value,null)}),(0,a.jsx)("tr",{className:this.styles.line,children:this.renderLine(null,t.type,g.RIGHT,t.value,t.lineNumber)})]},r):(e.type===c.DiffType.REMOVED&&(n=this.renderLine(e.lineNumber,e.type,g.LEFT,e.value,null)),e.type===c.DiffType.DEFAULT&&(n=this.renderLine(e.lineNumber,e.type,g.LEFT,e.value,t.lineNumber,g.RIGHT)),t.type===c.DiffType.ADDED&&(n=this.renderLine(null,t.type,g.RIGHT,t.value,t.lineNumber)),(0,a.jsx)("tr",{className:this.styles.line,children:n},r))},this.onBlockClickProxy=e=>()=>this.onBlockExpand(e),this.renderSkippedLineIndicator=(e,t,r,n)=>{const{hideLineNumbers:i,splitView:o}=this.props,s=this.props.codeFoldMessageRenderer?this.props.codeFoldMessageRenderer(e,r,n):(0,a.jsxs)("pre",{className:this.styles.codeFoldContent,children:["Expand ",e," lines ..."]}),c=(0,a.jsx)("td",{children:(0,a.jsx)("a",{onClick:this.onBlockClickProxy(t),tabIndex:0,children:s})}),d=!o&&!i;return(0,a.jsxs)("tr",{className:this.styles.codeFold,children:[!i&&(0,a.jsx)("td",{className:this.styles.codeFoldGutter}),this.props.renderGutter?(0,a.jsx)("td",{className:this.styles.codeFoldGutter}):null,(0,a.jsx)("td",{className:(0,u.default)({[this.styles.codeFoldGutter]:d})}),d?(0,a.jsxs)(l.Fragment,{children:[(0,a.jsx)("td",{}),c]}):(0,a.jsxs)(l.Fragment,{children:[c,this.props.renderGutter?(0,a.jsx)("td",{}):null,(0,a.jsx)("td",{})]}),(0,a.jsx)("td",{}),(0,a.jsx)("td",{})]},`${r}-${n}`)},this.renderDiff=()=>{const{oldValue:e,newValue:t,splitView:r,disableWordDiff:n,compareMethod:i,linesOffset:o}=this.props,{lineInformation:s,diffLines:u}=(0,c.computeLineInformation)(e,t,n,i,o,this.props.alwaysShowLines),d=this.props.extraLinesSurroundingDiff<0?0:Math.round(this.props.extraLinesSurroundingDiff),{lineBlocks:h,blocks:p}=(0,f.computeHiddenBlocks)(s,u,d);return s.map(((e,t)=>{if(this.props.showDiffOnly){const r=h[t];if(void 0!==r){const n=p[r].endLine===t;if(!this.state.expandedBlocks.includes(r)&&n)return(0,a.jsx)(l.Fragment,{children:this.renderSkippedLineIndicator(p[r].lines,r,e.left.lineNumber,e.right.lineNumber)},t);if(!this.state.expandedBlocks.includes(r))return null}}return r?this.renderSplitView(e,t):this.renderInlineView(e,t)}))},this.render=()=>{const{oldValue:e,newValue:t,useDarkTheme:r,leftTitle:n,rightTitle:i,splitView:o,hideLineNumbers:s,hideMarkers:l,nonce:d}=this.props;if(this.props.compareMethod!==c.DiffMethod.JSON&&("string"!=typeof e||"string"!=typeof t))throw Error('"oldValue" and "newValue" should be strings');this.styles=this.computeStyles(this.props.styles,r,d);const f=this.renderDiff();let h=s?2:3,p=s?2:4;l&&(h-=1,p-=1);const g=this.props.renderGutter?1:0,v=(n||i)&&(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{colSpan:(o?h:p)+g,className:this.styles.titleBlock,children:(0,a.jsx)("pre",{className:this.styles.contentText,children:n})}),o&&(0,a.jsx)("td",{colSpan:h+g,className:this.styles.titleBlock,children:(0,a.jsx)("pre",{className:this.styles.contentText,children:i})})]});return(0,a.jsx)("table",{className:(0,u.default)(this.styles.diffContainer,{[this.styles.splitView]:o}),children:(0,a.jsxs)("tbody",{children:[v,f]})})},this.state={expandedBlocks:[]}}}v.defaultProps={oldValue:"",newValue:"",splitView:!0,highlightLines:[],disableWordDiff:!1,compareMethod:c.DiffMethod.CHARS,styles:{},hideLineNumbers:!1,hideMarkers:!1,extraLinesSurroundingDiff:3,showDiffOnly:!0,useDarkTheme:!1,linesOffset:0,nonce:""},t.default=v},26945:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=i(r(18085));t.default=(e,t=!1,r="")=>{const{variables:i={}}=e,s=n(e,["variables"]),a={light:Object.assign({diffViewerBackground:"#fff",diffViewerColor:"#212529",addedBackground:"#e6ffed",addedColor:"#24292e",removedBackground:"#ffeef0",removedColor:"#24292e",changedBackground:"#fffbdd",wordAddedBackground:"#acf2bd",wordRemovedBackground:"#fdb8c0",addedGutterBackground:"#cdffd8",removedGutterBackground:"#ffdce0",gutterBackground:"#f7f7f7",gutterBackgroundDark:"#f3f1f1",highlightBackground:"#fffbdd",highlightGutterBackground:"#fff5b1",codeFoldGutterBackground:"#dbedff",codeFoldBackground:"#f1f8ff",emptyLineBackground:"#fafbfc",gutterColor:"#212529",addedGutterColor:"#212529",removedGutterColor:"#212529",codeFoldContentColor:"#212529",diffViewerTitleBackground:"#fafbfc",diffViewerTitleColor:"#212529",diffViewerTitleBorderColor:"#eee"},i.light||{}),dark:Object.assign({diffViewerBackground:"#2e303c",diffViewerColor:"#FFF",addedBackground:"#044B53",addedColor:"white",removedBackground:"#632F34",removedColor:"white",changedBackground:"#3e302c",wordAddedBackground:"#055d67",wordRemovedBackground:"#7d383f",addedGutterBackground:"#034148",removedGutterBackground:"#632b30",gutterBackground:"#2c2f3a",gutterBackgroundDark:"#262933",highlightBackground:"#2a3967",highlightGutterBackground:"#2d4077",codeFoldGutterBackground:"#21232b",codeFoldBackground:"#262831",emptyLineBackground:"#363946",gutterColor:"#666c87",addedGutterColor:"#8c8c8c",removedGutterColor:"#8c8c8c",codeFoldContentColor:"#656a8b",diffViewerTitleBackground:"#2f323e",diffViewerTitleColor:"#555a7b",diffViewerTitleBorderColor:"#353846"},i.dark||{})},l=t?a.dark:a.light,{css:u,cx:c}=(0,o.default)({key:"react-diff",nonce:r}),d=u({width:"100%",label:"content"}),f=u({[`.${d}`]:{width:"50%"},label:"split-view"}),h=u({width:"100%",background:l.diffViewerBackground,pre:{margin:0,whiteSpace:"pre-wrap",lineHeight:"25px"},label:"diff-container",borderCollapse:"collapse"}),p=u({color:l.codeFoldContentColor,label:"code-fold-content"}),g=u({color:l.diffViewerColor,label:"content-text"}),v=u({background:l.diffViewerTitleBackground,padding:10,borderBottom:`1px solid ${l.diffViewerTitleBorderColor}`,label:"title-block",":last-child":{borderLeft:`1px solid ${l.diffViewerTitleBorderColor}`},[`.${g}`]:{color:l.diffViewerTitleColor}}),m=u({color:l.gutterColor,label:"line-number"}),y=u({background:l.removedBackground,color:l.removedColor,pre:{color:l.removedColor},[`.${m}`]:{color:l.removedGutterColor},label:"diff-removed"}),b=u({background:l.addedBackground,color:l.addedColor,pre:{color:l.addedColor},[`.${m}`]:{color:l.addedGutterColor},label:"diff-added"}),w=u({background:l.changedBackground,[`.${m}`]:{color:l.gutterColor},label:"diff-changed"}),k=u({padding:2,display:"inline-flex",borderRadius:4,wordBreak:"break-all",label:"word-diff"}),x=u({background:l.wordAddedBackground,label:"word-added"}),C=u({background:l.wordRemovedBackground,label:"word-removed"}),j=u({backgroundColor:l.codeFoldGutterBackground,label:"code-fold-gutter"}),L=u({backgroundColor:l.codeFoldBackground,height:40,fontSize:14,fontWeight:700,label:"code-fold",a:{textDecoration:"underline !important",cursor:"pointer",pre:{display:"inline"}}}),S=u({backgroundColor:l.emptyLineBackground,label:"empty-line"}),$=u({width:25,paddingLeft:10,paddingRight:10,userSelect:"none",label:"marker",[`&.${b}`]:{pre:{color:l.addedColor}},[`&.${y}`]:{pre:{color:l.removedColor}}}),P=u({background:l.highlightBackground,label:"highlighted-line",[`.${x}, .${C}`]:{backgroundColor:"initial"}}),O=u({label:"highlighted-gutter"}),N=u({userSelect:"none",minWidth:50,padding:"0 10px",whiteSpace:"nowrap",label:"gutter",textAlign:"right",background:l.gutterBackground,"&:hover":{cursor:"pointer",background:l.gutterBackgroundDark,pre:{opacity:1}},pre:{opacity:.5},[`&.${b}`]:{background:l.addedGutterBackground},[`&.${y}`]:{background:l.removedGutterBackground},[`&.${O}`]:{background:l.highlightGutterBackground,"&:hover":{background:l.highlightGutterBackground}}}),D=u({"&:hover":{background:l.gutterBackground,cursor:"initial"},label:"empty-gutter"}),E={diffContainer:h,diffRemoved:y,diffAdded:b,diffChanged:w,splitView:f,marker:$,highlightedGutter:O,highlightedLine:P,gutter:N,line:u({verticalAlign:"baseline",label:"line"}),wordDiff:k,wordAdded:x,wordRemoved:C,codeFoldGutter:j,codeFold:L,emptyGutter:D,emptyLine:S,lineNumber:m,contentText:g,content:d,codeFoldContent:p,titleBlock:v},_=Object.keys(s).reduce(((e,t)=>Object.assign(Object.assign({},e),{[t]:u(s[t])})),{});return Object.keys(E).reduce(((e,t)=>Object.assign(Object.assign({},e),{[t]:_[t]?c(E[t],_[t]):E[t]})),{})}},85589:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertChangesToDMP=function(e){for(var t,r,n=[],i=0;i<e.length;i++)r=(t=e[i]).added?1:t.removed?-1:0,n.push([r,t.value]);return n}},51181:(e,t)=>{"use strict";function r(e){var t=e;return t=(t=(t=(t=t.replace(/&/g,"&")).replace(/</g,"<")).replace(/>/g,">")).replace(/"/g,""")}Object.defineProperty(t,"__esModule",{value:!0}),t.convertChangesToXML=function(e){for(var t=[],n=0;n<e.length;n++){var i=e[n];i.added?t.push("<ins>"):i.removed&&t.push("<del>"),t.push(r(i.value)),i.added?t.push("</ins>"):i.removed&&t.push("</del>")}return t.join("")}},17999:(e,t,r)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.diffArrays=function(e,t,r){return i.diff(e,t,r)},t.arrayDiff=void 0;var i=new(((n=r(85969))&&n.__esModule?n:{default:n}).default);t.arrayDiff=i,i.tokenize=function(e){return e.slice()},i.join=i.removeEmpty=function(e){return e}},85969:(e,t)=>{"use strict";function r(){}function n(e,t,r,n,i){for(var o=0,s=t.length,a=0,l=0;o<s;o++){var u=t[o];if(u.removed){if(u.value=e.join(n.slice(l,l+u.count)),l+=u.count,o&&t[o-1].added){var c=t[o-1];t[o-1]=t[o],t[o]=c}}else{if(!u.added&&i){var d=r.slice(a,a+u.count);d=d.map((function(e,t){var r=n[l+t];return r.length>e.length?r:e})),u.value=e.join(d)}else u.value=e.join(r.slice(a,a+u.count));a+=u.count,u.added||(l+=u.count)}}var f=t[s-1];return s>1&&"string"==typeof f.value&&(f.added||f.removed)&&e.equals("",f.value)&&(t[s-2].value+=f.value,t.pop()),t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,r.prototype={diff:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=r.callback;"function"==typeof r&&(i=r,r={}),this.options=r;var o=this;function s(e){return i?(setTimeout((function(){i(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var a=(t=this.removeEmpty(this.tokenize(t))).length,l=e.length,u=1,c=a+l;r.maxEditLength&&(c=Math.min(c,r.maxEditLength));var d=[{newPos:-1,components:[]}],f=this.extractCommon(d[0],t,e,0);if(d[0].newPos+1>=a&&f+1>=l)return s([{value:this.join(t),count:t.length}]);function h(){for(var r=-1*u;r<=u;r+=2){var i=void 0,c=d[r-1],f=d[r+1],h=(f?f.newPos:0)-r;c&&(d[r-1]=void 0);var p=c&&c.newPos+1<a,g=f&&0<=h&&h<l;if(p||g){if(!p||g&&c.newPos<f.newPos?(i={newPos:(v=f).newPos,components:v.components.slice(0)},o.pushComponent(i.components,void 0,!0)):((i=c).newPos++,o.pushComponent(i.components,!0,void 0)),h=o.extractCommon(i,t,e,r),i.newPos+1>=a&&h+1>=l)return s(n(o,i.components,t,e,o.useLongestToken));d[r]=i}else d[r]=void 0}var v;u++}if(i)!function e(){setTimeout((function(){if(u>c)return i();h()||e()}),0)}();else for(;u<=c;){var p=h();if(p)return p}},pushComponent:function(e,t,r){var n=e[e.length-1];n&&n.added===t&&n.removed===r?e[e.length-1]={count:n.count+1,added:t,removed:r}:e.push({count:1,added:t,removed:r})},extractCommon:function(e,t,r,n){for(var i=t.length,o=r.length,s=e.newPos,a=s-n,l=0;s+1<i&&a+1<o&&this.equals(t[s+1],r[a+1]);)s++,a++,l++;return l&&e.components.push({count:l}),e.newPos=s,a},equals:function(e,t){return this.options.comparator?this.options.comparator(e,t):e===t||this.options.ignoreCase&&e.toLowerCase()===t.toLowerCase()},removeEmpty:function(e){for(var t=[],r=0;r<e.length;r++)e[r]&&t.push(e[r]);return t},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}}},75997:(e,t,r)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.diffChars=function(e,t,r){return i.diff(e,t,r)},t.characterDiff=void 0;var i=new(((n=r(85969))&&n.__esModule?n:{default:n}).default);t.characterDiff=i},98705:(e,t,r)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.diffCss=function(e,t,r){return i.diff(e,t,r)},t.cssDiff=void 0;var i=new(((n=r(85969))&&n.__esModule?n:{default:n}).default);t.cssDiff=i,i.tokenize=function(e){return e.split(/([{}:;,]|\s+)/)}},53258:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.diffJson=function(e,t,r){return l.diff(e,t,r)},t.canonicalize=u,t.jsonDiff=void 0;var n,i=(n=r(85969))&&n.__esModule?n:{default:n},o=r(93578);function s(e){return s="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},s(e)}var a=Object.prototype.toString,l=new i.default;function u(e,t,r,n,i){var o,l;for(t=t||[],r=r||[],n&&(e=n(i,e)),o=0;o<t.length;o+=1)if(t[o]===e)return r[o];if("[object Array]"===a.call(e)){for(t.push(e),l=new Array(e.length),r.push(l),o=0;o<e.length;o+=1)l[o]=u(e[o],t,r,n,i);return t.pop(),r.pop(),l}if(e&&e.toJSON&&(e=e.toJSON()),"object"===s(e)&&null!==e){t.push(e),l={},r.push(l);var c,d=[];for(c in e)e.hasOwnProperty(c)&&d.push(c);for(d.sort(),o=0;o<d.length;o+=1)l[c=d[o]]=u(e[c],t,r,n,c);t.pop(),r.pop()}else l=e;return l}t.jsonDiff=l,l.useLongestToken=!0,l.tokenize=o.lineDiff.tokenize,l.castInput=function(e){var t=this.options,r=t.undefinedReplacement,n=t.stringifyReplacer,i=void 0===n?function(e,t){return void 0===t?r:t}:n;return"string"==typeof e?e:JSON.stringify(u(e,null,null,i),i," ")},l.equals=function(e,t){return i.default.prototype.equals.call(l,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))}},93578:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.diffLines=function(e,t,r){return s.diff(e,t,r)},t.diffTrimmedLines=function(e,t,r){var n=(0,o.generateOptions)(r,{ignoreWhitespace:!0});return s.diff(e,t,n)},t.lineDiff=void 0;var n,i=(n=r(85969))&&n.__esModule?n:{default:n},o=r(36571);var s=new i.default;t.lineDiff=s,s.tokenize=function(e){var t=[],r=e.split(/(\n|\r\n)/);r[r.length-1]||r.pop();for(var n=0;n<r.length;n++){var i=r[n];n%2&&!this.options.newlineIsToken?t[t.length-1]+=i:(this.options.ignoreWhitespace&&(i=i.trim()),t.push(i))}return t}},89981:(e,t,r)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.diffSentences=function(e,t,r){return i.diff(e,t,r)},t.sentenceDiff=void 0;var i=new(((n=r(85969))&&n.__esModule?n:{default:n}).default);t.sentenceDiff=i,i.tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)}},45940:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.diffWords=function(e,t,r){return r=(0,o.generateOptions)(r,{ignoreWhitespace:!0}),l.diff(e,t,r)},t.diffWordsWithSpace=function(e,t,r){return l.diff(e,t,r)},t.wordDiff=void 0;var n,i=(n=r(85969))&&n.__esModule?n:{default:n},o=r(36571);var s=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,a=/\S/,l=new i.default;t.wordDiff=l,l.equals=function(e,t){return this.options.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t||this.options.ignoreWhitespace&&!a.test(e)&&!a.test(t)},l.tokenize=function(e){for(var t=e.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),r=0;r<t.length-1;r++)!t[r+1]&&t[r+2]&&s.test(t[r])&&s.test(t[r+2])&&(t[r]+=t[r+2],t.splice(r+1,2),r--);return t}},4700:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Diff",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"diffChars",{enumerable:!0,get:function(){return o.diffChars}}),Object.defineProperty(t,"diffWords",{enumerable:!0,get:function(){return s.diffWords}}),Object.defineProperty(t,"diffWordsWithSpace",{enumerable:!0,get:function(){return s.diffWordsWithSpace}}),Object.defineProperty(t,"diffLines",{enumerable:!0,get:function(){return a.diffLines}}),Object.defineProperty(t,"diffTrimmedLines",{enumerable:!0,get:function(){return a.diffTrimmedLines}}),Object.defineProperty(t,"diffSentences",{enumerable:!0,get:function(){return l.diffSentences}}),Object.defineProperty(t,"diffCss",{enumerable:!0,get:function(){return u.diffCss}}),Object.defineProperty(t,"diffJson",{enumerable:!0,get:function(){return c.diffJson}}),Object.defineProperty(t,"canonicalize",{enumerable:!0,get:function(){return c.canonicalize}}),Object.defineProperty(t,"diffArrays",{enumerable:!0,get:function(){return d.diffArrays}}),Object.defineProperty(t,"applyPatch",{enumerable:!0,get:function(){return f.applyPatch}}),Object.defineProperty(t,"applyPatches",{enumerable:!0,get:function(){return f.applyPatches}}),Object.defineProperty(t,"parsePatch",{enumerable:!0,get:function(){return h.parsePatch}}),Object.defineProperty(t,"merge",{enumerable:!0,get:function(){return p.merge}}),Object.defineProperty(t,"structuredPatch",{enumerable:!0,get:function(){return g.structuredPatch}}),Object.defineProperty(t,"createTwoFilesPatch",{enumerable:!0,get:function(){return g.createTwoFilesPatch}}),Object.defineProperty(t,"createPatch",{enumerable:!0,get:function(){return g.createPatch}}),Object.defineProperty(t,"convertChangesToDMP",{enumerable:!0,get:function(){return v.convertChangesToDMP}}),Object.defineProperty(t,"convertChangesToXML",{enumerable:!0,get:function(){return m.convertChangesToXML}});var n,i=(n=r(85969))&&n.__esModule?n:{default:n},o=r(75997),s=r(45940),a=r(93578),l=r(89981),u=r(98705),c=r(53258),d=r(17999),f=r(46489),h=r(70290),p=r(60697),g=r(13165),v=r(85589),m=r(51181)},46489:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.applyPatch=s,t.applyPatches=function(e,t){"string"==typeof e&&(e=(0,i.parsePatch)(e));var r=0;!function n(){var i=e[r++];if(!i)return t.complete();t.loadFile(i,(function(e,r){if(e)return t.complete(e);var o=s(r,i,t);t.patched(i,o,(function(e){if(e)return t.complete(e);n()}))}))}()};var n,i=r(70290),o=(n=r(28061))&&n.__esModule?n:{default:n};function s(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=(0,i.parsePatch)(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var n,s,a=e.split(/\r\n|[\n\v\f\r\x85]/),l=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],u=t.hunks,c=r.compareLine||function(e,t,r,n){return t===n},d=0,f=r.fuzzFactor||0,h=0,p=0;function g(e,t){for(var r=0;r<e.lines.length;r++){var n=e.lines[r],i=n.length>0?n[0]:" ",o=n.length>0?n.substr(1):n;if(" "===i||"-"===i){if(!c(t+1,a[t],i,o)&&++d>f)return!1;t++}}return!0}for(var v=0;v<u.length;v++){for(var m=u[v],y=a.length-m.oldLines,b=0,w=p+m.oldStart-1,k=(0,o.default)(w,h,y);void 0!==b;b=k())if(g(m,w+b)){m.offset=p+=b;break}if(void 0===b)return!1;h=m.offset+m.oldStart+m.oldLines}for(var x=0,C=0;C<u.length;C++){var j=u[C],L=j.oldStart+j.offset+x-1;x+=j.newLines-j.oldLines;for(var S=0;S<j.lines.length;S++){var $=j.lines[S],P=$.length>0?$[0]:" ",O=$.length>0?$.substr(1):$,N=j.linedelimiters[S];if(" "===P)L++;else if("-"===P)a.splice(L,1),l.splice(L,1);else if("+"===P)a.splice(L,0,O),l.splice(L,0,N),L++;else if("\\"===P){var D=j.lines[S-1]?j.lines[S-1][0]:null;"+"===D?n=!0:"-"===D&&(s=!0)}}}if(n)for(;!a[a.length-1];)a.pop(),l.pop();else s&&(a.push(""),l.push("\n"));for(var E=0;E<a.length-1;E++)a[E]=a[E]+l[E];return a.join("")}},13165:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.structuredPatch=s,t.formatPatch=a,t.createTwoFilesPatch=l,t.createPatch=function(e,t,r,n,i,o){return l(e,e,t,r,n,i,o)};var n=r(93578);function i(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function s(e,t,r,o,s,a,l){l||(l={}),void 0===l.context&&(l.context=4);var u=(0,n.diffLines)(r,o,l);if(u){u.push({value:"",lines:[]});for(var c=[],d=0,f=0,h=[],p=1,g=1,v=function(e){var t=u[e],n=t.lines||t.value.replace(/\n$/,"").split("\n");if(t.lines=n,t.added||t.removed){var s;if(!d){var a=u[e-1];d=p,f=g,a&&(h=l.context>0?y(a.lines.slice(-l.context)):[],d-=h.length,f-=h.length)}(s=h).push.apply(s,i(n.map((function(e){return(t.added?"+":"-")+e})))),t.added?g+=n.length:p+=n.length}else{if(d)if(n.length<=2*l.context&&e<u.length-2){var v;(v=h).push.apply(v,i(y(n)))}else{var m,b=Math.min(n.length,l.context);(m=h).push.apply(m,i(y(n.slice(0,b))));var w={oldStart:d,oldLines:p-d+b,newStart:f,newLines:g-f+b,lines:h};if(e>=u.length-2&&n.length<=l.context){var k=/\n$/.test(r),x=/\n$/.test(o),C=0==n.length&&h.length>w.oldLines;!k&&C&&r.length>0&&h.splice(w.oldLines,0,"\"),(k||C)&&x||h.push("\")}c.push(w),d=0,f=0,h=[]}p+=n.length,g+=n.length}},m=0;m<u.length;m++)v(m);return{oldFileName:e,newFileName:t,oldHeader:s,newHeader:a,hunks:c}}function y(e){return e.map((function(e){return" "+e}))}}function a(e){var t=[];e.oldFileName==e.newFileName&&t.push("Index: "+e.oldFileName),t.push("==================================================================="),t.push("--- "+e.oldFileName+(void 0===e.oldHeader?"":"\t"+e.oldHeader)),t.push("+++ "+e.newFileName+(void 0===e.newHeader?"":"\t"+e.newHeader));for(var r=0;r<e.hunks.length;r++){var n=e.hunks[r];0===n.oldLines&&(n.oldStart-=1),0===n.newLines&&(n.newStart-=1),t.push("@@ -"+n.oldStart+","+n.oldLines+" +"+n.newStart+","+n.newLines+" @@"),t.push.apply(t,n.lines)}return t.join("\n")+"\n"}function l(e,t,r,n,i,o,l){return a(s(e,t,r,n,i,o,l))}},60697:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calcLineCount=l,t.merge=function(e,t,r){e=u(e,r),t=u(t,r);var n={};(e.index||t.index)&&(n.index=e.index||t.index);(e.newFileName||t.newFileName)&&(c(e)?c(t)?(n.oldFileName=d(n,e.oldFileName,t.oldFileName),n.newFileName=d(n,e.newFileName,t.newFileName),n.oldHeader=d(n,e.oldHeader,t.oldHeader),n.newHeader=d(n,e.newHeader,t.newHeader)):(n.oldFileName=e.oldFileName,n.newFileName=e.newFileName,n.oldHeader=e.oldHeader,n.newHeader=e.newHeader):(n.oldFileName=t.oldFileName||e.oldFileName,n.newFileName=t.newFileName||e.newFileName,n.oldHeader=t.oldHeader||e.oldHeader,n.newHeader=t.newHeader||e.newHeader));n.hunks=[];var i=0,o=0,s=0,a=0;for(;i<e.hunks.length||o<t.hunks.length;){var l=e.hunks[i]||{oldStart:1/0},g=t.hunks[o]||{oldStart:1/0};if(f(l,g))n.hunks.push(h(l,s)),i++,a+=l.newLines-l.oldLines;else if(f(g,l))n.hunks.push(h(g,a)),o++,s+=g.newLines-g.oldLines;else{var v={oldStart:Math.min(l.oldStart,g.oldStart),oldLines:0,newStart:Math.min(l.newStart+s,g.oldStart+a),newLines:0,lines:[]};p(v,l.oldStart,l.lines,g.oldStart,g.lines),o++,i++,n.hunks.push(v)}}return n};var n=r(13165),i=r(70290),o=r(87364);function s(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function l(e){var t=C(e.lines),r=t.oldLines,n=t.newLines;void 0!==r?e.oldLines=r:delete e.oldLines,void 0!==n?e.newLines=n:delete e.newLines}function u(e,t){if("string"==typeof e){if(/^@@/m.test(e)||/^Index:/m.test(e))return(0,i.parsePatch)(e)[0];if(!t)throw new Error("Must provide a base reference or pass in a patch");return(0,n.structuredPatch)(void 0,void 0,t,e)}return e}function c(e){return e.newFileName&&e.newFileName!==e.oldFileName}function d(e,t,r){return t===r?t:(e.conflict=!0,{mine:t,theirs:r})}function f(e,t){return e.oldStart<t.oldStart&&e.oldStart+e.oldLines<t.oldStart}function h(e,t){return{oldStart:e.oldStart,oldLines:e.oldLines,newStart:e.newStart+t,newLines:e.newLines,lines:e.lines}}function p(e,t,r,n,i){var o={offset:t,lines:r,index:0},a={offset:n,lines:i,index:0};for(y(e,o,a),y(e,a,o);o.index<o.lines.length&&a.index<a.lines.length;){var u=o.lines[o.index],c=a.lines[a.index];if("-"!==u[0]&&"+"!==u[0]||"-"!==c[0]&&"+"!==c[0])if("+"===u[0]&&" "===c[0]){var d;(d=e.lines).push.apply(d,s(w(o)))}else if("+"===c[0]&&" "===u[0]){var f;(f=e.lines).push.apply(f,s(w(a)))}else"-"===u[0]&&" "===c[0]?v(e,o,a):"-"===c[0]&&" "===u[0]?v(e,a,o,!0):u===c?(e.lines.push(u),o.index++,a.index++):m(e,w(o),w(a));else g(e,o,a)}b(e,o),b(e,a),l(e)}function g(e,t,r){var n=w(t),i=w(r);if(k(n)&&k(i)){var a,l;if((0,o.arrayStartsWith)(n,i)&&x(r,n,n.length-i.length))return void(a=e.lines).push.apply(a,s(n));if((0,o.arrayStartsWith)(i,n)&&x(t,i,i.length-n.length))return void(l=e.lines).push.apply(l,s(i))}else if((0,o.arrayEqual)(n,i)){var u;return void(u=e.lines).push.apply(u,s(n))}m(e,n,i)}function v(e,t,r,n){var i,o=w(t),a=function(e,t){var r=[],n=[],i=0,o=!1,s=!1;for(;i<t.length&&e.index<e.lines.length;){var a=e.lines[e.index],l=t[i];if("+"===l[0])break;if(o=o||" "!==a[0],n.push(l),i++,"+"===a[0])for(s=!0;"+"===a[0];)r.push(a),a=e.lines[++e.index];l.substr(1)===a.substr(1)?(r.push(a),e.index++):s=!0}"+"===(t[i]||"")[0]&&o&&(s=!0);if(s)return r;for(;i<t.length;)n.push(t[i++]);return{merged:n,changes:r}}(r,o);a.merged?(i=e.lines).push.apply(i,s(a.merged)):m(e,n?a:o,n?o:a)}function m(e,t,r){e.conflict=!0,e.lines.push({conflict:!0,mine:t,theirs:r})}function y(e,t,r){for(;t.offset<r.offset&&t.index<t.lines.length;){var n=t.lines[t.index++];e.lines.push(n),t.offset++}}function b(e,t){for(;t.index<t.lines.length;){var r=t.lines[t.index++];e.lines.push(r)}}function w(e){for(var t=[],r=e.lines[e.index][0];e.index<e.lines.length;){var n=e.lines[e.index];if("-"===r&&"+"===n[0]&&(r="+"),r!==n[0])break;t.push(n),e.index++}return t}function k(e){return e.reduce((function(e,t){return e&&"-"===t[0]}),!0)}function x(e,t,r){for(var n=0;n<r;n++){var i=t[t.length-r+n].substr(1);if(e.lines[e.index+n]!==" "+i)return!1}return e.index+=r,!0}function C(e){var t=0,r=0;return e.forEach((function(e){if("string"!=typeof e){var n=C(e.mine),i=C(e.theirs);void 0!==t&&(n.oldLines===i.oldLines?t+=n.oldLines:t=void 0),void 0!==r&&(n.newLines===i.newLines?r+=n.newLines:r=void 0)}else void 0===r||"+"!==e[0]&&" "!==e[0]||r++,void 0===t||"-"!==e[0]&&" "!==e[0]||t++})),{oldLines:t,newLines:r}}},70290:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parsePatch=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.split(/\r\n|[\n\v\f\r\x85]/),n=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],i=[],o=0;function s(){var e={};for(i.push(e);o<r.length;){var n=r[o];if(/^(\-\-\-|\+\+\+|@@)\s/.test(n))break;var s=/^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(n);s&&(e.index=s[1]),o++}for(a(e),a(e),e.hunks=[];o<r.length;){var u=r[o];if(/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(u))break;if(/^@@/.test(u))e.hunks.push(l());else{if(u&&t.strict)throw new Error("Unknown line "+(o+1)+" "+JSON.stringify(u));o++}}}function a(e){var t=/^(---|\+\+\+)\s+(.*)$/.exec(r[o]);if(t){var n="---"===t[1]?"old":"new",i=t[2].split("\t",2),s=i[0].replace(/\\\\/g,"\\");/^".*"$/.test(s)&&(s=s.substr(1,s.length-2)),e[n+"FileName"]=s,e[n+"Header"]=(i[1]||"").trim(),o++}}function l(){var e=o,i=r[o++].split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/),s={oldStart:+i[1],oldLines:void 0===i[2]?1:+i[2],newStart:+i[3],newLines:void 0===i[4]?1:+i[4],lines:[],linedelimiters:[]};0===s.oldLines&&(s.oldStart+=1),0===s.newLines&&(s.newStart+=1);for(var a=0,l=0;o<r.length&&!(0===r[o].indexOf("--- ")&&o+2<r.length&&0===r[o+1].indexOf("+++ ")&&0===r[o+2].indexOf("@@"));o++){var u=0==r[o].length&&o!=r.length-1?" ":r[o][0];if("+"!==u&&"-"!==u&&" "!==u&&"\\"!==u)break;s.lines.push(r[o]),s.linedelimiters.push(n[o]||"\n"),"+"===u?a++:"-"===u?l++:" "===u&&(a++,l++)}if(a||1!==s.newLines||(s.newLines=0),l||1!==s.oldLines||(s.oldLines=0),t.strict){if(a!==s.newLines)throw new Error("Added line count did not match for hunk at line "+(e+1));if(l!==s.oldLines)throw new Error("Removed line count did not match for hunk at line "+(e+1))}return s}for(;o<r.length;)s();return i}},87364:(e,t)=>{"use strict";function r(e,t){if(t.length>e.length)return!1;for(var r=0;r<t.length;r++)if(t[r]!==e[r])return!1;return!0}Object.defineProperty(t,"__esModule",{value:!0}),t.arrayEqual=function(e,t){if(e.length!==t.length)return!1;return r(e,t)},t.arrayStartsWith=r},28061:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){var n=!0,i=!1,o=!1,s=1;return function a(){if(n&&!o){if(i?s++:n=!1,e+s<=r)return s;o=!0}if(!i)return o||(n=!0),t<=e-s?-s++:(i=!0,a())}}},36571:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateOptions=function(e,t){if("function"==typeof e)t.callback=e;else if(e)for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t}},46942:(e,t)=>{var r;
|
|
2
|
-
/*!
|
|
3
|
-
Copyright (c) 2018 Jed Watson.
|
|
4
|
-
Licensed under the MIT License (MIT), see
|
|
5
|
-
http://jedwatson.github.io/classnames
|
|
6
|
-
*/!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=s(e,o(r)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)n.call(e,r)&&e[r]&&(t=s(t,r));return t}function s(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()}}]);
|