From eac3da7640d4a5b4dfaf8f51a53c0cc4b9989be1 Mon Sep 17 00:00:00 2001 From: Kyrylo Shmidt Date: Fri, 2 Jun 2023 11:56:11 +0200 Subject: [PATCH] Update Installation Wizard UI --- .../webview/installationwizard/index.js | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/src/main/resources/webview/installationwizard/index.js b/src/main/resources/webview/installationwizard/index.js index 0c70f63e7..902adf40c 100644 --- a/src/main/resources/webview/installationwizard/index.js +++ b/src/main/resources/webview/installationwizard/index.js @@ -1,5 +1,5 @@ /*! For license information please see index.js.LICENSE.txt */ -(()=>{var e={640:(e,t,n)=>{"use strict";var r=n(268),a={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,i,o,l,s,u,c=!1;t||(t={}),n=t.debug||!1;try{if(o=r(),l=document.createRange(),s=document.getSelection(),(u=document.createElement("span")).textContent=e,u.ariaHidden="true",u.style.all="unset",u.style.position="fixed",u.style.top=0,u.style.clip="rect(0, 0, 0, 0)",u.style.whiteSpace="pre",u.style.webkitUserSelect="text",u.style.MozUserSelect="text",u.style.msUserSelect="text",u.style.userSelect="text",u.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),void 0===r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=a[t.format]||a.default;window.clipboardData.setData(i,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(u),l.selectNodeContents(u),s.addRange(l),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");c=!0}catch(r){n&&console.error("unable to copy using execCommand: ",r),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),c=!0}catch(r){n&&console.error("unable to copy using clipboardData: ",r),n&&console.error("falling back to prompt"),i=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(i,e)}}finally{s&&("function"==typeof s.removeRange?s.removeRange(l):s.removeAllRanges()),u&&document.body.removeChild(u),o()}return c}},8679:(e,t,n)=>{"use strict";var r=n(9864),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?o:l[e.$$typeof]||a}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=o;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var a=p(n);a&&a!==h&&e(t,a,r)}var o=c(n);d&&(o=o.concat(d(n)));for(var l=s(t),m=s(n),g=0;g{"use strict";n.r(t),n.d(t,{borderBoxWarn:()=>l,default:()=>s,observerErr:()=>o});var r=n(7294);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t=t&&t>h&&(p=e,h=t)})),p),b.currentBreakpoint!==v.current&&(x.current&&x.current(b),v.current=b.currentBreakpoint)):x.current&&x.current(b);var C={currentBreakpoint:b.currentBreakpoint,width:o,height:c,entry:r};k.current&&!k.current(C)||(!k.current&&s&&u?m((function(e){return e.currentBreakpoint!==C.currentBreakpoint?C:e})):m(C))}}))})),S(),function(){w(),e&&cancelAnimationFrame(e)}}),[JSON.stringify(s),n,S,w,u]),a({},h,{observe:S,unobserve:w})}},4448:(e,t,n)=>{"use strict";var r=n(7294),a=n(3840);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n