summaryrefslogtreecommitdiffstats
path: root/core/js/dist/login.js
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-02-10 09:41:11 +0100
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-02-10 12:05:43 +0100
commitc47a0a01534d81f923d2d1f69da764f1c6a3754e (patch)
treec9ec30a1a74835b9a3d48577d00986326ac7c5c3 /core/js/dist/login.js
parentdf4ca949f533513a9ea90afa363c0bd0ee74c134 (diff)
downloadnextcloud-server-c47a0a01534d81f923d2d1f69da764f1c6a3754e.tar.gz
nextcloud-server-c47a0a01534d81f923d2d1f69da764f1c6a3754e.zip
Add more tests for the new js modules
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'core/js/dist/login.js')
-rw-r--r--core/js/dist/login.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/dist/login.js b/core/js/dist/login.js
index 2552fe2657f..1de2367e4e2 100644
--- a/core/js/dist/login.js
+++ b/core/js/dist/login.js
@@ -207,7 +207,7 @@ window._oc_l10n_registry_translations=window._oc_l10n_registry_translations||{},
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
-function o(t,n,r){"post"!==t&&"delete"!==t||!a.a.PasswordConfirmation.requiresPasswordConfirmation()?(r=r||{},i.a.ajax({type:t.toUpperCase(),url:a.a.linkToOCS("apps/provisioning_api/api/v1",2)+"config/apps"+n,data:r.data||{},success:r.success,error:r.error})):a.a.PasswordConfirmation.requirePasswordConfirmation(e.bind(o,this,t,n,r))}function s(e){o("get","",e)}function u(e,t){o("get","/"+e,t)}function c(e,t,n,r){(r=r||{}).data={defaultValue:n},o("get","/"+e+"/"+t,r)}function l(e,t,n,r){(r=r||{}).data={value:n},o("post","/"+e+"/"+t,r)}function d(e,t,n){o("delete","/"+e+"/"+t,n)}}.call(this,n(2))},function(e,t,n){e.exports=function(){"use strict";var e=Object.hasOwnProperty,t=Object.setPrototypeOf,n=Object.isFrozen,r=Object.keys,i=Object.freeze,a=Object.seal,o="undefined"!=typeof Reflect&&Reflect,s=o.apply,u=o.construct;s||(s=function(e,t,n){return e.apply(t,n)}),i||(i=function(e){return e}),a||(a=function(e){return e}),u||(u=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(t))))});var c=b(Array.prototype.forEach),l=b(Array.prototype.indexOf),d=b(Array.prototype.join),f=b(Array.prototype.pop),h=b(Array.prototype.push),p=b(Array.prototype.slice),m=b(String.prototype.toLowerCase),_=b(String.prototype.match),v=b(String.prototype.replace),y=b(String.prototype.indexOf),g=b(String.prototype.trim),M=b(RegExp.prototype.test),L=k(RegExp),w=k(TypeError);function b(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return s(e,t,r)}}function k(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return u(e,n)}}function T(e,r){t&&t(e,null);for(var i=r.length;i--;){var a=r[i];if("string"==typeof a){var o=m(a);o!==a&&(n(r)||(r[i]=o),a=o)}e[a]=!0}return e}function Y(t){var n={},r=void 0;for(r in t)s(e,t,[r])&&(n[r]=t[r]);return n}var x=i(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),D=i(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","audio","canvas","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","video","view","vkern"]),S=i(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),E=i(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),O=i(["#text"]),A=i(["accept","action","align","alt","autocomplete","background","bgcolor","border","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","coords","crossorigin","datetime","default","dir","disabled","download","enctype","face","for","headers","height","hidden","high","href","hreflang","id","integrity","ismap","label","lang","list","loop","low","max","maxlength","media","method","min","minlength","multiple","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","type","usemap","valign","value","width","xmlns"]),j=i(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),P=i(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),C=i(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),H=a(/\{\{[\s\S]*|[\s\S]*\}\}/gm),I=a(/<%[\s\S]*|[\s\S]*%>/gm),N=a(/^data-[\-\w.\u00B7-\uFFFF]/),R=a(/^aria-[\-\w]+$/),F=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),W=a(/^(?:\w+script|data):/i),$=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g),z="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};function U(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var B=function(){return"undefined"==typeof window?null:window},G=function(e,t){if("object"!==(void 0===e?"undefined":z(e))||"function"!=typeof e.createPolicy)return null;var n=null;t.currentScript&&t.currentScript.hasAttribute("data-tt-policy-suffix")&&(n=t.currentScript.getAttribute("data-tt-policy-suffix"));var r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}};return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:B(),n=function(t){return e(t)};if(n.version="2.0.8",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var a=t.document,o=!1,s=!1,u=t.document,b=t.DocumentFragment,k=t.HTMLTemplateElement,q=t.Node,V=t.NodeFilter,J=t.NamedNodeMap,X=void 0===J?t.NamedNodeMap||t.MozNamedAttrMap:J,K=t.Text,Z=t.Comment,Q=t.DOMParser,ee=t.trustedTypes;if("function"==typeof k){var te=u.createElement("template");te.content&&te.content.ownerDocument&&(u=te.content.ownerDocument)}var ne=G(ee,a),re=ne?ne.createHTML(""):"",ie=u,ae=ie.implementation,oe=ie.createNodeIterator,se=ie.getElementsByTagName,ue=ie.createDocumentFragment,ce=a.importNode,le={};n.isSupported=ae&&void 0!==ae.createHTMLDocument&&9!==u.documentMode;var de=H,fe=I,he=N,pe=R,me=W,_e=$,ve=F,ye=null,ge=T({},[].concat(U(x),U(D),U(S),U(E),U(O))),Me=null,Le=T({},[].concat(U(A),U(j),U(P),U(C))),we=null,be=null,ke=!0,Te=!0,Ye=!1,xe=!1,De=!1,Se=!1,Ee=!1,Oe=!1,Ae=!1,je=!1,Pe=!1,Ce=!1,He=!0,Ie=!0,Ne=!1,Re={},Fe=T({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","plaintext","script","style","svg","template","thead","title","video","xmp"]),We=T({},["audio","video","img","source","image"]),$e=null,ze=T({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),Ue=null,Be=u.createElement("form"),Ge=function(e){Ue&&Ue===e||(e&&"object"===(void 0===e?"undefined":z(e))||(e={}),ye="ALLOWED_TAGS"in e?T({},e.ALLOWED_TAGS):ge,Me="ALLOWED_ATTR"in e?T({},e.ALLOWED_ATTR):Le,$e="ADD_URI_SAFE_ATTR"in e?T(Y(ze),e.ADD_URI_SAFE_ATTR):ze,we="FORBID_TAGS"in e?T({},e.FORBID_TAGS):{},be="FORBID_ATTR"in e?T({},e.FORBID_ATTR):{},Re="USE_PROFILES"in e&&e.USE_PROFILES,ke=!1!==e.ALLOW_ARIA_ATTR,Te=!1!==e.ALLOW_DATA_ATTR,Ye=e.ALLOW_UNKNOWN_PROTOCOLS||!1,xe=e.SAFE_FOR_JQUERY||!1,De=e.SAFE_FOR_TEMPLATES||!1,Se=e.WHOLE_DOCUMENT||!1,Ae=e.RETURN_DOM||!1,je=e.RETURN_DOM_FRAGMENT||!1,Pe=e.RETURN_DOM_IMPORT||!1,Ce=e.RETURN_TRUSTED_TYPE||!1,Oe=e.FORCE_BODY||!1,He=!1!==e.SANITIZE_DOM,Ie=!1!==e.KEEP_CONTENT,Ne=e.IN_PLACE||!1,ve=e.ALLOWED_URI_REGEXP||ve,De&&(Te=!1),je&&(Ae=!0),Re&&(ye=T({},[].concat(U(O))),Me=[],!0===Re.html&&(T(ye,x),T(Me,A)),!0===Re.svg&&(T(ye,D),T(Me,j),T(Me,C)),!0===Re.svgFilters&&(T(ye,S),T(Me,j),T(Me,C)),!0===Re.mathMl&&(T(ye,E),T(Me,P),T(Me,C))),e.ADD_TAGS&&(ye===ge&&(ye=Y(ye)),T(ye,e.ADD_TAGS)),e.ADD_ATTR&&(Me===Le&&(Me=Y(Me)),T(Me,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&T($e,e.ADD_URI_SAFE_ATTR),Ie&&(ye["#text"]=!0),Se&&T(ye,["html","head","body"]),ye.table&&(T(ye,["tbody"]),delete we.tbody),i&&i(e),Ue=e)},qe=function(e){h(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.outerHTML=re}},Ve=function(e,t){try{h(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){h(n.removed,{attribute:null,from:t})}t.removeAttribute(e)},Je=function(e){var t=void 0,n=void 0;if(Oe)e="<remove></remove>"+e;else{var r=_(e,/^[\s]+/);n=r&&r[0]}var i=ne?ne.createHTML(e):e;if(o)try{t=(new Q).parseFromString(i,"text/html")}catch(e){}if(s&&T(we,["title"]),!t||!t.documentElement){var a=(t=ae.createHTMLDocument("")).body;a.parentNode.removeChild(a.parentNode.firstElementChild),a.outerHTML=i}return e&&n&&t.body.insertBefore(u.createTextNode(n),t.body.childNodes[0]||null),se.call(t,Se?"html":"body")[0]};n.isSupported&&(function(){try{Je('<svg><p><textarea><img src="</textarea><img src=x abc=1//">').querySelector("svg img")&&(o=!0)}catch(e){}}(),function(){try{var e=Je("<x/><title>&lt;/title&gt;&lt;img&gt;");M(/<\/title/,e.querySelector("title").innerHTML)&&(s=!0)}catch(e){}}());var Xe=function(e){return oe.call(e.ownerDocument||e,e,V.SHOW_ELEMENT|V.SHOW_COMMENT|V.SHOW_TEXT,(function(){return V.FILTER_ACCEPT}),!1)},Ke=function(e){return"object"===(void 0===q?"undefined":z(q))?e instanceof q:e&&"object"===(void 0===e?"undefined":z(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},Ze=function(e,t,r){le[e]&&c(le[e],(function(e){e.call(n,t,r,Ue)}))},Qe=function(e){var t,r=void 0;if(Ze("beforeSanitizeElements",e,null),!((t=e)instanceof K||t instanceof Z||"string"==typeof t.nodeName&&"string"==typeof t.textContent&&"function"==typeof t.removeChild&&t.attributes instanceof X&&"function"==typeof t.removeAttribute&&"function"==typeof t.setAttribute&&"string"==typeof t.namespaceURI))return qe(e),!0;var i=m(e.nodeName);if(Ze("uponSanitizeElement",e,{tagName:i,allowedTags:ye}),("svg"===i||"math"===i)&&0!==e.querySelectorAll("p, br").length)return qe(e),!0;if(!ye[i]||we[i]){if(Ie&&!Fe[i]&&"function"==typeof e.insertAdjacentHTML)try{var a=e.innerHTML;e.insertAdjacentHTML("AfterEnd",ne?ne.createHTML(a):a)}catch(e){}return qe(e),!0}return"noscript"===i&&M(/<\/noscript/i,e.innerHTML)?(qe(e),!0):"noembed"===i&&M(/<\/noembed/i,e.innerHTML)?(qe(e),!0):(!xe||e.firstElementChild||e.content&&e.content.firstElementChild||!M(/</g,e.textContent)||(h(n.removed,{element:e.cloneNode()}),e.innerHTML?e.innerHTML=v(e.innerHTML,/</g,"&lt;"):e.innerHTML=v(e.textContent,/</g,"&lt;")),De&&3===e.nodeType&&(r=e.textContent,r=v(r,de," "),r=v(r,fe," "),e.textContent!==r&&(h(n.removed,{element:e.cloneNode()}),e.textContent=r)),Ze("afterSanitizeElements",e,null),!1)},et=function(e,t,n){if(He&&("id"===t||"name"===t)&&(n in u||n in Be))return!1;if(Te&&M(he,t));else if(ke&&M(pe,t));else{if(!Me[t]||be[t])return!1;if($e[t]);else if(M(ve,v(n,_e,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==y(n,"data:")||!We[e])if(Ye&&!M(me,v(n,_e,"")));else if(n)return!1}return!0},tt=function(e){var t=void 0,i=void 0,a=void 0,o=void 0,s=void 0;Ze("beforeSanitizeAttributes",e,null);var u=e.attributes;if(u){var c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Me};for(s=u.length;s--;){var h=t=u[s],_=h.name,y=h.namespaceURI;if(i=g(t.value),a=m(_),c.attrName=a,c.attrValue=i,c.keepAttr=!0,c.forceKeepAttr=void 0,Ze("uponSanitizeAttribute",e,c),i=c.attrValue,!c.forceKeepAttr){if("name"===a&&"IMG"===e.nodeName&&u.id)o=u.id,u=p(u,[]),Ve("id",e),Ve(_,e),l(u,o)>s&&e.setAttribute("id",o.value);else{if("INPUT"===e.nodeName&&"type"===a&&"file"===i&&c.keepAttr&&(Me[a]||!be[a]))continue;"id"===_&&e.setAttribute(_,""),Ve(_,e)}if(c.keepAttr)if(xe&&M(/\/>/i,i))Ve(_,e);else if(M(/svg|math/i,e.namespaceURI)&&M(L("</("+d(r(Fe),"|")+")","i"),i))Ve(_,e);else{De&&(i=v(i,de," "),i=v(i,fe," "));var w=e.nodeName.toLowerCase();if(et(w,a,i))try{y?e.setAttributeNS(y,_,i):e.setAttribute(_,i),f(n.removed)}catch(e){}}}}Ze("afterSanitizeAttributes",e,null)}},nt=function e(t){var n=void 0,r=Xe(t);for(Ze("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)Ze("uponSanitizeShadowNode",n,null),Qe(n)||(n.content instanceof b&&e(n.content),tt(n));Ze("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e,r){var i=void 0,o=void 0,s=void 0,u=void 0,c=void 0;if(e||(e="\x3c!--\x3e"),"string"!=typeof e&&!Ke(e)){if("function"!=typeof e.toString)throw w("toString is not a function");if("string"!=typeof(e=e.toString()))throw w("dirty is not a string, aborting")}if(!n.isSupported){if("object"===z(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof e)return t.toStaticHTML(e);if(Ke(e))return t.toStaticHTML(e.outerHTML)}return e}if(Ee||Ge(r),n.removed=[],"string"==typeof e&&(Ne=!1),Ne);else if(e instanceof q)1===(o=(i=Je("\x3c!--\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===o.nodeName?i=o:"HTML"===o.nodeName?i=o:i.appendChild(o);else{if(!Ae&&!De&&!Se&&Ce&&-1===e.indexOf("<"))return ne?ne.createHTML(e):e;if(!(i=Je(e)))return Ae?null:re}i&&Oe&&qe(i.firstChild);for(var l=Xe(Ne?e:i);s=l.nextNode();)3===s.nodeType&&s===u||Qe(s)||(s.content instanceof b&&nt(s.content),tt(s),u=s);if(u=null,Ne)return e;if(Ae){if(je)for(c=ue.call(i.ownerDocument);i.firstChild;)c.appendChild(i.firstChild);else c=i;return Pe&&(c=ce.call(a,c,!0)),c}var d=Se?i.outerHTML:i.innerHTML;return De&&(d=v(d,de," "),d=v(d,fe," ")),ne&&Ce?ne.createHTML(d):d},n.setConfig=function(e){Ge(e),Ee=!0},n.clearConfig=function(){Ue=null,Ee=!1},n.isValidAttribute=function(e,t,n){Ue||Ge({});var r=m(e),i=m(t);return et(r,i,n)},n.addHook=function(e,t){"function"==typeof t&&(le[e]=le[e]||[],h(le[e],t))},n.removeHook=function(e){le[e]&&f(le[e])},n.removeHooks=function(e){le[e]&&(le[e]=[])},n.removeAllHooks=function(){le={}},n}()}()},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(38);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,n){var r=n(18),i=n(222),a=n(46),o=n(223),s=n(228),u=n(518),c=i("wks"),l=r.Symbol,d=u?l:l&&l.withoutSetter||o;e.exports=function(e){return a(c,e)||(s&&a(l,e)?c[e]=l[e]:c[e]=d("Symbol."+e)),c[e]}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return o}));var r=n(56),i=document.getElementsByTagName("head")[0].getAttribute("data-requesttoken"),a=function(){return i},o=function(e){i=e,Object(r.emit)("csrf-token-update",{token:i})}},function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(arguments.length<1)return"";var r=t.filter((function(e){return e.length>0}));if(r.length<1)return"";var i=r[r.length-1],a="/"===r[0].charAt(0),o="/"===i.charAt(i.length-1),s=r.reduce((function(e,t){return e.concat(t.split("/"))}),[]),u=!a,c=s.reduce((function(e,t){return""===t?e:u?(u=!1,e+t):e+"/"+t}),"");return o?c+"/":c}n(500),n(520),n(522),n(524),n(525),n(528),n(530),Object.defineProperty(t,"__esModule",{value:!0}),t.encodePath=function(e){if(!e)return e;return e.split("/").map(encodeURIComponent).join("/")},t.basename=function(e){return e.replace(/\\/g,"/").replace(/.*\//,"")},t.dirname=function(e){return e.replace(/\\/g,"/").replace(/\/[^\/]*$/,"")},t.joinPaths=r,t.isSamePath=function(e,t){var n=(e||"").split("/").filter((function(e){return"."!==e})),i=(t||"").split("/").filter((function(e){return"."!==e}));return e=r.apply(void 0,n),t=r.apply(void 0,i),e===t}},,,function(e,t,n){"use strict";
+function o(t,n,r){"post"!==t&&"delete"!==t||!a.a.PasswordConfirmation.requiresPasswordConfirmation()?(r=r||{},i.a.ajax({type:t.toUpperCase(),url:a.a.linkToOCS("apps/provisioning_api/api/v1",2)+"config/apps"+n,data:r.data||{},success:r.success,error:r.error})):a.a.PasswordConfirmation.requirePasswordConfirmation(e.bind(o,this,t,n,r))}function s(e){o("get","",e)}function u(e,t){o("get","/"+e,t)}function c(e,t,n,r){(r=r||{}).data={defaultValue:n},o("get","/"+e+"/"+t,r)}function l(e,t,n,r){(r=r||{}).data={value:n},o("post","/"+e+"/"+t,r)}function d(e,t,n){o("delete","/"+e+"/"+t,n)}}.call(this,n(2))},function(e,t,n){e.exports=function(){"use strict";var e=Object.hasOwnProperty,t=Object.setPrototypeOf,n=Object.isFrozen,r=Object.keys,i=Object.freeze,a=Object.seal,o="undefined"!=typeof Reflect&&Reflect,s=o.apply,u=o.construct;s||(s=function(e,t,n){return e.apply(t,n)}),i||(i=function(e){return e}),a||(a=function(e){return e}),u||(u=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(t))))});var c=b(Array.prototype.forEach),l=b(Array.prototype.indexOf),d=b(Array.prototype.join),f=b(Array.prototype.pop),h=b(Array.prototype.push),p=b(Array.prototype.slice),m=b(String.prototype.toLowerCase),_=b(String.prototype.match),v=b(String.prototype.replace),y=b(String.prototype.indexOf),g=b(String.prototype.trim),M=b(RegExp.prototype.test),L=k(RegExp),w=k(TypeError);function b(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return s(e,t,r)}}function k(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return u(e,n)}}function T(e,r){t&&t(e,null);for(var i=r.length;i--;){var a=r[i];if("string"==typeof a){var o=m(a);o!==a&&(n(r)||(r[i]=o),a=o)}e[a]=!0}return e}function Y(t){var n={},r=void 0;for(r in t)s(e,t,[r])&&(n[r]=t[r]);return n}var x=i(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),D=i(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","audio","canvas","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","video","view","vkern"]),S=i(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),E=i(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),O=i(["#text"]),A=i(["accept","action","align","alt","autocomplete","background","bgcolor","border","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","coords","crossorigin","datetime","default","dir","disabled","download","enctype","face","for","headers","height","hidden","high","href","hreflang","id","integrity","ismap","label","lang","list","loop","low","max","maxlength","media","method","min","minlength","multiple","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","type","usemap","valign","value","width","xmlns"]),j=i(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),P=i(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),C=i(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),H=a(/\{\{[\s\S]*|[\s\S]*\}\}/gm),I=a(/<%[\s\S]*|[\s\S]*%>/gm),N=a(/^data-[\-\w.\u00B7-\uFFFF]/),R=a(/^aria-[\-\w]+$/),F=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),W=a(/^(?:\w+script|data):/i),$=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g),z="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};function U(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var B=function(){return"undefined"==typeof window?null:window},G=function(e,t){if("object"!==(void 0===e?"undefined":z(e))||"function"!=typeof e.createPolicy)return null;var n=null;t.currentScript&&t.currentScript.hasAttribute("data-tt-policy-suffix")&&(n=t.currentScript.getAttribute("data-tt-policy-suffix"));var r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}};return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:B(),n=function(t){return e(t)};if(n.version="2.0.8",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var a=t.document,o=!1,s=!1,u=t.document,b=t.DocumentFragment,k=t.HTMLTemplateElement,q=t.Node,V=t.NodeFilter,J=t.NamedNodeMap,X=void 0===J?t.NamedNodeMap||t.MozNamedAttrMap:J,K=t.Text,Z=t.Comment,Q=t.DOMParser,ee=t.trustedTypes;if("function"==typeof k){var te=u.createElement("template");te.content&&te.content.ownerDocument&&(u=te.content.ownerDocument)}var ne=G(ee,a),re=ne?ne.createHTML(""):"",ie=u,ae=ie.implementation,oe=ie.createNodeIterator,se=ie.getElementsByTagName,ue=ie.createDocumentFragment,ce=a.importNode,le={};n.isSupported=ae&&void 0!==ae.createHTMLDocument&&9!==u.documentMode;var de=H,fe=I,he=N,pe=R,me=W,_e=$,ve=F,ye=null,ge=T({},[].concat(U(x),U(D),U(S),U(E),U(O))),Me=null,Le=T({},[].concat(U(A),U(j),U(P),U(C))),we=null,be=null,ke=!0,Te=!0,Ye=!1,xe=!1,De=!1,Se=!1,Ee=!1,Oe=!1,Ae=!1,je=!1,Pe=!1,Ce=!1,He=!0,Ie=!0,Ne=!1,Re={},Fe=T({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","plaintext","script","style","svg","template","thead","title","video","xmp"]),We=T({},["audio","video","img","source","image"]),$e=null,ze=T({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),Ue=null,Be=u.createElement("form"),Ge=function(e){Ue&&Ue===e||(e&&"object"===(void 0===e?"undefined":z(e))||(e={}),ye="ALLOWED_TAGS"in e?T({},e.ALLOWED_TAGS):ge,Me="ALLOWED_ATTR"in e?T({},e.ALLOWED_ATTR):Le,$e="ADD_URI_SAFE_ATTR"in e?T(Y(ze),e.ADD_URI_SAFE_ATTR):ze,we="FORBID_TAGS"in e?T({},e.FORBID_TAGS):{},be="FORBID_ATTR"in e?T({},e.FORBID_ATTR):{},Re="USE_PROFILES"in e&&e.USE_PROFILES,ke=!1!==e.ALLOW_ARIA_ATTR,Te=!1!==e.ALLOW_DATA_ATTR,Ye=e.ALLOW_UNKNOWN_PROTOCOLS||!1,xe=e.SAFE_FOR_JQUERY||!1,De=e.SAFE_FOR_TEMPLATES||!1,Se=e.WHOLE_DOCUMENT||!1,Ae=e.RETURN_DOM||!1,je=e.RETURN_DOM_FRAGMENT||!1,Pe=e.RETURN_DOM_IMPORT||!1,Ce=e.RETURN_TRUSTED_TYPE||!1,Oe=e.FORCE_BODY||!1,He=!1!==e.SANITIZE_DOM,Ie=!1!==e.KEEP_CONTENT,Ne=e.IN_PLACE||!1,ve=e.ALLOWED_URI_REGEXP||ve,De&&(Te=!1),je&&(Ae=!0),Re&&(ye=T({},[].concat(U(O))),Me=[],!0===Re.html&&(T(ye,x),T(Me,A)),!0===Re.svg&&(T(ye,D),T(Me,j),T(Me,C)),!0===Re.svgFilters&&(T(ye,S),T(Me,j),T(Me,C)),!0===Re.mathMl&&(T(ye,E),T(Me,P),T(Me,C))),e.ADD_TAGS&&(ye===ge&&(ye=Y(ye)),T(ye,e.ADD_TAGS)),e.ADD_ATTR&&(Me===Le&&(Me=Y(Me)),T(Me,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&T($e,e.ADD_URI_SAFE_ATTR),Ie&&(ye["#text"]=!0),Se&&T(ye,["html","head","body"]),ye.table&&(T(ye,["tbody"]),delete we.tbody),i&&i(e),Ue=e)},qe=function(e){h(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.outerHTML=re}},Ve=function(e,t){try{h(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){h(n.removed,{attribute:null,from:t})}t.removeAttribute(e)},Je=function(e){var t=void 0,n=void 0;if(Oe)e="<remove></remove>"+e;else{var r=_(e,/^[\s]+/);n=r&&r[0]}var i=ne?ne.createHTML(e):e;if(o)try{t=(new Q).parseFromString(i,"text/html")}catch(e){}if(s&&T(we,["title"]),!t||!t.documentElement){var a=(t=ae.createHTMLDocument("")).body;a.parentNode.removeChild(a.parentNode.firstElementChild),a.outerHTML=i}return e&&n&&t.body.insertBefore(u.createTextNode(n),t.body.childNodes[0]||null),se.call(t,Se?"html":"body")[0]};n.isSupported&&(function(){try{Je('<svg><p><textarea><img src="</textarea><img src=x abc=1//">').querySelector("svg img")&&(o=!0)}catch(e){}}(),function(){try{var e=Je("<x/><title>&lt;/title&gt;&lt;img&gt;");M(/<\/title/,e.querySelector("title").innerHTML)&&(s=!0)}catch(e){}}());var Xe=function(e){return oe.call(e.ownerDocument||e,e,V.SHOW_ELEMENT|V.SHOW_COMMENT|V.SHOW_TEXT,(function(){return V.FILTER_ACCEPT}),!1)},Ke=function(e){return"object"===(void 0===q?"undefined":z(q))?e instanceof q:e&&"object"===(void 0===e?"undefined":z(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},Ze=function(e,t,r){le[e]&&c(le[e],(function(e){e.call(n,t,r,Ue)}))},Qe=function(e){var t,r=void 0;if(Ze("beforeSanitizeElements",e,null),!((t=e)instanceof K||t instanceof Z||"string"==typeof t.nodeName&&"string"==typeof t.textContent&&"function"==typeof t.removeChild&&t.attributes instanceof X&&"function"==typeof t.removeAttribute&&"function"==typeof t.setAttribute&&"string"==typeof t.namespaceURI))return qe(e),!0;var i=m(e.nodeName);if(Ze("uponSanitizeElement",e,{tagName:i,allowedTags:ye}),("svg"===i||"math"===i)&&0!==e.querySelectorAll("p, br").length)return qe(e),!0;if(!ye[i]||we[i]){if(Ie&&!Fe[i]&&"function"==typeof e.insertAdjacentHTML)try{var a=e.innerHTML;e.insertAdjacentHTML("AfterEnd",ne?ne.createHTML(a):a)}catch(e){}return qe(e),!0}return"noscript"===i&&M(/<\/noscript/i,e.innerHTML)?(qe(e),!0):"noembed"===i&&M(/<\/noembed/i,e.innerHTML)?(qe(e),!0):(!xe||e.firstElementChild||e.content&&e.content.firstElementChild||!M(/</g,e.textContent)||(h(n.removed,{element:e.cloneNode()}),e.innerHTML?e.innerHTML=v(e.innerHTML,/</g,"&lt;"):e.innerHTML=v(e.textContent,/</g,"&lt;")),De&&3===e.nodeType&&(r=e.textContent,r=v(r,de," "),r=v(r,fe," "),e.textContent!==r&&(h(n.removed,{element:e.cloneNode()}),e.textContent=r)),Ze("afterSanitizeElements",e,null),!1)},et=function(e,t,n){if(He&&("id"===t||"name"===t)&&(n in u||n in Be))return!1;if(Te&&M(he,t));else if(ke&&M(pe,t));else{if(!Me[t]||be[t])return!1;if($e[t]);else if(M(ve,v(n,_e,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==y(n,"data:")||!We[e])if(Ye&&!M(me,v(n,_e,"")));else if(n)return!1}return!0},tt=function(e){var t=void 0,i=void 0,a=void 0,o=void 0,s=void 0;Ze("beforeSanitizeAttributes",e,null);var u=e.attributes;if(u){var c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Me};for(s=u.length;s--;){var h=t=u[s],_=h.name,y=h.namespaceURI;if(i=g(t.value),a=m(_),c.attrName=a,c.attrValue=i,c.keepAttr=!0,c.forceKeepAttr=void 0,Ze("uponSanitizeAttribute",e,c),i=c.attrValue,!c.forceKeepAttr){if("name"===a&&"IMG"===e.nodeName&&u.id)o=u.id,u=p(u,[]),Ve("id",e),Ve(_,e),l(u,o)>s&&e.setAttribute("id",o.value);else{if("INPUT"===e.nodeName&&"type"===a&&"file"===i&&c.keepAttr&&(Me[a]||!be[a]))continue;"id"===_&&e.setAttribute(_,""),Ve(_,e)}if(c.keepAttr)if(xe&&M(/\/>/i,i))Ve(_,e);else if(M(/svg|math/i,e.namespaceURI)&&M(L("</("+d(r(Fe),"|")+")","i"),i))Ve(_,e);else{De&&(i=v(i,de," "),i=v(i,fe," "));var w=e.nodeName.toLowerCase();if(et(w,a,i))try{y?e.setAttributeNS(y,_,i):e.setAttribute(_,i),f(n.removed)}catch(e){}}}}Ze("afterSanitizeAttributes",e,null)}},nt=function e(t){var n=void 0,r=Xe(t);for(Ze("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)Ze("uponSanitizeShadowNode",n,null),Qe(n)||(n.content instanceof b&&e(n.content),tt(n));Ze("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e,r){var i=void 0,o=void 0,s=void 0,u=void 0,c=void 0;if(e||(e="\x3c!--\x3e"),"string"!=typeof e&&!Ke(e)){if("function"!=typeof e.toString)throw w("toString is not a function");if("string"!=typeof(e=e.toString()))throw w("dirty is not a string, aborting")}if(!n.isSupported){if("object"===z(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof e)return t.toStaticHTML(e);if(Ke(e))return t.toStaticHTML(e.outerHTML)}return e}if(Ee||Ge(r),n.removed=[],"string"==typeof e&&(Ne=!1),Ne);else if(e instanceof q)1===(o=(i=Je("\x3c!--\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===o.nodeName?i=o:"HTML"===o.nodeName?i=o:i.appendChild(o);else{if(!Ae&&!De&&!Se&&Ce&&-1===e.indexOf("<"))return ne?ne.createHTML(e):e;if(!(i=Je(e)))return Ae?null:re}i&&Oe&&qe(i.firstChild);for(var l=Xe(Ne?e:i);s=l.nextNode();)3===s.nodeType&&s===u||Qe(s)||(s.content instanceof b&&nt(s.content),tt(s),u=s);if(u=null,Ne)return e;if(Ae){if(je)for(c=ue.call(i.ownerDocument);i.firstChild;)c.appendChild(i.firstChild);else c=i;return Pe&&(c=ce.call(a,c,!0)),c}var d=Se?i.outerHTML:i.innerHTML;return De&&(d=v(d,de," "),d=v(d,fe," ")),ne&&Ce?ne.createHTML(d):d},n.setConfig=function(e){Ge(e),Ee=!0},n.clearConfig=function(){Ue=null,Ee=!1},n.isValidAttribute=function(e,t,n){Ue||Ge({});var r=m(e),i=m(t);return et(r,i,n)},n.addHook=function(e,t){"function"==typeof t&&(le[e]=le[e]||[],h(le[e],t))},n.removeHook=function(e){le[e]&&f(le[e])},n.removeHooks=function(e){le[e]&&(le[e]=[])},n.removeAllHooks=function(){le={}},n}()}()},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(38);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,n){var r=n(18),i=n(222),a=n(46),o=n(223),s=n(228),u=n(518),c=i("wks"),l=r.Symbol,d=u?l:l&&l.withoutSetter||o;e.exports=function(e){return a(c,e)||(s&&a(l,e)?c[e]=l[e]:c[e]=d("Symbol."+e)),c[e]}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return c}));var r,i,a,o=n(56),s=(r=document,i=o.emit,a=r.getElementsByTagName("head")[0].getAttribute("data-requesttoken"),{getToken:function(){return a},setToken:function(e){i("csrf-token-update",{token:a=e})}}),u=s.getToken,c=s.setToken},function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(arguments.length<1)return"";var r=t.filter((function(e){return e.length>0}));if(r.length<1)return"";var i=r[r.length-1],a="/"===r[0].charAt(0),o="/"===i.charAt(i.length-1),s=r.reduce((function(e,t){return e.concat(t.split("/"))}),[]),u=!a,c=s.reduce((function(e,t){return""===t?e:u?(u=!1,e+t):e+"/"+t}),"");return o?c+"/":c}n(500),n(520),n(522),n(524),n(525),n(528),n(530),Object.defineProperty(t,"__esModule",{value:!0}),t.encodePath=function(e){if(!e)return e;return e.split("/").map(encodeURIComponent).join("/")},t.basename=function(e){return e.replace(/\\/g,"/").replace(/.*\//,"")},t.dirname=function(e){return e.replace(/\\/g,"/").replace(/\/[^\/]*$/,"")},t.joinPaths=r,t.isSamePath=function(e,t){var n=(e||"").split("/").filter((function(e){return"."!==e})),i=(t||"").split("/").filter((function(e){return"."!==e}));return e=r.apply(void 0,n),t=r.apply(void 0,i),e===t}},,,function(e,t,n){"use strict";
/*
* @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
*