@konemono/nostr-login-components 1.4.0 → 1.4.1

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.
Files changed (50) hide show
  1. package/dist/components/button-base2.js.map +1 -1
  2. package/dist/components/css.js +1 -1
  3. package/dist/components/nl-auth2.js +7 -4
  4. package/dist/components/nl-auth2.js.map +1 -1
  5. package/dist/components/nl-banner2.js +18 -18
  6. package/dist/components/nl-banner2.js.map +1 -1
  7. package/dist/components/nl-change-account2.js +6 -6
  8. package/dist/components/nl-change-account2.js.map +1 -1
  9. package/dist/components/nl-confirm-logout2.js +6 -6
  10. package/dist/components/nl-confirm-logout2.js.map +1 -1
  11. package/dist/components/nl-connect2.js.map +1 -1
  12. package/dist/components/nl-iframe2.js.map +1 -1
  13. package/dist/components/nl-import-flow2.js.map +1 -1
  14. package/dist/components/nl-info-extension2.js.map +1 -1
  15. package/dist/components/nl-info2.js.map +1 -1
  16. package/dist/components/nl-loading2.js +5 -5
  17. package/dist/components/nl-loading2.js.map +1 -1
  18. package/dist/components/nl-local-signup2.js +2 -2
  19. package/dist/components/nl-local-signup2.js.map +1 -1
  20. package/dist/components/nl-nip46-relay-settings2.js +2 -2
  21. package/dist/components/nl-nip46-relay-settings2.js.map +1 -1
  22. package/dist/components/nl-otp-migrate2.js.map +1 -1
  23. package/dist/components/nl-previously-logged2.js.map +1 -1
  24. package/dist/components/nl-select2.js.map +1 -1
  25. package/dist/components/nl-signin-bunker-url2.js +1 -1
  26. package/dist/components/nl-signin-bunker-url2.js.map +1 -1
  27. package/dist/components/nl-signin-connection-string2.js +1 -1
  28. package/dist/components/nl-signin-connection-string2.js.map +1 -1
  29. package/dist/components/nl-signin-nsec2.js +1 -1
  30. package/dist/components/nl-signin-nsec2.js.map +1 -1
  31. package/dist/components/nl-signin-otp2.js +1 -1
  32. package/dist/components/nl-signin-otp2.js.map +1 -1
  33. package/dist/components/nl-signin-read-only2.js +1 -1
  34. package/dist/components/nl-signin-read-only2.js.map +1 -1
  35. package/dist/components/nl-signin2.js +1 -1
  36. package/dist/components/nl-signin2.js.map +1 -1
  37. package/dist/components/nl-signup2.js +2 -2
  38. package/dist/components/nl-signup2.js.map +1 -1
  39. package/dist/components/nl-welcome-signin2.js.map +1 -1
  40. package/dist/components/nl-welcome-signup2.js.map +1 -1
  41. package/dist/components/nl-welcome2.js.map +1 -1
  42. package/dist/types/components/nl-auth/nl-auth.d.ts +1 -0
  43. package/dist/types/components/nl-banner/nl-banner.d.ts +8 -8
  44. package/dist/types/components/nl-change-account/nl-change-account.d.ts +2 -2
  45. package/dist/types/components/nl-confirm-logout/nl-confirm-logout.d.ts +2 -2
  46. package/dist/types/components/nl-loading/nl-loading.d.ts +2 -2
  47. package/dist/types/components/nl-local-signup/nl-local-signup.d.ts +1 -1
  48. package/dist/types/components/nl-signup/nl-signup.d.ts +1 -1
  49. package/dist/types/components.d.ts +32 -32
  50. package/package.json +1 -1
@@ -1 +1 @@
1
- {"file":"nl-local-signup2.js","mappings":";;;;AAAA,MAAM,gBAAgB,GAAG,so1CAAso1C,CAAC;AAChq1C,4BAAe,gBAAgB;;MCOlB,aAAa;;;;;;;2BACF,sBAAsB;2BACtB,sDAAsD;gCACjD,sDAAsD;2BAC3D,KAAK;2BAEJ,KAAK;;IAO5B,iBAAiB,CAAC,KAAY;QAC5B,KAAK,CAAC,QAAQ,CAAC,UAAU,GAAI,KAAK,CAAC,MAA2B,CAAC,KAAK,CAAC;;KAEtE;IAED,mBAAmB,CAAC,CAAa;QAC/B,CAAC,CAAC,cAAc,EAAE,CAAC;QAEnB,IAAI,IAAI,CAAC,WAAW,EAAE;YACpB,IAAI,CAAC,aAAa,CAAC,IAAI,EAAE,CAAC;SAC3B;aAAM;YACL,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,UAAU,EAAE,CAAC,CAAC;SACzD;KACF;IAED,MAAM;QACJ,QACE,EAAC,QAAQ,uDACP,4D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,EAAC,YAAY,EAAC,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,KAAK,EAAC,4BAA4B,EAAC,IAAI,EAAC,MAAM,EAAC,OAAO,EAAC,WAAW,kBAAc,KAAK,EAAC,MAAM,EAAC,cAAc,IAC5J,8BACiB,OAAO,qBACN,OAAO,EACvB,CAAC,EAAC,yMAAyM,GAC3M,CACE,CACP,CACW,CACV,CACG,EACX;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/nl-local-signup/nl-local-signup.css?tag=nl-local-signup","src/components/nl-local-signup/nl-local-signup.tsx"],"sourcesContent":[":host {\n display: block;\n}\n","import { Component, h, Fragment, State, Prop, Event, EventEmitter } from '@stencil/core';\nimport { state } from '@/store';\n\n@Component({\n tag: 'nl-local-signup',\n styleUrl: 'nl-local-signup.css',\n shadow: false,\n})\nexport class NlLocalSignup {\n @Prop() titleSignup = 'Create Nostr profile';\n @Prop() description = 'Choose any username, you can always change it later.';\n @Prop() descriptionNjump = 'Proceed to creating your Nostr profile in a new tab.';\n @Prop() signupNjump = false;\n\n @State() isAvailable = false;\n\n @Event() nlLocalSignup: EventEmitter<string>;\n @Event() nlSignupNjump: EventEmitter<void>;\n // @Event() nlCheckSignup: EventEmitter<string>;\n @Event() fetchHandler: EventEmitter<boolean>;\n\n handleInputChange(event: Event) {\n state.nlSignup.signupName = (event.target as HTMLInputElement).value;\n // this.nlCheckSignup.emit(`${(event.target as HTMLInputElement).value}@${state.nlSignup.domain}`);\n }\n\n handleCreateAccount(e: MouseEvent) {\n e.preventDefault();\n\n if (this.signupNjump) {\n this.nlSignupNjump.emit();\n } else {\n this.nlLocalSignup.emit(`${state.nlSignup.signupName}`);\n }\n }\n\n render() {\n return (\n <Fragment>\n <div class=\"p-4 overflow-y-auto\">\n <h1 class=\"nl-title font-bold text-center text-2xl\">{this.titleSignup}</h1>\n <p class=\"nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto\">{this.signupNjump ? this.descriptionNjump : this.description}</p>\n </div>\n\n <div class=\"max-w-72 mx-auto\">\n {!this.signupNjump && (\n <div class=\"relative mb-2\">\n <input\n onInput={e => this.handleInputChange(e)}\n type=\"text\"\n class=\"nl-input peer py-3 px-4 ps-11 block w-full border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent\"\n placeholder=\"Enter username\"\n value={state.nlSignup.signupName}\n />\n <div class=\"absolute inset-y-0 start-0 flex items-center pointer-events-none ps-4 peer-disabled:opacity-50 peer-disabled:pointer-events-none\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"none\"\n viewBox=\"0 0 24 24\"\n stroke-width=\"2\"\n stroke={this.isAvailable ? '#00cc00' : 'currentColor'}\n class=\"flex-shrink-0 w-4 h-4 text-gray-500\"\n >\n <path\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n d=\"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z\"\n />\n </svg>\n </div>\n </div>\n )}\n\n <div class=\"ps-4 pe-4 overflow-y-auto\">\n <p class=\"nl-error font-light text-center text-sm max-w-96 mx-auto\">{state.error}</p>\n </div>\n\n <button-base disabled={state.isLoading} onClick={e => this.handleCreateAccount(e)} titleBtn={this.signupNjump ? 'Get started' : 'Create profile'}>\n {state.isLoading ? (\n <span\n slot=\"icon-start\"\n class=\"animate-spin-loading inline-block w-4 h-4 border-[3px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full\"\n role=\"status\"\n aria-label=\"loading\"\n ></span>\n ) : (\n <svg slot=\"icon-start\" style={{ display: 'none' }} xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\">\n <path\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n d=\"M18 7.5v3m0 0v3m0-3h3m-3 0h-3m-2.25-4.125a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0ZM3 19.235v-.11a6.375 6.375 0 0 1 12.75 0v.109A12.318 12.318 0 0 1 9.374 21c-2.331 0-4.512-.645-6.374-1.766Z\"\n />\n </svg>\n )}\n </button-base>\n </div>\n </Fragment>\n );\n }\n}\n"],"version":3}
1
+ {"file":"nl-local-signup2.js","mappings":";;;;AAAA,MAAM,gBAAgB,GAAG,gq3CAAgq3C,CAAC;AAC1r3C,4BAAe,gBAAgB;;MCOlB,aAAa;;;;;;;2BACF,sBAAsB;2BACtB,sDAAsD;gCACjD,sDAAsD;2BAC3D,KAAK;2BAEJ,KAAK;;IAO5B,iBAAiB,CAAC,KAAY;QAC5B,KAAK,CAAC,QAAQ,CAAC,UAAU,GAAI,KAAK,CAAC,MAA2B,CAAC,KAAK,CAAC;;KAEtE;IAED,mBAAmB,CAAC,CAAa;QAC/B,CAAC,CAAC,cAAc,EAAE,CAAC;QAEnB,IAAI,IAAI,CAAC,WAAW,EAAE;YACpB,IAAI,CAAC,aAAa,CAAC,IAAI,EAAE,CAAC;SAC3B;aAAM;YACL,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,UAAU,EAAE,CAAC,CAAC;SACzD;KACF;IAED,MAAM;QACJ,QACE,EAAC,QAAQ,uDACP,4DAAK,KAAK,EAAC,qBAAqB,IAC9B,2DAAI,KAAK,EAAC,yCAAyC,IAAE,IAAI,CAAC,WAAW,CAAM,EAC3E,0DAAG,KAAK,EAAC,qEAAqE,IAAE,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,WAAW,CAAK,CAC5I,EAEN,4DAAK,KAAK,EAAC,kBAAkB,IAC1B,CAAC,IAAI,CAAC,WAAW,KAChB,4DAAK,KAAK,EAAC,eAAe,IACxB,8DACE,OAAO,EAAE,CAAC,IAAI,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up/nl-local-signup.css?tag=nl-local-signup","src/components/nl-local-signup/nl-local-signup.tsx"],"sourcesContent":[":host {\n display: block;\n}\n","import { Component, h, Fragment, State, Prop, Event, EventEmitter } from '@stencil/core';\nimport { state } from '@/store';\n\n@Component({\n tag: 'nl-local-signup',\n styleUrl: 'nl-local-signup.css',\n shadow: false,\n})\nexport class NlLocalSignup {\n @Prop() titleSignup = 'Create Nostr profile';\n @Prop() description = 'Choose any username, you can always change it later.';\n @Prop() descriptionNjump = 'Proceed to creating your Nostr profile in a new tab.';\n @Prop() signupNjump = false;\n\n @State() isAvailable = false;\n\n @Event() nlLocalSignup: EventEmitter<string>;\n @Event() nlSignupNjump: EventEmitter<void>;\n // @Event() nlCheckSignup: EventEmitter<string>;\n @Event() nlFetchStatus: EventEmitter<boolean>;\n\n handleInputChange(event: Event) {\n state.nlSignup.signupName = (event.target as HTMLInputElement).value;\n // this.nlCheckSignup.emit(`${(event.target as HTMLInputElement).value}@${state.nlSignup.domain}`);\n }\n\n handleCreateAccount(e: MouseEvent) {\n e.preventDefault();\n\n if (this.signupNjump) {\n this.nlSignupNjump.emit();\n } else {\n this.nlLocalSignup.emit(`${state.nlSignup.signupName}`);\n }\n }\n\n render() {\n return (\n <Fragment>\n <div class=\"p-4 overflow-y-auto\">\n <h1 class=\"nl-title font-bold text-center text-2xl\">{this.titleSignup}</h1>\n <p class=\"nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto\">{this.signupNjump ? this.descriptionNjump : this.description}</p>\n </div>\n\n <div class=\"max-w-72 mx-auto\">\n {!this.signupNjump && (\n <div class=\"relative mb-2\">\n <input\n onInput={e => this.handleInputChange(e)}\n type=\"text\"\n class=\"nl-input peer py-3 px-4 ps-11 block w-full border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent\"\n placeholder=\"Enter username\"\n aria-label=\"Username\"\n value={state.nlSignup.signupName}\n />\n <div class=\"absolute inset-y-0 start-0 flex items-center pointer-events-none ps-4 peer-disabled:opacity-50 peer-disabled:pointer-events-none\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"none\"\n viewBox=\"0 0 24 24\"\n stroke-width=\"2\"\n stroke={this.isAvailable ? '#00cc00' : 'currentColor'}\n class=\"flex-shrink-0 w-4 h-4 text-gray-500\"\n >\n <path\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n d=\"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z\"\n />\n </svg>\n </div>\n </div>\n )}\n\n <div class=\"ps-4 pe-4 overflow-y-auto\">\n <p class=\"nl-error font-light text-center text-sm max-w-96 mx-auto\">{state.error}</p>\n </div>\n\n <button-base disabled={state.isLoading} onClick={e => this.handleCreateAccount(e)} titleBtn={this.signupNjump ? 'Get started' : 'Create profile'}>\n {state.isLoading ? (\n <span\n slot=\"icon-start\"\n class=\"animate-spin-loading inline-block w-4 h-4 border-[3px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full\"\n role=\"status\"\n aria-label=\"loading\"\n ></span>\n ) : (\n <svg slot=\"icon-start\" style={{ display: 'none' }} xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\">\n <path\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n d=\"M18 7.5v3m0 0v3m0-3h3m-3 0h-3m-2.25-4.125a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0ZM3 19.235v-.11a6.375 6.375 0 0 1 12.75 0v.109A12.318 12.318 0 0 1 9.374 21c-2.331 0-4.512-.645-6.374-1.766Z\"\n />\n </svg>\n )}\n </button-base>\n </div>\n </Fragment>\n );\n }\n}\n"],"version":3}
@@ -39,12 +39,12 @@ const NlNip46RelaySettings = /*@__PURE__*/ proxyCustomElement(class NlNip46Relay
39
39
  this.nlRelaysChanged.emit(this.relays);
40
40
  }
41
41
  render() {
42
- return (h("div", { key: 'b21c3d9935218ccd1d552b9f635bd2a5577f50c0', class: "nip46-relay-settings mb-4" }, h("button", { key: 'aa9bd7bb3bd4310b1a02edfc1c010a7907dc79ce', type: "button", class: "text-xs text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300 underline cursor-pointer", onClick: () => (this.showSettings = !this.showSettings) }, this.showSettings ? '▼' : '▶', " Advanced: Relay Settings"), this.showSettings && (h("div", { key: 'bfafd2a8bfae6b9829c553f286d5d80f16011b2e', class: "mt-2 p-3 border border-gray-300 dark:border-gray-600 rounded bg-gray-50 dark:bg-gray-800" }, h("div", { key: '6bcfc31c24f3eb074e0101cdb319b19806550db9', class: "flex justify-between items-center mb-2" }, h("div", { key: '32d87ef74ecfd3f330ce88ab1802878bed40d680', class: "text-xs font-semibold text-gray-700 dark:text-gray-300" }, "Nip46 Relays:"), h("button", { key: '26c7843cff229b73d33e86238eadbbdbde33955e', type: "button", class: "text-xs text-blue-500 hover:text-blue-700 dark:text-blue-400 dark:hover:text-blue-300 underline cursor-pointer", onClick: () => this.resetToDefaults() }, "Reset to defaults")), h("ul", { key: 'd6419de90eb296e91df6e6ede131d41c22d9e0e8', class: "text-xs mb-3 space-y-1" }, this.relays.map((relay, index) => (h("li", { class: "flex justify-between items-center py-1 px-2 bg-white dark:bg-gray-700 rounded" }, h("span", { class: "truncate text-gray-700 dark:text-gray-300 flex-1" }, relay), h("button", { type: "button", class: "ml-2 text-red-500 hover:text-red-700 dark:text-red-400 dark:hover:text-red-300 font-bold cursor-pointer", onClick: () => this.removeRelay(index), title: "Remove relay" }, "\u2715"))))), h("div", { key: '0544da279bb32591f78dff61ecb5372e3a069b06', class: "flex gap-2" }, h("input", { key: 'eaf3009c8d711dbbf6bc0a3f954e042d5865a669', type: "text", class: "flex-1 text-xs px-2 py-1.5 border border-gray-300 dark:border-gray-600 rounded bg-white dark:bg-gray-700 text-gray-900 dark:text-gray-100", placeholder: "wss://relay.example.com", value: this.newRelay, onInput: e => (this.newRelay = e.target.value), onKeyPress: e => {
42
+ return (h("div", { key: 'b21c3d9935218ccd1d552b9f635bd2a5577f50c0', class: "nip46-relay-settings mb-4" }, h("button", { key: 'aa9bd7bb3bd4310b1a02edfc1c010a7907dc79ce', type: "button", class: "text-xs text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300 underline cursor-pointer", onClick: () => (this.showSettings = !this.showSettings) }, this.showSettings ? '▼' : '▶', " Advanced: Relay Settings"), this.showSettings && (h("div", { key: 'bfafd2a8bfae6b9829c553f286d5d80f16011b2e', class: "mt-2 p-3 border border-gray-300 dark:border-gray-600 rounded bg-gray-50 dark:bg-gray-800" }, h("div", { key: '6bcfc31c24f3eb074e0101cdb319b19806550db9', class: "flex justify-between items-center mb-2" }, h("div", { key: '32d87ef74ecfd3f330ce88ab1802878bed40d680', class: "text-xs font-semibold text-gray-700 dark:text-gray-300" }, "Nip46 Relays:"), h("button", { key: '26c7843cff229b73d33e86238eadbbdbde33955e', type: "button", class: "text-xs text-blue-500 hover:text-blue-700 dark:text-blue-400 dark:hover:text-blue-300 underline cursor-pointer", onClick: () => this.resetToDefaults() }, "Reset to defaults")), h("ul", { key: 'd6419de90eb296e91df6e6ede131d41c22d9e0e8', class: "text-xs mb-3 space-y-1" }, this.relays.map((relay, index) => (h("li", { class: "flex justify-between items-center py-1 px-2 bg-white dark:bg-gray-700 rounded" }, h("span", { class: "truncate text-gray-700 dark:text-gray-300 flex-1" }, relay), h("button", { type: "button", class: "ml-2 text-red-500 hover:text-red-700 dark:text-red-400 dark:hover:text-red-300 font-bold cursor-pointer", onClick: () => this.removeRelay(index), title: "Remove relay" }, "\u2715"))))), h("div", { key: '0544da279bb32591f78dff61ecb5372e3a069b06', class: "flex gap-2" }, h("input", { key: 'b9ac07ab15fcc2a1b242b458153bde8c2edbfcd1', type: "text", class: "flex-1 text-xs px-2 py-1.5 border border-gray-300 dark:border-gray-600 rounded bg-white dark:bg-gray-700 text-gray-900 dark:text-gray-100", placeholder: "wss://relay.example.com", "aria-label": "Relay URL", value: this.newRelay, onInput: e => (this.newRelay = e.target.value), onKeyDown: e => {
43
43
  if (e.key === 'Enter') {
44
44
  e.preventDefault();
45
45
  this.addRelay();
46
46
  }
47
- } }), h("button", { key: '1223d35e9155b6716715f0685777370e8afa32d1', type: "button", class: "text-xs px-3 py-1.5 bg-blue-500 hover:bg-blue-600 text-white rounded cursor-pointer", onClick: () => this.addRelay() }, "Add"))))));
47
+ } }), h("button", { key: '1d135e0cf1e53407c9b435f41461ccc32db61f9a', type: "button", class: "text-xs px-3 py-1.5 bg-blue-500 hover:bg-blue-600 text-white rounded cursor-pointer", onClick: () => this.addRelay() }, "Add"))))));
48
48
  }
49
49
  static get style() { return NlNip46RelaySettingsStyle0; }
50
50
  }, [0, "nl-nip46-relay-settings", {
@@ -1 +1 @@
1
- {"file":"nl-nip46-relay-settings2.js","mappings":";;AAAA,MAAM,uBAAuB,GAAG,o82CAAo82C,CAAC;AACr+2C,mCAAe,uBAAuB;;ACCtC;AACA,MAAM,sBAAsB,GAAG,CAAC,uBAAuB,EAAE,+BAA+B,CAAC,CAAC;MAO7E,oBAAoB;;;;;6BAEG,CAAC,GAAG,sBAAsB,CAAC;sBAEjC,EAAE;wBACF,EAAE;4BACG,KAAK;;IAItC,iBAAiB;QACf,IAAI,CAAC,MAAM,GAAG,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC,CAAC;KACvC;IAED,QAAQ;QACN,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;QACnC,IAAI,KAAK,KAAK,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,KAAK,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,EAAE;YACtE,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE;gBAChC,IAAI,C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,kDAAkD,IAAE,KAAK,CAAQ,EAC7E,cACE,IAAI,EAAC,QAAQ,EACb,KAAK,EAAC,yGAAyG,EAC/G,OAAO,EAAE,MAAM,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,EACtC,KAAK,EAAC,cAAc,aAGb,CACN,CACN,CAAC,CACC,EAEL,4DAAK,KAAK,EAAC,YAAY,IACrB,8DACE,IAAI,EAAC,MAAM,EACX,KAAK,EAAC,2IAA2I,EACjJ,WAAW,EAAC,yBAAyB,EACrC,KAAK,EAAE,IAAI,CAAC,QAAQ,EACpB,OAAO,EAAE,CAAC,KAAK,IAAI,CAAC,QAAQ,GAAI,CAAC,CAAC,MAA2B,CAAC,KAAK,CAAC,EACpE,UAAU,EAAE,CAAC;gBACX,IAAI,CAAC,CAAC,GAAG,KAAK,OAAO,EAAE;oBACrB,CAAC,CAAC,cAAc,EAAE,CAAC;oBACnB,IAAI,CAAC,QAAQ,EAAE,CAAC;iBACjB;aACF,GACD,EACF,+DAAQ,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,qFAAqF,EAAC,OAAO,EAAE,MAAM,IAAI,CAAC,QAAQ,EAAE,UAEvI,CACL,CACF,CACP,CACG,EACN;KACH;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/nl-nip46-relay-settings/nl-nip46-relay-settings.css?tag=nl-nip46-relay-settings","src/components/nl-nip46-relay-settings/nl-nip46-relay-settings.tsx"],"sourcesContent":[".nip46-relay-settings {\n /* スタイルは既存のコンポーネントを参考に必要に応じて追加 */\n}\n","import { Component, h, State, Event, EventEmitter, Prop } from '@stencil/core';\n\n/** リセット時に戻すハードコード済みデフォルトリレー */\nconst FACTORY_DEFAULT_RELAYS = ['wss://relay.nsec.app/', 'wss://ephemeral.snowflare.cc/'];\n\n@Component({\n tag: 'nl-nip46-relay-settings',\n styleUrl: 'nl-nip46-relay-settings.css',\n shadow: false,\n})\nexport class NlNip46RelaySettings {\n /** 親から渡される現在のリレーリスト(localStorage由来の場合あり) */\n @Prop() defaultRelays: string[] = [...FACTORY_DEFAULT_RELAYS];\n\n @State() relays: string[] = [];\n @State() newRelay: string = '';\n @State() showSettings: boolean = false;\n\n @Event() nlRelaysChanged: EventEmitter<string[]>;\n\n componentWillLoad() {\n this.relays = [...this.defaultRelays];\n }\n\n addRelay() {\n const relay = this.newRelay.trim();\n if (relay && (relay.startsWith('wss://') || relay.startsWith('ws://'))) {\n if (!this.relays.includes(relay)) {\n this.relays = [...this.relays, relay];\n this.newRelay = '';\n this.nlRelaysChanged.emit(this.relays);\n }\n }\n }\n\n removeRelay(index: number) {\n this.relays = this.relays.filter((_, i) => i !== index);\n this.nlRelaysChanged.emit(this.relays);\n }\n\n resetToDefaults() {\n this.relays = [...FACTORY_DEFAULT_RELAYS];\n this.nlRelaysChanged.emit(this.relays);\n }\n\n render() {\n return (\n <div class=\"nip46-relay-settings mb-4\">\n <button\n type=\"button\"\n class=\"text-xs text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300 underline cursor-pointer\"\n onClick={() => (this.showSettings = !this.showSettings)}\n >\n {this.showSettings ? '▼' : '▶'} Advanced: Relay Settings\n </button>\n\n {this.showSettings && (\n <div class=\"mt-2 p-3 border border-gray-300 dark:border-gray-600 rounded bg-gray-50 dark:bg-gray-800\">\n <div class=\"flex justify-between items-center mb-2\">\n <div class=\"text-xs font-semibold text-gray-700 dark:text-gray-300\">Nip46 Relays:</div>\n <button\n type=\"button\"\n class=\"text-xs text-blue-500 hover:text-blue-700 dark:text-blue-400 dark:hover:text-blue-300 underline cursor-pointer\"\n onClick={() => this.resetToDefaults()}\n >\n Reset to defaults\n </button>\n </div>\n\n <ul class=\"text-xs mb-3 space-y-1\">\n {this.relays.map((relay, index) => (\n <li class=\"flex justify-between items-center py-1 px-2 bg-white dark:bg-gray-700 rounded\">\n <span class=\"truncate text-gray-700 dark:text-gray-300 flex-1\">{relay}</span>\n <button\n type=\"button\"\n class=\"ml-2 text-red-500 hover:text-red-700 dark:text-red-400 dark:hover:text-red-300 font-bold cursor-pointer\"\n onClick={() => this.removeRelay(index)}\n title=\"Remove relay\"\n >\n ✕\n </button>\n </li>\n ))}\n </ul>\n\n <div class=\"flex gap-2\">\n <input\n type=\"text\"\n class=\"flex-1 text-xs px-2 py-1.5 border border-gray-300 dark:border-gray-600 rounded bg-white dark:bg-gray-700 text-gray-900 dark:text-gray-100\"\n placeholder=\"wss://relay.example.com\"\n value={this.newRelay}\n onInput={e => (this.newRelay = (e.target as HTMLInputElement).value)}\n onKeyPress={e => {\n if (e.key === 'Enter') {\n e.preventDefault();\n this.addRelay();\n }\n }}\n />\n <button type=\"button\" class=\"text-xs px-3 py-1.5 bg-blue-500 hover:bg-blue-600 text-white rounded cursor-pointer\" onClick={() => this.addRelay()}>\n Add\n </button>\n </div>\n </div>\n )}\n </div>\n );\n }\n}\n"],"version":3}
1
+ {"file":"nl-nip46-relay-settings2.js","mappings":";;AAAA,MAAM,uBAAuB,GAAG,4o3CAA4o3C,CAAC;AAC7q3C,mCAAe,uBAAuB;;ACCtC;AACA,MAAM,sBAAsB,GAAG,CAAC,uBAAuB,EAAE,+BAA+B,CAAC,CAAC;MAO7E,oBAAoB;;;;;6BAEG,CAAC,GAAG,sBAAsB,CAAC;sBAEjC,EAAE;wBACF,EAAE;4BACG,KAAK;;IAItC,iBAAiB;QACf,IAAI,CAAC,MAAM,GAAG,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC,CAAC;KACvC;IAED,QAAQ;QACN,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;QACnC,IAAI,KAAK,KAAK,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,KAAK,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,EAAE;YACtE,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE;gBAChC,IAAI,CAAC,MAAM,GAAG,CAAC,GAAG,IAAI,CAA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E,IAAI,EAAC,QAAQ,EACb,KAAK,EAAC,yGAAyG,EAC/G,OAAO,EAAE,MAAM,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,EACtC,KAAK,EAAC,cAAc,aAGb,CACN,CACN,CAAC,CACC,EAEL,4DAAK,KAAK,EAAC,YAAY,IACrB,8DACE,IAAI,EAAC,MAAM,EACX,KAAK,EAAC,2IAA2I,EACjJ,WAAW,EAAC,yBAAyB,gBAC1B,WAAW,EACtB,KAAK,EAAE,IAAI,CAAC,QAAQ,EACpB,OAAO,EAAE,CAAC,KAAK,IAAI,CAAC,QAAQ,GAAI,CAAC,CAAC,MAA2B,CAAC,KAAK,CAAC,EACpE,SAAS,EAAE,CAAC;gBACV,IAAI,CAAC,CAAC,GAAG,KAAK,OAAO,EAAE;oBACrB,CAAC,CAAC,cAAc,EAAE,CAAC;oBACnB,IAAI,CAAC,QAAQ,EAAE,CAAC;iBACjB;aACF,GACD,EACF,+DAAQ,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,qFAAqF,EAAC,OAAO,EAAE,MAAM,IAAI,CAAC,QAAQ,EAAE,UAEvI,CACL,CACF,CACP,CACG,EACN;KACH;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/nl-nip46-relay-settings/nl-nip46-relay-settings.css?tag=nl-nip46-relay-settings","src/components/nl-nip46-relay-settings/nl-nip46-relay-settings.tsx"],"sourcesContent":[".nip46-relay-settings {\n /* スタイルは既存のコンポーネントを参考に必要に応じて追加 */\n}\n","import { Component, h, State, Event, EventEmitter, Prop } from '@stencil/core';\n\n/** リセット時に戻すハードコード済みデフォルトリレー */\nconst FACTORY_DEFAULT_RELAYS = ['wss://relay.nsec.app/', 'wss://ephemeral.snowflare.cc/'];\n\n@Component({\n tag: 'nl-nip46-relay-settings',\n styleUrl: 'nl-nip46-relay-settings.css',\n shadow: false,\n})\nexport class NlNip46RelaySettings {\n /** 親から渡される現在のリレーリスト(localStorage由来の場合あり) */\n @Prop() defaultRelays: string[] = [...FACTORY_DEFAULT_RELAYS];\n\n @State() relays: string[] = [];\n @State() newRelay: string = '';\n @State() showSettings: boolean = false;\n\n @Event() nlRelaysChanged: EventEmitter<string[]>;\n\n componentWillLoad() {\n this.relays = [...this.defaultRelays];\n }\n\n addRelay() {\n const relay = this.newRelay.trim();\n if (relay && (relay.startsWith('wss://') || relay.startsWith('ws://'))) {\n if (!this.relays.includes(relay)) {\n this.relays = [...this.relays, relay];\n this.newRelay = '';\n this.nlRelaysChanged.emit(this.relays);\n }\n }\n }\n\n removeRelay(index: number) {\n this.relays = this.relays.filter((_, i) => i !== index);\n this.nlRelaysChanged.emit(this.relays);\n }\n\n resetToDefaults() {\n this.relays = [...FACTORY_DEFAULT_RELAYS];\n this.nlRelaysChanged.emit(this.relays);\n }\n\n render() {\n return (\n <div class=\"nip46-relay-settings mb-4\">\n <button\n type=\"button\"\n class=\"text-xs text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300 underline cursor-pointer\"\n onClick={() => (this.showSettings = !this.showSettings)}\n >\n {this.showSettings ? '▼' : '▶'} Advanced: Relay Settings\n </button>\n\n {this.showSettings && (\n <div class=\"mt-2 p-3 border border-gray-300 dark:border-gray-600 rounded bg-gray-50 dark:bg-gray-800\">\n <div class=\"flex justify-between items-center mb-2\">\n <div class=\"text-xs font-semibold text-gray-700 dark:text-gray-300\">Nip46 Relays:</div>\n <button\n type=\"button\"\n class=\"text-xs text-blue-500 hover:text-blue-700 dark:text-blue-400 dark:hover:text-blue-300 underline cursor-pointer\"\n onClick={() => this.resetToDefaults()}\n >\n Reset to defaults\n </button>\n </div>\n\n <ul class=\"text-xs mb-3 space-y-1\">\n {this.relays.map((relay, index) => (\n <li class=\"flex justify-between items-center py-1 px-2 bg-white dark:bg-gray-700 rounded\">\n <span class=\"truncate text-gray-700 dark:text-gray-300 flex-1\">{relay}</span>\n <button\n type=\"button\"\n class=\"ml-2 text-red-500 hover:text-red-700 dark:text-red-400 dark:hover:text-red-300 font-bold cursor-pointer\"\n onClick={() => this.removeRelay(index)}\n title=\"Remove relay\"\n >\n ✕\n </button>\n </li>\n ))}\n </ul>\n\n <div class=\"flex gap-2\">\n <input\n type=\"text\"\n class=\"flex-1 text-xs px-2 py-1.5 border border-gray-300 dark:border-gray-600 rounded bg-white dark:bg-gray-700 text-gray-900 dark:text-gray-100\"\n placeholder=\"wss://relay.example.com\"\n aria-label=\"Relay URL\"\n value={this.newRelay}\n onInput={e => (this.newRelay = (e.target as HTMLInputElement).value)}\n onKeyDown={e => {\n if (e.key === 'Enter') {\n e.preventDefault();\n this.addRelay();\n }\n }}\n />\n <button type=\"button\" class=\"text-xs px-3 py-1.5 bg-blue-500 hover:bg-blue-600 text-white rounded cursor-pointer\" onClick={() => this.addRelay()}>\n Add\n </button>\n </div>\n </div>\n )}\n </div>\n );\n }\n}\n"],"version":3}
@@ -1 +1 @@
1
- {"file":"nl-otp-migrate2.js","mappings":";;;;;AAAA,MAAM,eAAe,GAAG,so1CAAso1C,CAAC;AAC/p1C,2BAAe,eAAe;;MCQjB,YAAY;;;;;yBACc,gCAAgC;2BAC/C,kBAAkB;0BACnB,wGAAwG;wBACtF,EAAE;;IAIzC,kBAAkB,CAAC,KAA0B;QAC3C,MAAM,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,KAAK,KAAK,CAAC,MAAM,CAAC,CAAC;QAC7D,KAAK,CAAC,QAAQ,GAAG,CAAC,CAAC;KACpB;IAED,mBAAmB,CAAC,CAAa;QAC/B,CAAC,CAAC,cAAc,EAAE,CAAC;QACnB,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;KAC3C;IAED,MAAM;QACJ,MAAM,OAAO,GAAG,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,IA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sources":["src/components/nl-otp-migrate/nl-otp-migrate.css?tag=nl-otp-migrate","src/components/nl-otp-migrate/nl-otp-migrate.tsx"],"sourcesContent":[":host {\n display: block;\n}\n","import { Component, h, Fragment, Prop, Event, EventEmitter } from '@stencil/core';\nimport { state } from '@/store';\nimport { ConnectionString } from '@/types';\n\n@Component({\n tag: 'nl-otp-migrate',\n styleUrl: 'nl-otp-migrate.css',\n shadow: false,\n})\nexport class NlImportFlow {\n @Prop({ mutable: true }) titleInfo = 'Import keys to storage service';\n @Prop() titleImport = 'Choose a service';\n @Prop() textImport = 'You will be prompted to import keys to the chosen service, and this website will connect to your keys.';\n @Prop() services: ConnectionString[] = [];\n\n @Event() nlImportAccount: EventEmitter<ConnectionString>;\n\n handleDomainSelect(event: CustomEvent<string>) {\n const s = this.services.find(s => s.domain === event.detail);\n state.nlImport = s;\n }\n\n handleCreateAccount(e: MouseEvent) {\n e.preventDefault();\n this.nlImportAccount.emit(state.nlImport);\n }\n\n render() {\n const options = this.services.filter(s => s.canImport).map(s => ({ name: s.domain!, value: s.domain! }));\n\n return (\n <Fragment>\n <div class=\"p-4 overflow-y-auto\">\n <h1 class=\"nl-title font-bold text-center text-2xl\">{this.titleImport}</h1>\n <p class=\"nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto\">{this.textImport}</p>\n </div>\n\n <div class=\"max-w-72 mx-auto mb-5\">\n <div class=\"mb-0.5\">\n <nl-select onSelectDomain={e => this.handleDomainSelect(e)} selected={0} options={options}></nl-select>\n </div>\n <p class=\"nl-title font-light text-sm mb-2\">Default provider is a fine choice to start with.</p>\n\n <div class=\"ps-4 pe-4 overflow-y-auto\">\n <p class=\"nl-error font-light text-center text-sm max-w-96 mx-auto\">{state.error}</p>\n </div>\n\n <button-base disabled={state.isLoading} onClick={e => this.handleCreateAccount(e)} titleBtn=\"Start importing\">\n {state.isLoading ? (\n <span\n slot=\"icon-start\"\n class=\"animate-spin-loading inline-block w-4 h-4 border-[3px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full\"\n role=\"status\"\n aria-label=\"loading\"\n ></span>\n ) : (\n <svg slot=\"icon-start\" style={{ display: 'none' }} xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\">\n <path\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n d=\"M18 7.5v3m0 0v3m0-3h3m-3 0h-3m-2.25-4.125a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0ZM3 19.235v-.11a6.375 6.375 0 0 1 12.75 0v.109A12.318 12.318 0 0 1 9.374 21c-2.331 0-4.512-.645-6.374-1.766Z\"\n />\n </svg>\n )}\n </button-base>\n </div>\n </Fragment>\n );\n }\n}\n"],"version":3}
1
+ {"file":"nl-otp-migrate2.js","mappings":";;;;;AAAA,MAAM,eAAe,GAAG,gq3CAAgq3C,CAAC;AACzr3C,2BAAe,eAAe;;MCQjB,YAAY;;;;;yBACc,gCAAgC;2BAC/C,kBAAkB;0BACnB,wGAAwG;wBACtF,EAAE;;IAIzC,kBAAkB,CAAC,KAA0B;QAC3C,MAAM,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,KAAK,KAAK,CAAC,MAAM,CAAC,CAAC;QAC7D,KAAK,CAAC,QAAQ,GAAG,CAAC,CAAC;KACpB;IAED,mBAAmB,CAAC,CAAa;QAC/B,CAAC,CAAC,cAAc,EAAE,CAAC;QACnB,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;KAC3C;IAED,MAAM;QACJ,MAAM,OAAO,GAAG,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,MAAO,EAAE,KAAK,EAAE,CAAC,CAAC,MAAO,E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rate/nl-otp-migrate.tsx"],"sourcesContent":[":host {\n display: block;\n}\n","import { Component, h, Fragment, Prop, Event, EventEmitter } from '@stencil/core';\nimport { state } from '@/store';\nimport { ConnectionString } from '@/types';\n\n@Component({\n tag: 'nl-otp-migrate',\n styleUrl: 'nl-otp-migrate.css',\n shadow: false,\n})\nexport class NlImportFlow {\n @Prop({ mutable: true }) titleInfo = 'Import keys to storage service';\n @Prop() titleImport = 'Choose a service';\n @Prop() textImport = 'You will be prompted to import keys to the chosen service, and this website will connect to your keys.';\n @Prop() services: ConnectionString[] = [];\n\n @Event() nlImportAccount: EventEmitter<ConnectionString>;\n\n handleDomainSelect(event: CustomEvent<string>) {\n const s = this.services.find(s => s.domain === event.detail);\n state.nlImport = s;\n }\n\n handleCreateAccount(e: MouseEvent) {\n e.preventDefault();\n this.nlImportAccount.emit(state.nlImport);\n }\n\n render() {\n const options = this.services.filter(s => s.canImport).map(s => ({ name: s.domain!, value: s.domain! }));\n\n return (\n <Fragment>\n <div class=\"p-4 overflow-y-auto\">\n <h1 class=\"nl-title font-bold text-center text-2xl\">{this.titleImport}</h1>\n <p class=\"nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto\">{this.textImport}</p>\n </div>\n\n <div class=\"max-w-72 mx-auto mb-5\">\n <div class=\"mb-0.5\">\n <nl-select onSelectDomain={e => this.handleDomainSelect(e)} selected={0} options={options}></nl-select>\n </div>\n <p class=\"nl-title font-light text-sm mb-2\">Default provider is a fine choice to start with.</p>\n\n <div class=\"ps-4 pe-4 overflow-y-auto\">\n <p class=\"nl-error font-light text-center text-sm max-w-96 mx-auto\">{state.error}</p>\n </div>\n\n <button-base disabled={state.isLoading} onClick={e => this.handleCreateAccount(e)} titleBtn=\"Start importing\">\n {state.isLoading ? (\n <span\n slot=\"icon-start\"\n class=\"animate-spin-loading inline-block w-4 h-4 border-[3px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full\"\n role=\"status\"\n aria-label=\"loading\"\n ></span>\n ) : (\n <svg slot=\"icon-start\" style={{ display: 'none' }} xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\">\n <path\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n d=\"M18 7.5v3m0 0v3m0-3h3m-3 0h-3m-2.25-4.125a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0ZM3 19.235v-.11a6.375 6.375 0 0 1 12.75 0v.109A12.318 12.318 0 0 1 9.374 21c-2.331 0-4.512-.645-6.374-1.766Z\"\n />\n </svg>\n )}\n </button-base>\n </div>\n </Fragment>\n );\n }\n}\n"],"version":3}
@@ -1 +1 @@
1
- {"file":"nl-previously-logged2.js","mappings":";;;;;AAAA,MAAM,qBAAqB,GAAG,so1CAAso1C,CAAC;AACrq1C,iCAAe,qBAAqB;;MCQvB,kBAAkB;;;;;;;yBACT,eAAe;2BACb,uEAAuE;wBAElE,EAAE;uBACG,EAAE;;IAMlC,iBAAiB;QACf,KAAK,CAAC,IAAI,GAAG,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;KACvC;IAED,sBAAsB;QACpB,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE;YACjD,KAAK,CAAC,IAAI,GAAG,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;SACvC;KACF;IAGD,aAAa;QACX,IAAI,CAAC,sBAAsB,EAAE,CAAC;KAC/B;IAGD,YAAY;QACV,IAAI,CAAC,sBAAsB,EAAE,CAAC;KAC/B;IAED,kBAAkB,CAAC,IAAU;QAC3B,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KAChC;IAED,YAAY,CAAC,EAAQ;QACnB,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;KAC/B;IAED,wBAAwB,CAAC,EAAc;QACrC,IAAI,CAAC,oB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,IACR,WAAK,KAAK,EAAC,qBAAqB,EAAC,GAAG,EAAE,EAAE,CAAC,OAAO,EAAE,GAAG,EAAC,MAAM,GAAG,IAC7D,cAAc,IAChB,QAAQ,CAAC,CAAC,CAAC,KAEX,WAAK,KAAK,EAAC,4BAA4B,EAAC,IAAI,EAAC,MAAM,EAAC,OAAO,EAAC,WAAW,kBAAc,KAAK,EAAC,MAAM,EAAC,cAAc,EAAC,KAAK,EAAC,QAAQ,IAC7H,8BACiB,OAAO,qBACN,OAAO,EACvB,CAAC,EAAC,yMAAyM,GAC3M,CACE,CACP,CACG,CACF,EACN,WAAK,KAAK,EAAC,sCAAsC,IAC/C,WAAK,KAAK,EAAC,mCAAmC,IAAE,QAAQ,CAAO,EAC/D,uBAAiB,IAAI,EAAE,EAAE,GAAI,CACzB,EACN,WACE,OAAO,EAAE,CAAC;oBACR,CAAC,CAAC,eAAe,EAAE,CAAC;oBACpB,IAAI,CAAC,kBAAkB,CAAC,EAAE,CAAC,CAAC;iBAC7B,EACD,KAAK,EAAC,4BAA4B,EAClC,IAAI,EAAC,MAAM,EACX,OAAO,EAAC,WAAW,kBACN,KAAK,EAClB,MAAM,EAAC,cAAc,EACrB,KAAK,EAAC,4DAA4D,IAElE,8BACiB,OAAO,qBACN,OAAO,EACvB,CAAC,EAAC,+ZAA+Z,GACja,CACE,CACH,EACL;SACH,CAAC,CACC,CACD,CACP,CACK,EACN,4DAAK,KAAK,EAAC,qBAAqB,IAC9B,0DAAG,KAAK,EAAC,2DAA2D,oBACrD,GAAG,EAChB,6DAAM,OAAO,EAAE,MAAM,IAAI,CAAC,iBAAiB,EAAE,EAAE,KAAK,EAAC,mCAAmC,0BAEjF,CACL,CACA,CACG,EACX;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/nl-previously-logged/nl-previously-logged.css?tag=nl-previously-logged","src/components/nl-previously-logged/nl-previously-logged.tsx"],"sourcesContent":[":host {\n display: block;\n}\n\n","import { Component, h, Fragment, Prop, Event, EventEmitter, Watch } from '@stencil/core';\nimport { CURRENT_MODULE, Info, RecentType } from '@/types';\nimport { state } from '@/store';\n\n@Component({\n tag: 'nl-previously-logged',\n styleUrl: 'nl-previously-logged.css',\n shadow: false,\n})\nexport class NlPreviouslyLogged {\n @Prop() titlePage = 'Your profiles';\n @Prop() description = 'Switch between active profiles or choose a recent one for fast login.';\n\n @Prop() accounts: Info[] = [];\n @Prop() recents: RecentType[] = [];\n\n @Event() nlSwitchAccount: EventEmitter<Info>;\n @Event() nlLoginRecentAccount: EventEmitter<RecentType>;\n @Event() nlRemoveRecent: EventEmitter<RecentType>;\n\n handleGoToWelcome() {\n state.path = [CURRENT_MODULE.WELCOME];\n }\n\n switchToWelcomeIfEmpty() {\n if (!this.recents.length && !this.accounts.length) {\n state.path = [CURRENT_MODULE.WELCOME];\n }\n }\n\n @Watch('accounts')\n watchAccounts() {\n this.switchToWelcomeIfEmpty();\n }\n\n @Watch('recents')\n watchRecents() {\n this.switchToWelcomeIfEmpty();\n }\n\n handleRemoveRecent(user: Info) {\n this.nlRemoveRecent.emit(user);\n }\n\n handleSwitch(el: Info) {\n this.nlSwitchAccount.emit(el);\n }\n\n handleLoginRecentAccount(el: RecentType) {\n this.nlLoginRecentAccount.emit(el);\n }\n\n render() {\n return (\n <Fragment>\n <div class=\"p-4 pt-0 overflow-y-auto\">\n <h1 class=\"nl-title font-bold text-center text-4xl\">{this.titlePage}</h1>\n <p class=\"nl-description font-light text-center text-lg pt-2 max-w-96 mx-auto\">{this.description}</p>\n </div>\n <div class=\"p-4\">\n {Boolean(this.accounts.length) && (\n <div class=\"max-w-96 mx-auto\">\n <p class=\"nl-description font-medium text-sm pb-1.5\">Active profiles</p>\n <ul class=\"p-2 rounded-lg border border-blue-200 flex flex-col w-full gap-0.5\">\n {this.accounts.map(el => {\n const isShowImg = Boolean(el?.picture);\n const userName = el.name || el.nip05 || el.pubkey;\n const isShowUserName = Boolean(userName);\n\n return (\n <li onClick={() => this.handleSwitch(el)} class=\"group hover:bg-gray-400 flex cursor-pointer gap-x-3.5 py-2 px-3 rounded-lg text-sm items-center justify-between\">\n <div class=\"flex items-center gap-x-3.5 w-full\">\n <div class=\"w-full max-w-7 h-7 flex relative\">\n <div class=\"absolute top-[-2px] right-[-2px] bg-white border-2 border-white rounded-xl\">\n <div class=\"active h-1.5 w-1.5 bg-green-500 rounded-xl\"></div>\n </div>\n <div class=\"group-hover:border-blue-400 uppercase font-bold w-full h-full rounded-full border border-gray-400 flex justify-center items-center\">\n {isShowImg ? (\n <img class=\"w-full rounded-full\" src={el.picture} alt=\"Logo\" />\n ) : isShowUserName ? (\n userName[0]\n ) : (\n <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"w-full\">\n <path\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n d=\"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"\n />\n </svg>\n )}\n </div>\n </div>\n\n <div class=\"overflow-hidden flex flex-col w-full\">\n <div class=\"nl-title truncate overflow-hidden\">{userName}</div>\n <nl-login-status info={el} />\n </div>\n </div>\n {/* <div class=\"w-full max-w-6\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"w-full hover:text-blue-600\">\n <path\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n d=\"M8.25 9V5.25A2.25 2.25 0 0 1 10.5 3h6a2.25 2.25 0 0 1 2.25 2.25v13.5A2.25 2.25 0 0 1 16.5 21h-6a2.25 2.25 0 0 1-2.25-2.25V15M12 9l3 3m0 0-3 3m3-3H2.25\"\n />\n </svg>\n </div> */}\n </li>\n );\n })}\n </ul>\n </div>\n )}\n\n {Boolean(this.recents.length) && (\n <div class=\"max-w-96 mx-auto pt-5\">\n <p class=\"nl-description font-medium text-sm pb-1.5\">Recent profiles</p>\n <ul class=\"p-2 rounded-lg border border-gray-200 flex flex-col w-full gap-0.5\">\n {this.recents.map(el => {\n const isShowImg = Boolean(el?.picture);\n const userName = el.name || el.nip05 || el.pubkey;\n const isShowUserName = Boolean(userName);\n\n return (\n <li\n onClick={() => this.handleLoginRecentAccount(el)}\n class=\"flex items-center gap-x-3.5 w-full hover:bg-gray-400 flex cursor-pointer items-center gap-x-3.5 py-2 px-3 rounded-lg text-sm justify-between\"\n >\n <div class=\"w-full max-w-7 h-7 flex relative\">\n <div class=\"absolute top-[-3px] right-[-3px] bg-white border border-white rounded-xl\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"w-3 h-3\">\n <path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\" />\n </svg>\n </div>\n <div class=\"uppercase font-bold w-full h-full rounded-full border border-gray-400 flex justify-center items-center\">\n {isShowImg ? (\n <img class=\"w-full rounded-full\" src={el.picture} alt=\"Logo\" />\n ) : isShowUserName ? (\n userName[0]\n ) : (\n <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"w-full\">\n <path\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n d=\"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"\n />\n </svg>\n )}\n </div>\n </div>\n <div class=\"overflow-hidden flex flex-col w-full\">\n <div class=\"nl-title truncate overflow-hidden\">{userName}</div>\n <nl-login-status info={el} />\n </div>\n <svg\n onClick={e => {\n e.stopPropagation();\n this.handleRemoveRecent(el);\n }}\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"none\"\n viewBox=\"0 0 24 24\"\n stroke-width=\"1.5\"\n stroke=\"currentColor\"\n class=\"w-full max-w-6 h-6 text-red-500 hover:text-red-600 ml-auto\"\n >\n <path\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n d=\"m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0\"\n />\n </svg>\n </li>\n );\n })}\n </ul>\n </div>\n )}\n </div>\n <div class=\"p-4 overflow-y-auto\">\n <p class=\"nl-footer font-light text-center text-sm max-w-96 mx-auto\">\n You can also{' '}\n <span onClick={() => this.handleGoToWelcome()} class=\"cursor-pointer pb-3 text-blue-500\">\n add another profile\n </span>\n </p>\n </div>\n </Fragment>\n );\n }\n}\n"],"version":3}
1
+ {"file":"nl-previously-logged2.js","mappings":";;;;;AAAA,MAAM,qBAAqB,GAAG,gq3CAAgq3C,CAAC;AAC/r3C,iCAAe,qBAAqB;;MCQvB,kBAAkB;;;;;;;yBACT,eAAe;2BACb,uEAAuE;wBAElE,EAAE;uBACG,EAAE;;IAMlC,iBAAiB;QACf,KAAK,CAAC,IAAI,GAAG,CAAC,cAAc,CAAC,OAAO,CAAC,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C,WAAW,kBACN,KAAK,EAClB,MAAM,EAAC,cAAc,EACrB,KAAK,EAAC,4DAA4D,IAElE,8BACiB,OAAO,qBACN,OAAO,EACvB,CAAC,EAAC,+ZAA+Z,GACja,CACE,CACH,EACL;SACH,CAAC,CACC,CACD,CACP,CACK,EACN,4DAAK,KAAK,EAAC,qBAAqB,IAC9B,0DAAG,KAAK,EAAC,2DAA2D,oBACrD,GAAG,EAChB,6DAAM,OAAO,EAAE,MAAM,IAAI,CAAC,iBAAiB,EAAE,EAAE,KAAK,EAAC,mCAAmC,0BAEjF,CACL,CACA,CACG,EACX;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/nl-previously-logged/nl-previously-logged.css?tag=nl-previously-logged","src/components/nl-previously-logged/nl-previously-logged.tsx"],"sourcesContent":[":host {\n display: block;\n}\n\n","import { Component, h, Fragment, Prop, Event, EventEmitter, Watch } from '@stencil/core';\nimport { CURRENT_MODULE, Info, RecentType } from '@/types';\nimport { state } from '@/store';\n\n@Component({\n tag: 'nl-previously-logged',\n styleUrl: 'nl-previously-logged.css',\n shadow: false,\n})\nexport class NlPreviouslyLogged {\n @Prop() titlePage = 'Your profiles';\n @Prop() description = 'Switch between active profiles or choose a recent one for fast login.';\n\n @Prop() accounts: Info[] = [];\n @Prop() recents: RecentType[] = [];\n\n @Event() nlSwitchAccount: EventEmitter<Info>;\n @Event() nlLoginRecentAccount: EventEmitter<RecentType>;\n @Event() nlRemoveRecent: EventEmitter<RecentType>;\n\n handleGoToWelcome() {\n state.path = [CURRENT_MODULE.WELCOME];\n }\n\n switchToWelcomeIfEmpty() {\n if (!this.recents.length && !this.accounts.length) {\n state.path = [CURRENT_MODULE.WELCOME];\n }\n }\n\n @Watch('accounts')\n watchAccounts() {\n this.switchToWelcomeIfEmpty();\n }\n\n @Watch('recents')\n watchRecents() {\n this.switchToWelcomeIfEmpty();\n }\n\n handleRemoveRecent(user: Info) {\n this.nlRemoveRecent.emit(user);\n }\n\n handleSwitch(el: Info) {\n this.nlSwitchAccount.emit(el);\n }\n\n handleLoginRecentAccount(el: RecentType) {\n this.nlLoginRecentAccount.emit(el);\n }\n\n render() {\n return (\n <Fragment>\n <div class=\"p-4 pt-0 overflow-y-auto\">\n <h1 class=\"nl-title font-bold text-center text-4xl\">{this.titlePage}</h1>\n <p class=\"nl-description font-light text-center text-lg pt-2 max-w-96 mx-auto\">{this.description}</p>\n </div>\n <div class=\"p-4\">\n {Boolean(this.accounts.length) && (\n <div class=\"max-w-96 mx-auto\">\n <p class=\"nl-description font-medium text-sm pb-1.5\">Active profiles</p>\n <ul class=\"p-2 rounded-lg border border-blue-200 flex flex-col w-full gap-0.5\">\n {this.accounts.map(el => {\n const isShowImg = Boolean(el?.picture);\n const userName = el.name || el.nip05 || el.pubkey;\n const isShowUserName = Boolean(userName);\n\n return (\n <li onClick={() => this.handleSwitch(el)} class=\"group hover:bg-gray-400 flex cursor-pointer gap-x-3.5 py-2 px-3 rounded-lg text-sm items-center justify-between\">\n <div class=\"flex items-center gap-x-3.5 w-full\">\n <div class=\"w-full max-w-7 h-7 flex relative\">\n <div class=\"absolute top-[-2px] right-[-2px] bg-white border-2 border-white rounded-xl\">\n <div class=\"active h-1.5 w-1.5 bg-green-500 rounded-xl\"></div>\n </div>\n <div class=\"group-hover:border-blue-400 uppercase font-bold w-full h-full rounded-full border border-gray-400 flex justify-center items-center\">\n {isShowImg ? (\n <img class=\"w-full rounded-full\" src={el.picture} alt=\"Logo\" />\n ) : isShowUserName ? (\n userName[0]\n ) : (\n <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"w-full\">\n <path\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n d=\"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"\n />\n </svg>\n )}\n </div>\n </div>\n\n <div class=\"overflow-hidden flex flex-col w-full\">\n <div class=\"nl-title truncate overflow-hidden\">{userName}</div>\n <nl-login-status info={el} />\n </div>\n </div>\n {/* <div class=\"w-full max-w-6\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"w-full hover:text-blue-600\">\n <path\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n d=\"M8.25 9V5.25A2.25 2.25 0 0 1 10.5 3h6a2.25 2.25 0 0 1 2.25 2.25v13.5A2.25 2.25 0 0 1 16.5 21h-6a2.25 2.25 0 0 1-2.25-2.25V15M12 9l3 3m0 0-3 3m3-3H2.25\"\n />\n </svg>\n </div> */}\n </li>\n );\n })}\n </ul>\n </div>\n )}\n\n {Boolean(this.recents.length) && (\n <div class=\"max-w-96 mx-auto pt-5\">\n <p class=\"nl-description font-medium text-sm pb-1.5\">Recent profiles</p>\n <ul class=\"p-2 rounded-lg border border-gray-200 flex flex-col w-full gap-0.5\">\n {this.recents.map(el => {\n const isShowImg = Boolean(el?.picture);\n const userName = el.name || el.nip05 || el.pubkey;\n const isShowUserName = Boolean(userName);\n\n return (\n <li\n onClick={() => this.handleLoginRecentAccount(el)}\n class=\"flex items-center gap-x-3.5 w-full hover:bg-gray-400 flex cursor-pointer items-center gap-x-3.5 py-2 px-3 rounded-lg text-sm justify-between\"\n >\n <div class=\"w-full max-w-7 h-7 flex relative\">\n <div class=\"absolute top-[-3px] right-[-3px] bg-white border border-white rounded-xl\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"w-3 h-3\">\n <path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\" />\n </svg>\n </div>\n <div class=\"uppercase font-bold w-full h-full rounded-full border border-gray-400 flex justify-center items-center\">\n {isShowImg ? (\n <img class=\"w-full rounded-full\" src={el.picture} alt=\"Logo\" />\n ) : isShowUserName ? (\n userName[0]\n ) : (\n <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"w-full\">\n <path\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n d=\"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"\n />\n </svg>\n )}\n </div>\n </div>\n <div class=\"overflow-hidden flex flex-col w-full\">\n <div class=\"nl-title truncate overflow-hidden\">{userName}</div>\n <nl-login-status info={el} />\n </div>\n <svg\n onClick={e => {\n e.stopPropagation();\n this.handleRemoveRecent(el);\n }}\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"none\"\n viewBox=\"0 0 24 24\"\n stroke-width=\"1.5\"\n stroke=\"currentColor\"\n class=\"w-full max-w-6 h-6 text-red-500 hover:text-red-600 ml-auto\"\n >\n <path\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n d=\"m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0\"\n />\n </svg>\n </li>\n );\n })}\n </ul>\n </div>\n )}\n </div>\n <div class=\"p-4 overflow-y-auto\">\n <p class=\"nl-footer font-light text-center text-sm max-w-96 mx-auto\">\n You can also{' '}\n <span onClick={() => this.handleGoToWelcome()} class=\"cursor-pointer pb-3 text-blue-500\">\n add another profile\n </span>\n </p>\n </div>\n </Fragment>\n );\n }\n}\n"],"version":3}
@@ -1 +1 @@
1
- {"file":"nl-select2.js","mappings":";;AAAA,MAAM,WAAW,GAAG,so1CAAso1C,CAAC;AAC3p1C,uBAAe,WAAW;;MCWb,QAAQ;;;;;sBACQ,KAAK;qBACH,IAAI;;;oBAwBR,KAAK;wBACF,KAAK;0BACkC,SAAS;qBACf,SAAS;;IAdtE,iBAAiB;QACf,IAAI,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,YAAY,CAAC,EAAE;YAC/C,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;SACrB;KACF;IAED,cAAc;QACZ,IAAI,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC;QAC3B,IAAI,CAAC,yBAAyB,EAAE,CAAC;KAClC;IAOD,gBAAgB,CAAC,QAAqD;QACpE,IAAI,CAAC,UAAU,GAAG,QAAQ,CAAC;KAC5B;IAGD,gBAAgB,CAAC,QAAiB;QAChC,IAAI,CAAC,IAAI,GAAG,QAAQ,CAAC;KACtB;IAED,iBAAiB;QACf,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC;QAC7B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,QAAQ,CAAC;QAE1B,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACzC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;KAC1C;IAED,yBAAyB;QACvB,IAAI,IAAI,CAAC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AAC,cAAc,GAAG,CACrB,CACC,EAET,2DAAI,GAAG,EAAE,EAAE,KAAK,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,SAAS,IAC/C,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAClB,QACE,UAAI,OAAO,EAAE,MAAM,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,EAAE,KAAK,EAAC,0FAA0F,IACvI,EAAE,CAAC,IAAI,CACL,EACL;SACH,CAAC,CACC,CACD,CACF,EACN;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/nl-select/nl-select.css?tag=nl-select","src/components/nl-select/nl-select.tsx"],"sourcesContent":[":host {\n display: block;\n}\n","import { Component, h, Listen, Prop, State, Watch, Element, Event, EventEmitter } from '@stencil/core';\n\nexport type OptionType = {\n name: string;\n value: string;\n};\n\n@Component({\n tag: 'nl-select',\n styleUrl: 'nl-select.css',\n shadow: false,\n})\nexport class NlSelect {\n @State() isOpen: boolean = false;\n @State() value: OptionType = null;\n @Prop() options: OptionType[];\n @Prop() selected: number;\n\n @Element() element: HTMLElement;\n\n @Event() selectDomain: EventEmitter<string>;\n\n buttonRef: HTMLButtonElement;\n ulRef: HTMLUListElement;\n wrapperRef: HTMLDivElement;\n\n @Listen('click', { target: 'window' })\n handleWindowClick() {\n if (this.wrapperRef.querySelector('.listClass')) {\n this.isOpen = false;\n }\n }\n\n toggleDropdown() {\n this.isOpen = !this.isOpen;\n this.calculateDropdownPosition();\n }\n\n @State() mode: boolean = false;\n @Prop() darkMode: boolean = false;\n @State() themeState: 'default' | 'ocean' | 'lemonade' | 'purple' = 'default';\n @Prop() theme: 'default' | 'ocean' | 'lemonade' | 'purple' = 'default';\n @Watch('theme')\n watchPropHandler(newValue: 'default' | 'ocean' | 'lemonade' | 'purple') {\n this.themeState = newValue;\n }\n\n @Watch('darkMode')\n watchModeHandler(newValue: boolean) {\n this.mode = newValue;\n }\n\n connectedCallback() {\n this.themeState = this.theme;\n this.mode = this.darkMode;\n\n this.value = this.options[this.selected];\n this.selectDomain.emit(this.value.value);\n }\n\n calculateDropdownPosition() {\n if (this.isOpen && this.buttonRef) {\n const buttonRect = this.buttonRef.getBoundingClientRect();\n this.ulRef.style.top = `${buttonRect.height}px`;\n }\n }\n\n handleChange(el: OptionType) {\n this.value = el;\n this.isOpen = false;\n\n this.selectDomain.emit(this.value.value);\n }\n\n render() {\n const listClass = `${this.isOpen ? 'listClass' : 'hidden'} min-w-[15rem] nl-select-list absolute left-0 shadow-md rounded-lg p-2 mt-1 after:h-4 after:absolute after:-bottom-4 after:start-0 after:w-full before:h-4 before:absolute before:-top-4 before:start-0 before:w-full`;\n const arrowClass = `${this.isOpen ? 'rotate-180' : 'rotate-0'} duration-300 flex-shrink-0 w-4 h-4 text-gray-500`;\n\n return (\n <div class={`theme-${this.themeState}`}>\n <div class=\"relative\" ref={el => (this.wrapperRef = el)}>\n <button\n ref={el => (this.buttonRef = el)}\n onClick={() => this.toggleDropdown()}\n type=\"button\"\n class=\"nl-select peer py-3 px-4 flex items-center w-full justify-between border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent\"\n >\n <span class=\"truncate overflow-hidden\">{this.value.name}</span>\n <svg\n class={arrowClass}\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n >\n <path d=\"m6 9 6 6 6-6\" />\n </svg>\n </button>\n\n <ul ref={el => (this.ulRef = el)} class={listClass}>\n {this.options.map(el => {\n return (\n <li onClick={() => this.handleChange(el)} class=\"nl-select-option flex cursor-pointer items-center gap-x-3.5 py-2 px-3 rounded-lg text-sm\">\n {el.name}\n </li>\n );\n })}\n </ul>\n </div>\n </div>\n );\n }\n}\n"],"version":3}
1
+ {"file":"nl-select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AC,CACC,CACD,CACF,EACN;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/nl-select/nl-select.css?tag=nl-select","src/components/nl-select/nl-select.tsx"],"sourcesContent":[":host {\n display: block;\n}\n","import { Component, h, Listen, Prop, State, Watch, Element, Event, EventEmitter } from '@stencil/core';\n\nexport type OptionType = {\n name: string;\n value: string;\n};\n\n@Component({\n tag: 'nl-select',\n styleUrl: 'nl-select.css',\n shadow: false,\n})\nexport class NlSelect {\n @State() isOpen: boolean = false;\n @State() value: OptionType = null;\n @Prop() options: OptionType[];\n @Prop() selected: number;\n\n @Element() element: HTMLElement;\n\n @Event() selectDomain: EventEmitter<string>;\n\n buttonRef: HTMLButtonElement;\n ulRef: HTMLUListElement;\n wrapperRef: HTMLDivElement;\n\n @Listen('click', { target: 'window' })\n handleWindowClick() {\n if (this.wrapperRef.querySelector('.listClass')) {\n this.isOpen = false;\n }\n }\n\n toggleDropdown() {\n this.isOpen = !this.isOpen;\n this.calculateDropdownPosition();\n }\n\n @State() mode: boolean = false;\n @Prop() darkMode: boolean = false;\n @State() themeState: 'default' | 'ocean' | 'lemonade' | 'purple' = 'default';\n @Prop() theme: 'default' | 'ocean' | 'lemonade' | 'purple' = 'default';\n @Watch('theme')\n watchPropHandler(newValue: 'default' | 'ocean' | 'lemonade' | 'purple') {\n this.themeState = newValue;\n }\n\n @Watch('darkMode')\n watchModeHandler(newValue: boolean) {\n this.mode = newValue;\n }\n\n connectedCallback() {\n this.themeState = this.theme;\n this.mode = this.darkMode;\n\n this.value = this.options[this.selected];\n this.selectDomain.emit(this.value.value);\n }\n\n calculateDropdownPosition() {\n if (this.isOpen && this.buttonRef) {\n const buttonRect = this.buttonRef.getBoundingClientRect();\n this.ulRef.style.top = `${buttonRect.height}px`;\n }\n }\n\n handleChange(el: OptionType) {\n this.value = el;\n this.isOpen = false;\n\n this.selectDomain.emit(this.value.value);\n }\n\n render() {\n const listClass = `${this.isOpen ? 'listClass' : 'hidden'} min-w-[15rem] nl-select-list absolute left-0 shadow-md rounded-lg p-2 mt-1 after:h-4 after:absolute after:-bottom-4 after:start-0 after:w-full before:h-4 before:absolute before:-top-4 before:start-0 before:w-full`;\n const arrowClass = `${this.isOpen ? 'rotate-180' : 'rotate-0'} duration-300 flex-shrink-0 w-4 h-4 text-gray-500`;\n\n return (\n <div class={`theme-${this.themeState}`}>\n <div class=\"relative\" ref={el => (this.wrapperRef = el)}>\n <button\n ref={el => (this.buttonRef = el)}\n onClick={() => this.toggleDropdown()}\n type=\"button\"\n class=\"nl-select peer py-3 px-4 flex items-center w-full justify-between border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent\"\n >\n <span class=\"truncate overflow-hidden\">{this.value.name}</span>\n <svg\n class={arrowClass}\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n >\n <path d=\"m6 9 6 6 6-6\" />\n </svg>\n </button>\n\n <ul ref={el => (this.ulRef = el)} class={listClass}>\n {this.options.map(el => {\n return (\n <li onClick={() => this.handleChange(el)} class=\"nl-select-option flex cursor-pointer items-center gap-x-3.5 py-2 px-3 rounded-lg text-sm\">\n {el.name}\n </li>\n );\n })}\n </ul>\n </div>\n </div>\n );\n }\n}\n"],"version":3}
@@ -134,7 +134,7 @@ const NlSigninBunkerUrl = /*@__PURE__*/ proxyCustomElement(class NlSigninBunkerU
134
134
  this.stopScan();
135
135
  }
136
136
  render() {
137
- return (h(Fragment, { key: '1ee10a09c7f6782b5f89530c9331a3144f73a8ba' }, h("div", { key: '68b5bef4961ddc8cf24ef98f7452d8ae5b0f6aae', class: "p-4 overflow-y-auto" }, h("h1", { key: 'be4da63776a4fc4f2228b22e95a1f31380e6d0f6', class: "nl-title font-bold text-center text-2xl" }, this.titleLogin), h("p", { key: 'd2e9c469206c4e71544416760090751dbe33cb4b', class: "nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto" }, this.description)), h("div", { key: 'f2219e9bfc0262b5e1bfcfb3761515a26332c3d6', class: "max-w-72 mx-auto" }, h("div", { key: 'bd25646ec291c36aa20088108056bd6ae80f851a', class: "relative mb-2" }, h("input", { key: '659665fa5c9b1247c5e81afc86a11b61e236b67a', onInput: e => this.handleInputChange(e), type: "text", class: "nl-input peer py-3 px-4 ps-11 block w-full border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent", placeholder: "bunker://...", value: state.nlSigninBunkerUrl.loginName }), h("div", { key: '4e0fe1bfaa82a05256a716c329ae9f8e6696b1d3', class: "absolute inset-y-0 start-0 flex items-center pointer-events-none ps-4 peer-disabled:opacity-50 peer-disabled:pointer-events-none" }, h("svg", { key: '795ba20efa3fc317ccb0e91489ee7d96dc36b0e7', xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", "stroke-width": "2", stroke: this.isGood ? '#00cc00' : 'currentColor', class: "flex-shrink-0 w-4 h-4 text-gray-500" }, h("path", { key: '0d856bf29de693b6424256da7491993692edde1b', "stroke-linecap": "round", "stroke-linejoin": "round", d: "M13.19 8.688a4.5 4.5 0 0 1 1.242 7.244l-4.5 4.5a4.5 4.5 0 0 1-6.364-6.364l1.757-1.757m13.35-.622 1.757-1.757a4.5 4.5 0 0 0-6.364-6.364l-4.5 4.5a4.5 4.5 0 0 0 1.242 7.244" })))), this.isScanning ? (h("div", { class: "mb-3" }, h("div", { ref: el => (this.scannerContainer = el), class: "relative rounded-lg overflow-hidden bg-black", style: { aspectRatio: '1', width: '100%' } }), h("button", { type: "button", onClick: () => this.stopScan(), class: "nl-action-button mt-2 w-full py-2 px-4 text-sm font-medium rounded-lg border border-transparent" }, "Cancel"))) : (h("div", { class: "mb-3" }, h("button", { type: "button", onClick: () => this.startScan(), class: "nl-action-button w-full py-2 px-4 inline-flex justify-center items-center gap-x-2 text-sm font-medium rounded-lg border border-transparent" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", "stroke-width": "1.5", stroke: "currentColor", class: "w-4 h-4" }, h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "M6.827 6.175A2.31 2.31 0 0 1 5.186 7.23c-.38.054-.757.112-1.134.175C2.999 7.58 2.25 8.507 2.25 9.574V18a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18V9.574c0-1.067-.75-1.994-1.802-2.169a47.865 47.865 0 0 0-1.134-.175 2.31 2.31 0 0 1-1.64-1.055l-.822-1.316a2.192 2.192 0 0 0-1.736-1.039 48.774 48.774 0 0 0-5.232 0 2.192 2.192 0 0 0-1.736 1.039l-.821 1.316Z" }), h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "M16.5 12.75a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0ZM18.75 10.5h.008v.008h-.008V10.5Z" })), "Scan QR Code"))), this.scanError && (h("div", { key: 'dfc914e494b41c2381fe9f4d699632ecb4fd33c9', class: "mb-2" }, h("p", { key: '043fa75931e800a25afa0d6d02de0aab7718ed4c', class: "nl-error font-light text-center text-sm" }, this.scanError))), h("div", { key: 'd908c3d8c8a8054ce944a47a27e3b18c8dc40ce5', class: "ps-4 pe-4 overflow-y-auto" }, h("p", { key: '8293556d3e2a1f714e2a776ab69d1e1609806bbb', class: "nl-error font-light text-center text-sm max-w-96 mx-auto" }, state.error)), h("button-base", { key: '305e5badc3dd35dcbadc0e1ff123eee5bb1580a6', titleBtn: "Connect", disabled: state.isLoading, onClick: e => this.handleLogin(e) }, state.isLoading ? (h("span", { slot: "icon-start", class: "animate-spin-loading inline-block w-4 h-4 border-[3px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full", role: "status", "aria-label": "loading" })) : (h("svg", { style: { display: 'none' }, slot: "icon-start", xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", "stroke-width": "1.5", stroke: "currentColor" }, h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "M8.25 9V5.25A2.25 2.25 0 0 1 10.5 3h6a2.25 2.25 0 0 1 2.25 2.25v13.5A2.25 2.25 0 0 1 16.5 21h-6a2.25 2.25 0 0 1-2.25-2.25V15M12 9l3 3m0 0-3 3m3-3H2.25" })))))));
137
+ return (h(Fragment, { key: '1ee10a09c7f6782b5f89530c9331a3144f73a8ba' }, h("div", { key: '68b5bef4961ddc8cf24ef98f7452d8ae5b0f6aae', class: "p-4 overflow-y-auto" }, h("h1", { key: 'be4da63776a4fc4f2228b22e95a1f31380e6d0f6', class: "nl-title font-bold text-center text-2xl" }, this.titleLogin), h("p", { key: 'd2e9c469206c4e71544416760090751dbe33cb4b', class: "nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto" }, this.description)), h("div", { key: 'f2219e9bfc0262b5e1bfcfb3761515a26332c3d6', class: "max-w-72 mx-auto" }, h("div", { key: 'bd25646ec291c36aa20088108056bd6ae80f851a', class: "relative mb-2" }, h("input", { key: 'f6346db86e0b65ce9018ef5e4930c70f3ea65d43', onInput: e => this.handleInputChange(e), type: "text", class: "nl-input peer py-3 px-4 ps-11 block w-full border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent", placeholder: "bunker://...", "aria-label": "Bunker URL", value: state.nlSigninBunkerUrl.loginName }), h("div", { key: '9c5256f4c0707ff5c896319c6a3207cc98445a46', class: "absolute inset-y-0 start-0 flex items-center pointer-events-none ps-4 peer-disabled:opacity-50 peer-disabled:pointer-events-none" }, h("svg", { key: '729b7a2d98400517439a265addaed9a36aa66a02', xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", "stroke-width": "2", stroke: this.isGood ? '#00cc00' : 'currentColor', class: "flex-shrink-0 w-4 h-4 text-gray-500" }, h("path", { key: 'f0e943579c5ed42759674d92215d26b82000048e', "stroke-linecap": "round", "stroke-linejoin": "round", d: "M13.19 8.688a4.5 4.5 0 0 1 1.242 7.244l-4.5 4.5a4.5 4.5 0 0 1-6.364-6.364l1.757-1.757m13.35-.622 1.757-1.757a4.5 4.5 0 0 0-6.364-6.364l-4.5 4.5a4.5 4.5 0 0 0 1.242 7.244" })))), this.isScanning ? (h("div", { class: "mb-3" }, h("div", { ref: el => (this.scannerContainer = el), class: "relative rounded-lg overflow-hidden bg-black", style: { aspectRatio: '1', width: '100%' } }), h("button", { type: "button", onClick: () => this.stopScan(), class: "nl-action-button mt-2 w-full py-2 px-4 text-sm font-medium rounded-lg border border-transparent" }, "Cancel"))) : (h("div", { class: "mb-3" }, h("button", { type: "button", onClick: () => this.startScan(), class: "nl-action-button w-full py-2 px-4 inline-flex justify-center items-center gap-x-2 text-sm font-medium rounded-lg border border-transparent" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", "stroke-width": "1.5", stroke: "currentColor", class: "w-4 h-4" }, h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "M6.827 6.175A2.31 2.31 0 0 1 5.186 7.23c-.38.054-.757.112-1.134.175C2.999 7.58 2.25 8.507 2.25 9.574V18a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18V9.574c0-1.067-.75-1.994-1.802-2.169a47.865 47.865 0 0 0-1.134-.175 2.31 2.31 0 0 1-1.64-1.055l-.822-1.316a2.192 2.192 0 0 0-1.736-1.039 48.774 48.774 0 0 0-5.232 0 2.192 2.192 0 0 0-1.736 1.039l-.821 1.316Z" }), h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "M16.5 12.75a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0ZM18.75 10.5h.008v.008h-.008V10.5Z" })), "Scan QR Code"))), this.scanError && (h("div", { key: '14137e16e19dca0172088d2d6f357f79dd1011bb', class: "mb-2" }, h("p", { key: '5a19b9d33d74892e6ab64de10dadab8da07ae0a7', class: "nl-error font-light text-center text-sm" }, this.scanError))), h("div", { key: '400bbdb877b972cfd0fc4bcd1225a76bcf657d19', class: "ps-4 pe-4 overflow-y-auto" }, h("p", { key: '80a40e6ec6f7e3f5d228a40641bca33494a9865b', class: "nl-error font-light text-center text-sm max-w-96 mx-auto" }, state.error)), h("button-base", { key: '911efef109eea3f704505567f2f498ef610b4c44', titleBtn: "Connect", disabled: state.isLoading, onClick: e => this.handleLogin(e) }, state.isLoading ? (h("span", { slot: "icon-start", class: "animate-spin-loading inline-block w-4 h-4 border-[3px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full", role: "status", "aria-label": "loading" })) : (h("svg", { style: { display: 'none' }, slot: "icon-start", xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", "stroke-width": "1.5", stroke: "currentColor" }, h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "M8.25 9V5.25A2.25 2.25 0 0 1 10.5 3h6a2.25 2.25 0 0 1 2.25 2.25v13.5A2.25 2.25 0 0 1 16.5 21h-6a2.25 2.25 0 0 1-2.25-2.25V15M12 9l3 3m0 0-3 3m3-3H2.25" })))))));
138
138
  }
139
139
  static get style() { return NlSigninBunkerUrlStyle0; }
140
140
  }, [0, "nl-signin-bunker-url", {
@@ -1 +1 @@
1
- {"file":"nl-signin-bunker-url2.js","mappings":";;;;AAAA,MAAM,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,mBAAmB,CAAC,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,IAAI,CAAC,kBAAkB,CAAC,EAAE,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,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EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,IAAI,EAAC,YAAY,EAAC,KAAK,EAAC,4BAA4B,EAAC,IAAI,EAAC,MAAM,EAAC,OAAO,EAAC,WAAW,kBAAc,KAAK,EAAC,MAAM,EAAC,cAAc,IAC5J,8BACiB,OAAO,qBACN,OAAO,EACvB,CAAC,EAAC,wJAAwJ,GAC1J,CACE,CACP,CACW,CACV,CACG,EACX;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["QrScanner"],"sources":["../../node_modules/qr-scanner/qr-scanner.min.js","src/components/nl-signin-bunker-url/nl-signin-bunker-url.css?tag=nl-signin-bunker-url","src/components/nl-signin-bunker-url/nl-signin-bunker-url.tsx"],"sourcesContent":["class e{constructor(a,b,c,d,f){this._legacyCanvasSize=e.DEFAULT_CANVAS_SIZE;this._preferredCamera=\"environment\";this._maxScansPerSecond=25;this._lastScanTimestamp=-1;this._destroyed=this._flashOn=this._paused=this._active=!1;this.$video=a;this.$canvas=document.createElement(\"canvas\");c&&\"object\"===typeof c?this._onDecode=b:(c||d||f?console.warn(\"You're using a deprecated version of the QrScanner constructor which will be removed in the future\"):console.warn(\"Note that the type of the scan result passed to onDecode will change in the future. To already switch to the new api today, you can pass returnDetailedScanResult: true.\"),\nthis._legacyOnDecode=b);b=\"object\"===typeof c?c:{};this._onDecodeError=b.onDecodeError||(\"function\"===typeof c?c:this._onDecodeError);this._calculateScanRegion=b.calculateScanRegion||(\"function\"===typeof d?d:this._calculateScanRegion);this._preferredCamera=b.preferredCamera||f||this._preferredCamera;this._legacyCanvasSize=\"number\"===typeof c?c:\"number\"===typeof d?d:this._legacyCanvasSize;this._maxScansPerSecond=b.maxScansPerSecond||this._maxScansPerSecond;this._onPlay=this._onPlay.bind(this);this._onLoadedMetaData=\nthis._onLoadedMetaData.bind(this);this._onVisibilityChange=this._onVisibilityChange.bind(this);this._updateOverlay=this._updateOverlay.bind(this);a.disablePictureInPicture=!0;a.playsInline=!0;a.muted=!0;let h=!1;a.hidden&&(a.hidden=!1,h=!0);document.body.contains(a)||(document.body.appendChild(a),h=!0);c=a.parentElement;if(b.highlightScanRegion||b.highlightCodeOutline){d=!!b.overlay;this.$overlay=b.overlay||document.createElement(\"div\");f=this.$overlay.style;f.position=\"absolute\";f.display=\"none\";\nf.pointerEvents=\"none\";this.$overlay.classList.add(\"scan-region-highlight\");if(!d&&b.highlightScanRegion){this.$overlay.innerHTML='<svg class=\"scan-region-highlight-svg\" viewBox=\"0 0 238 238\" preserveAspectRatio=\"none\" style=\"position:absolute;width:100%;height:100%;left:0;top:0;fill:none;stroke:#e9b213;stroke-width:4;stroke-linecap:round;stroke-linejoin:round\"><path d=\"M31 2H10a8 8 0 0 0-8 8v21M207 2h21a8 8 0 0 1 8 8v21m0 176v21a8 8 0 0 1-8 8h-21m-176 0H10a8 8 0 0 1-8-8v-21\"/></svg>';try{this.$overlay.firstElementChild.animate({transform:[\"scale(.98)\",\n\"scale(1.01)\"]},{duration:400,iterations:Infinity,direction:\"alternate\",easing:\"ease-in-out\"})}catch(m){}c.insertBefore(this.$overlay,this.$video.nextSibling)}b.highlightCodeOutline&&(this.$overlay.insertAdjacentHTML(\"beforeend\",'<svg class=\"code-outline-highlight\" preserveAspectRatio=\"none\" style=\"display:none;width:100%;height:100%;fill:none;stroke:#e9b213;stroke-width:5;stroke-dasharray:25;stroke-linecap:round;stroke-linejoin:round\"><polygon/></svg>'),this.$codeOutlineHighlight=this.$overlay.lastElementChild)}this._scanRegion=\nthis._calculateScanRegion(a);requestAnimationFrame(()=>{let m=window.getComputedStyle(a);\"none\"===m.display&&(a.style.setProperty(\"display\",\"block\",\"important\"),h=!0);\"visible\"!==m.visibility&&(a.style.setProperty(\"visibility\",\"visible\",\"important\"),h=!0);h&&(console.warn(\"QrScanner has overwritten the video hiding style to avoid Safari stopping the playback.\"),a.style.opacity=\"0\",a.style.width=\"0\",a.style.height=\"0\",this.$overlay&&this.$overlay.parentElement&&this.$overlay.parentElement.removeChild(this.$overlay),\ndelete this.$overlay,delete this.$codeOutlineHighlight);this.$overlay&&this._updateOverlay()});a.addEventListener(\"play\",this._onPlay);a.addEventListener(\"loadedmetadata\",this._onLoadedMetaData);document.addEventListener(\"visibilitychange\",this._onVisibilityChange);window.addEventListener(\"resize\",this._updateOverlay);this._qrEnginePromise=e.createQrEngine()}static set WORKER_PATH(a){console.warn(\"Setting QrScanner.WORKER_PATH is not required and not supported anymore. Have a look at the README for new setup instructions.\")}static async hasCamera(){try{return!!(await e.listCameras(!1)).length}catch(a){return!1}}static async listCameras(a=\n!1){if(!navigator.mediaDevices)return[];let b=async()=>(await navigator.mediaDevices.enumerateDevices()).filter(d=>\"videoinput\"===d.kind),c;try{a&&(await b()).every(d=>!d.label)&&(c=await navigator.mediaDevices.getUserMedia({audio:!1,video:!0}))}catch(d){}try{return(await b()).map((d,f)=>({id:d.deviceId,label:d.label||(0===f?\"Default Camera\":`Camera ${f+1}`)}))}finally{c&&(console.warn(\"Call listCameras after successfully starting a QR scanner to avoid creating a temporary video stream\"),e._stopVideoStream(c))}}async hasFlash(){let a;\ntry{if(this.$video.srcObject){if(!(this.$video.srcObject instanceof MediaStream))return!1;a=this.$video.srcObject}else a=(await this._getCameraStream()).stream;return\"torch\"in a.getVideoTracks()[0].getSettings()}catch(b){return!1}finally{a&&a!==this.$video.srcObject&&(console.warn(\"Call hasFlash after successfully starting the scanner to avoid creating a temporary video stream\"),e._stopVideoStream(a))}}isFlashOn(){return this._flashOn}async toggleFlash(){this._flashOn?await this.turnFlashOff():await this.turnFlashOn()}async turnFlashOn(){if(!this._flashOn&&\n!this._destroyed&&(this._flashOn=!0,this._active&&!this._paused))try{if(!await this.hasFlash())throw\"No flash available\";await this.$video.srcObject.getVideoTracks()[0].applyConstraints({advanced:[{torch:!0}]})}catch(a){throw this._flashOn=!1,a;}}async turnFlashOff(){this._flashOn&&(this._flashOn=!1,await this._restartVideoStream())}destroy(){this.$video.removeEventListener(\"loadedmetadata\",this._onLoadedMetaData);this.$video.removeEventListener(\"play\",this._onPlay);document.removeEventListener(\"visibilitychange\",\nthis._onVisibilityChange);window.removeEventListener(\"resize\",this._updateOverlay);this._destroyed=!0;this._flashOn=!1;this.stop();e._postWorkerMessage(this._qrEnginePromise,\"close\")}async start(){if(this._destroyed)throw Error(\"The QR scanner can not be started as it had been destroyed.\");if(!this._active||this._paused)if(\"https:\"!==window.location.protocol&&console.warn(\"The camera stream is only accessible if the page is transferred via https.\"),this._active=!0,!document.hidden)if(this._paused=\n!1,this.$video.srcObject)await this.$video.play();else try{let {stream:a,facingMode:b}=await this._getCameraStream();!this._active||this._paused?e._stopVideoStream(a):(this._setVideoMirror(b),this.$video.srcObject=a,await this.$video.play(),this._flashOn&&(this._flashOn=!1,this.turnFlashOn().catch(()=>{})))}catch(a){if(!this._paused)throw this._active=!1,a;}}stop(){this.pause();this._active=!1}async pause(a=!1){this._paused=!0;if(!this._active)return!0;this.$video.pause();this.$overlay&&(this.$overlay.style.display=\n\"none\");let b=()=>{this.$video.srcObject instanceof MediaStream&&(e._stopVideoStream(this.$video.srcObject),this.$video.srcObject=null)};if(a)return b(),!0;await new Promise(c=>setTimeout(c,300));if(!this._paused)return!1;b();return!0}async setCamera(a){a!==this._preferredCamera&&(this._preferredCamera=a,await this._restartVideoStream())}static async scanImage(a,b,c,d,f=!1,h=!1){let m,n=!1;b&&(\"scanRegion\"in b||\"qrEngine\"in b||\"canvas\"in b||\"disallowCanvasResizing\"in b||\"alsoTryWithoutScanRegion\"in\nb||\"returnDetailedScanResult\"in b)?(m=b.scanRegion,c=b.qrEngine,d=b.canvas,f=b.disallowCanvasResizing||!1,h=b.alsoTryWithoutScanRegion||!1,n=!0):b||c||d||f||h?console.warn(\"You're using a deprecated api for scanImage which will be removed in the future.\"):console.warn(\"Note that the return type of scanImage will change in the future. To already switch to the new api today, you can pass returnDetailedScanResult: true.\");b=!!c;try{let p,k;[c,p]=await Promise.all([c||e.createQrEngine(),e._loadImage(a)]);\n[d,k]=e._drawToCanvas(p,m,d,f);let q;if(c instanceof Worker){let g=c;b||e._postWorkerMessageSync(g,\"inversionMode\",\"both\");q=await new Promise((l,v)=>{let w,u,r,y=-1;u=t=>{t.data.id===y&&(g.removeEventListener(\"message\",u),g.removeEventListener(\"error\",r),clearTimeout(w),null!==t.data.data?l({data:t.data.data,cornerPoints:e._convertPoints(t.data.cornerPoints,m)}):v(e.NO_QR_CODE_FOUND))};r=t=>{g.removeEventListener(\"message\",u);g.removeEventListener(\"error\",r);clearTimeout(w);v(\"Scanner error: \"+(t?\nt.message||t:\"Unknown Error\"))};g.addEventListener(\"message\",u);g.addEventListener(\"error\",r);w=setTimeout(()=>r(\"timeout\"),1E4);let x=k.getImageData(0,0,d.width,d.height);y=e._postWorkerMessageSync(g,\"decode\",x,[x.data.buffer])})}else q=await Promise.race([new Promise((g,l)=>window.setTimeout(()=>l(\"Scanner error: timeout\"),1E4)),(async()=>{try{var [g]=await c.detect(d);if(!g)throw e.NO_QR_CODE_FOUND;return{data:g.rawValue,cornerPoints:e._convertPoints(g.cornerPoints,m)}}catch(l){g=l.message||l;\nif(/not implemented|service unavailable/.test(g))return e._disableBarcodeDetector=!0,e.scanImage(a,{scanRegion:m,canvas:d,disallowCanvasResizing:f,alsoTryWithoutScanRegion:h});throw`Scanner error: ${g}`;}})()]);return n?q:q.data}catch(p){if(!m||!h)throw p;let k=await e.scanImage(a,{qrEngine:c,canvas:d,disallowCanvasResizing:f});return n?k:k.data}finally{b||e._postWorkerMessage(c,\"close\")}}setGrayscaleWeights(a,b,c,d=!0){e._postWorkerMessage(this._qrEnginePromise,\"grayscaleWeights\",{red:a,green:b,\nblue:c,useIntegerApproximation:d})}setInversionMode(a){e._postWorkerMessage(this._qrEnginePromise,\"inversionMode\",a)}static async createQrEngine(a){a&&console.warn(\"Specifying a worker path is not required and not supported anymore.\");a=()=>import(\"./qr-scanner-worker.min.js\").then(c=>c.createWorker());if(!(!e._disableBarcodeDetector&&\"BarcodeDetector\"in window&&BarcodeDetector.getSupportedFormats&&(await BarcodeDetector.getSupportedFormats()).includes(\"qr_code\")))return a();let b=navigator.userAgentData;\nreturn b&&b.brands.some(({brand:c})=>/Chromium/i.test(c))&&/mac ?OS/i.test(b.platform)&&await b.getHighEntropyValues([\"architecture\",\"platformVersion\"]).then(({architecture:c,platformVersion:d})=>/arm/i.test(c||\"arm\")&&13<=parseInt(d||\"13\")).catch(()=>!0)?a():new BarcodeDetector({formats:[\"qr_code\"]})}_onPlay(){this._scanRegion=this._calculateScanRegion(this.$video);this._updateOverlay();this.$overlay&&(this.$overlay.style.display=\"\");this._scanFrame()}_onLoadedMetaData(){this._scanRegion=this._calculateScanRegion(this.$video);\nthis._updateOverlay()}_onVisibilityChange(){document.hidden?this.pause():this._active&&this.start()}_calculateScanRegion(a){let b=Math.round(2/3*Math.min(a.videoWidth,a.videoHeight));return{x:Math.round((a.videoWidth-b)/2),y:Math.round((a.videoHeight-b)/2),width:b,height:b,downScaledWidth:this._legacyCanvasSize,downScaledHeight:this._legacyCanvasSize}}_updateOverlay(){requestAnimationFrame(()=>{if(this.$overlay){var a=this.$video,b=a.videoWidth,c=a.videoHeight,d=a.offsetWidth,f=a.offsetHeight,h=a.offsetLeft,\nm=a.offsetTop,n=window.getComputedStyle(a),p=n.objectFit,k=b/c,q=d/f;switch(p){case \"none\":var g=b;var l=c;break;case \"fill\":g=d;l=f;break;default:(\"cover\"===p?k>q:k<q)?(l=f,g=l*k):(g=d,l=g/k),\"scale-down\"===p&&(g=Math.min(g,b),l=Math.min(l,c))}var [v,w]=n.objectPosition.split(\" \").map((r,y)=>{const x=parseFloat(r);return r.endsWith(\"%\")?(y?f-l:d-g)*x/100:x});n=this._scanRegion.width||b;q=this._scanRegion.height||c;p=this._scanRegion.x||0;var u=this._scanRegion.y||0;k=this.$overlay.style;k.width=\n`${n/b*g}px`;k.height=`${q/c*l}px`;k.top=`${m+w+u/c*l}px`;c=/scaleX\\(-1\\)/.test(a.style.transform);k.left=`${h+(c?d-v-g:v)+(c?b-p-n:p)/b*g}px`;k.transform=a.style.transform}})}static _convertPoints(a,b){if(!b)return a;let c=b.x||0,d=b.y||0,f=b.width&&b.downScaledWidth?b.width/b.downScaledWidth:1;b=b.height&&b.downScaledHeight?b.height/b.downScaledHeight:1;for(let h of a)h.x=h.x*f+c,h.y=h.y*b+d;return a}_scanFrame(){!this._active||this.$video.paused||this.$video.ended||(\"requestVideoFrameCallback\"in\nthis.$video?this.$video.requestVideoFrameCallback.bind(this.$video):requestAnimationFrame)(async()=>{if(!(1>=this.$video.readyState)){var a=Date.now()-this._lastScanTimestamp,b=1E3/this._maxScansPerSecond;a<b&&await new Promise(d=>setTimeout(d,b-a));this._lastScanTimestamp=Date.now();try{var c=await e.scanImage(this.$video,{scanRegion:this._scanRegion,qrEngine:this._qrEnginePromise,canvas:this.$canvas})}catch(d){if(!this._active)return;this._onDecodeError(d)}!e._disableBarcodeDetector||await this._qrEnginePromise instanceof\nWorker||(this._qrEnginePromise=e.createQrEngine());c?(this._onDecode?this._onDecode(c):this._legacyOnDecode&&this._legacyOnDecode(c.data),this.$codeOutlineHighlight&&(clearTimeout(this._codeOutlineHighlightRemovalTimeout),this._codeOutlineHighlightRemovalTimeout=void 0,this.$codeOutlineHighlight.setAttribute(\"viewBox\",`${this._scanRegion.x||0} `+`${this._scanRegion.y||0} `+`${this._scanRegion.width||this.$video.videoWidth} `+`${this._scanRegion.height||this.$video.videoHeight}`),this.$codeOutlineHighlight.firstElementChild.setAttribute(\"points\",\nc.cornerPoints.map(({x:d,y:f})=>`${d},${f}`).join(\" \")),this.$codeOutlineHighlight.style.display=\"\")):this.$codeOutlineHighlight&&!this._codeOutlineHighlightRemovalTimeout&&(this._codeOutlineHighlightRemovalTimeout=setTimeout(()=>this.$codeOutlineHighlight.style.display=\"none\",100))}this._scanFrame()})}_onDecodeError(a){a!==e.NO_QR_CODE_FOUND&&console.log(a)}async _getCameraStream(){if(!navigator.mediaDevices)throw\"Camera not found.\";let a=/^(environment|user)$/.test(this._preferredCamera)?\"facingMode\":\n\"deviceId\",b=[{width:{min:1024}},{width:{min:768}},{}],c=b.map(d=>Object.assign({},d,{[a]:{exact:this._preferredCamera}}));for(let d of[...c,...b])try{let f=await navigator.mediaDevices.getUserMedia({video:d,audio:!1}),h=this._getFacingMode(f)||(d.facingMode?this._preferredCamera:\"environment\"===this._preferredCamera?\"user\":\"environment\");return{stream:f,facingMode:h}}catch(f){}throw\"Camera not found.\";}async _restartVideoStream(){let a=this._paused;await this.pause(!0)&&!a&&this._active&&await this.start()}static _stopVideoStream(a){for(let b of a.getTracks())b.stop(),\na.removeTrack(b)}_setVideoMirror(a){this.$video.style.transform=\"scaleX(\"+(\"user\"===a?-1:1)+\")\"}_getFacingMode(a){return(a=a.getVideoTracks()[0])?/rear|back|environment/i.test(a.label)?\"environment\":/front|user|face/i.test(a.label)?\"user\":null:null}static _drawToCanvas(a,b,c,d=!1){c=c||document.createElement(\"canvas\");let f=b&&b.x?b.x:0,h=b&&b.y?b.y:0,m=b&&b.width?b.width:a.videoWidth||a.width,n=b&&b.height?b.height:a.videoHeight||a.height;d||(d=b&&b.downScaledWidth?b.downScaledWidth:m,b=b&&b.downScaledHeight?\nb.downScaledHeight:n,c.width!==d&&(c.width=d),c.height!==b&&(c.height=b));b=c.getContext(\"2d\",{alpha:!1});b.imageSmoothingEnabled=!1;b.drawImage(a,f,h,m,n,0,0,c.width,c.height);return[c,b]}static async _loadImage(a){if(a instanceof Image)return await e._awaitImageLoad(a),a;if(a instanceof HTMLVideoElement||a instanceof HTMLCanvasElement||a instanceof SVGImageElement||\"OffscreenCanvas\"in window&&a instanceof OffscreenCanvas||\"ImageBitmap\"in window&&a instanceof ImageBitmap)return a;if(a instanceof\nFile||a instanceof Blob||a instanceof URL||\"string\"===typeof a){let b=new Image;b.src=a instanceof File||a instanceof Blob?URL.createObjectURL(a):a.toString();try{return await e._awaitImageLoad(b),b}finally{(a instanceof File||a instanceof Blob)&&URL.revokeObjectURL(b.src)}}else throw\"Unsupported image type.\";}static async _awaitImageLoad(a){a.complete&&0!==a.naturalWidth||await new Promise((b,c)=>{let d=f=>{a.removeEventListener(\"load\",d);a.removeEventListener(\"error\",d);f instanceof ErrorEvent?\nc(\"Image load error\"):b()};a.addEventListener(\"load\",d);a.addEventListener(\"error\",d)})}static async _postWorkerMessage(a,b,c,d){return e._postWorkerMessageSync(await a,b,c,d)}static _postWorkerMessageSync(a,b,c,d){if(!(a instanceof Worker))return-1;let f=e._workerMessageId++;a.postMessage({id:f,type:b,data:c},d);return f}}e.DEFAULT_CANVAS_SIZE=400;e.NO_QR_CODE_FOUND=\"No QR code found\";e._disableBarcodeDetector=!1;e._workerMessageId=0;export default e\n//# sourceMappingURL=qr-scanner.min.js.map\n",":host {\n display: block;\n}\n","import { Component, h, State, Prop, Fragment, Event, EventEmitter } from '@stencil/core';\nimport { state } from '@/store';\nimport QrScanner from 'qr-scanner';\n\n@Component({\n tag: 'nl-signin-bunker-url',\n styleUrl: 'nl-signin-bunker-url.css',\n shadow: false,\n})\nexport class NlSigninBunkerUrl {\n @Prop() titleLogin = 'Connect with bunker url';\n @Prop() description = 'Please enter a bunker url provided by key store.';\n @State() isGood = false;\n @State() isScanning = false;\n @State() scanError = '';\n\n @Event() nlLogin: EventEmitter<string>;\n @Event() nlCheckLogin: EventEmitter<string>;\n\n private videoEl: HTMLVideoElement | null = null;\n private stream: MediaStream | null = null;\n private scannerContainer: HTMLDivElement;\n private scanInterval: ReturnType<typeof setInterval> | null = null;\n\n handleInputChange(event: Event) {\n state.nlSigninBunkerUrl.loginName = (event.target as HTMLInputElement).value;\n\n this.nlCheckLogin.emit((event.target as HTMLInputElement).value);\n }\n\n handleLogin(e: MouseEvent) {\n e.preventDefault();\n\n this.nlLogin.emit(state.nlSigninBunkerUrl.loginName);\n }\n\n async startScan() {\n this.scanError = '';\n this.isScanning = true;\n\n // Wait for the container element to be rendered\n await new Promise(r => requestAnimationFrame(() => requestAnimationFrame(r)));\n\n if (!this.scannerContainer) {\n this.scanError = 'Camera not available';\n this.isScanning = false;\n return;\n }\n\n try {\n // getUserMedia で直接カメラストリームを取得\n // (qr-scanner のコンストラクタは dialog 内で video を非表示にしてしまうため使わない)\n this.stream = await navigator.mediaDevices.getUserMedia({\n video: { facingMode: 'environment' },\n audio: false,\n });\n\n // video 要素を作成してカメラプレビューを表示\n this.videoEl = document.createElement('video');\n this.videoEl.setAttribute('playsinline', '');\n this.videoEl.setAttribute('autoplay', '');\n this.videoEl.muted = true;\n this.videoEl.style.width = '100%';\n this.videoEl.style.height = '100%';\n this.videoEl.style.objectFit = 'cover';\n this.videoEl.style.display = 'block';\n this.videoEl.srcObject = this.stream;\n this.scannerContainer.appendChild(this.videoEl);\n await this.videoEl.play();\n\n // 定期的にフレームをキャプチャして QR コードを解析\n this.scanInterval = setInterval(async () => {\n if (!this.videoEl || this.videoEl.readyState < 2) return;\n try {\n const result = await QrScanner.scanImage(this.videoEl, { returnDetailedScanResult: true });\n const data = result.data;\n if (data && (data.startsWith('bunker://') || data.startsWith('nostrconnect://'))) {\n state.nlSigninBunkerUrl.loginName = data;\n this.nlCheckLogin.emit(data);\n this.stopScan();\n }\n } catch (_e) {\n // QR コードが見つからない場合は無視(毎フレーム発生する)\n }\n }, 250);\n } catch (e) {\n console.error('QR Scanner error:', e);\n this.scanError = e instanceof Error ? e.message : 'Failed to access camera';\n this.isScanning = false;\n }\n }\n\n stopScan() {\n if (this.scanInterval) {\n clearInterval(this.scanInterval);\n this.scanInterval = null;\n }\n if (this.stream) {\n this.stream.getTracks().forEach(track => track.stop());\n this.stream = null;\n }\n if (this.videoEl) {\n this.videoEl.srcObject = null;\n this.videoEl.remove();\n this.videoEl = null;\n }\n this.isScanning = false;\n }\n\n disconnectedCallback() {\n this.stopScan();\n }\n\n render() {\n return (\n <Fragment>\n <div class=\"p-4 overflow-y-auto\">\n <h1 class=\"nl-title font-bold text-center text-2xl\">{this.titleLogin}</h1>\n <p class=\"nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto\">{this.description}</p>\n </div>\n\n <div class=\"max-w-72 mx-auto\">\n <div class=\"relative mb-2\">\n <input\n onInput={e => this.handleInputChange(e)}\n type=\"text\"\n class=\"nl-input peer py-3 px-4 ps-11 block w-full border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent\"\n placeholder=\"bunker://...\"\n value={state.nlSigninBunkerUrl.loginName}\n />\n <div class=\"absolute inset-y-0 start-0 flex items-center pointer-events-none ps-4 peer-disabled:opacity-50 peer-disabled:pointer-events-none\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"none\"\n viewBox=\"0 0 24 24\"\n stroke-width=\"2\"\n stroke={this.isGood ? '#00cc00' : 'currentColor'}\n class=\"flex-shrink-0 w-4 h-4 text-gray-500\"\n >\n <path\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n d=\"M13.19 8.688a4.5 4.5 0 0 1 1.242 7.244l-4.5 4.5a4.5 4.5 0 0 1-6.364-6.364l1.757-1.757m13.35-.622 1.757-1.757a4.5 4.5 0 0 0-6.364-6.364l-4.5 4.5a4.5 4.5 0 0 0 1.242 7.244\"\n />\n </svg>\n </div>\n </div>\n\n {/* QR Scanner */}\n {this.isScanning ? (\n <div class=\"mb-3\">\n <div\n ref={el => (this.scannerContainer = el as HTMLDivElement)}\n class=\"relative rounded-lg overflow-hidden bg-black\"\n style={{ aspectRatio: '1', width: '100%' }}\n ></div>\n <button type=\"button\" onClick={() => this.stopScan()} class=\"nl-action-button mt-2 w-full py-2 px-4 text-sm font-medium rounded-lg border border-transparent\">\n Cancel\n </button>\n </div>\n ) : (\n <div class=\"mb-3\">\n <button\n type=\"button\"\n onClick={() => this.startScan()}\n class=\"nl-action-button w-full py-2 px-4 inline-flex justify-center items-center gap-x-2 text-sm font-medium rounded-lg border border-transparent\"\n >\n <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"w-4 h-4\">\n <path\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n d=\"M6.827 6.175A2.31 2.31 0 0 1 5.186 7.23c-.38.054-.757.112-1.134.175C2.999 7.58 2.25 8.507 2.25 9.574V18a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18V9.574c0-1.067-.75-1.994-1.802-2.169a47.865 47.865 0 0 0-1.134-.175 2.31 2.31 0 0 1-1.64-1.055l-.822-1.316a2.192 2.192 0 0 0-1.736-1.039 48.774 48.774 0 0 0-5.232 0 2.192 2.192 0 0 0-1.736 1.039l-.821 1.316Z\"\n />\n <path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 12.75a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0ZM18.75 10.5h.008v.008h-.008V10.5Z\" />\n </svg>\n Scan QR Code\n </button>\n </div>\n )}\n\n {this.scanError && (\n <div class=\"mb-2\">\n <p class=\"nl-error font-light text-center text-sm\">{this.scanError}</p>\n </div>\n )}\n\n <div class=\"ps-4 pe-4 overflow-y-auto\">\n <p class=\"nl-error font-light text-center text-sm max-w-96 mx-auto\">{state.error}</p>\n </div>\n\n <button-base titleBtn=\"Connect\" disabled={state.isLoading} onClick={e => this.handleLogin(e)}>\n {state.isLoading ? (\n <span\n slot=\"icon-start\"\n class=\"animate-spin-loading inline-block w-4 h-4 border-[3px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full\"\n role=\"status\"\n aria-label=\"loading\"\n ></span>\n ) : (\n <svg style={{ display: 'none' }} slot=\"icon-start\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\">\n <path\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n d=\"M8.25 9V5.25A2.25 2.25 0 0 1 10.5 3h6a2.25 2.25 0 0 1 2.25 2.25v13.5A2.25 2.25 0 0 1 16.5 21h-6a2.25 2.25 0 0 1-2.25-2.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,EAAC,mFAAmF,GAAG,CACzI,iBAEC,CACL,CACP,EAEA,IAAI,CAAC,SAAS,KACb,4DAAK,KAAK,EAAC,MAAM,IACf,0DAAG,KAAK,EAAC,yCAAyC,IAAE,IAAI,CAAC,SAAS,CAAK,CACnE,CACP,EAED,4DAAK,KAAK,EAAC,2BAA2B,IACpC,0DAAG,KAAK,EAAC,0DAA0D,IAAE,KAAK,CAAC,KAAK,CAAK,CACjF,EAEN,oEAAa,QAAQ,EAAC,SAAS,EAAC,QAAQ,EAAE,KAAK,CAAC,SAAS,EAAE,OAAO,EAAE,CAAC,IAAI,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,IACzF,KAAK,CAAC,SAAS,IACd,YACE,IAAI,EAAC,YAAY,EACjB,KAAK,EAAC,2IAA2I,EACjJ,IAAI,EAAC,QAAQ,gBACF,SAAS,GACd,KAER,WAAK,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,IAAI,EAAC,YAAY,EAAC,KAAK,EAAC,4BAA4B,EAAC,IAAI,EAAC,MAAM,EAAC,OAAO,EAAC,WAAW,kBAAc,KAAK,EAAC,MAAM,EAAC,cAAc,IAC5J,8BACiB,OAAO,qBACN,OAAO,EACvB,CAAC,EAAC,wJAAwJ,GAC1J,CACE,CACP,CACW,CACV,CACG,EACX;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["QrScanner"],"sources":["../../node_modules/qr-scanner/qr-scanner.min.js","src/components/nl-signin-bunker-url/nl-signin-bunker-url.css?tag=nl-signin-bunker-url","src/components/nl-signin-bunker-url/nl-signin-bunker-url.tsx"],"sourcesContent":["class e{constructor(a,b,c,d,f){this._legacyCanvasSize=e.DEFAULT_CANVAS_SIZE;this._preferredCamera=\"environment\";this._maxScansPerSecond=25;this._lastScanTimestamp=-1;this._destroyed=this._flashOn=this._paused=this._active=!1;this.$video=a;this.$canvas=document.createElement(\"canvas\");c&&\"object\"===typeof c?this._onDecode=b:(c||d||f?console.warn(\"You're using a deprecated version of the QrScanner constructor which will be removed in the future\"):console.warn(\"Note that the type of the scan result passed to onDecode will change in the future. To already switch to the new api today, you can pass returnDetailedScanResult: true.\"),\nthis._legacyOnDecode=b);b=\"object\"===typeof c?c:{};this._onDecodeError=b.onDecodeError||(\"function\"===typeof c?c:this._onDecodeError);this._calculateScanRegion=b.calculateScanRegion||(\"function\"===typeof d?d:this._calculateScanRegion);this._preferredCamera=b.preferredCamera||f||this._preferredCamera;this._legacyCanvasSize=\"number\"===typeof c?c:\"number\"===typeof d?d:this._legacyCanvasSize;this._maxScansPerSecond=b.maxScansPerSecond||this._maxScansPerSecond;this._onPlay=this._onPlay.bind(this);this._onLoadedMetaData=\nthis._onLoadedMetaData.bind(this);this._onVisibilityChange=this._onVisibilityChange.bind(this);this._updateOverlay=this._updateOverlay.bind(this);a.disablePictureInPicture=!0;a.playsInline=!0;a.muted=!0;let h=!1;a.hidden&&(a.hidden=!1,h=!0);document.body.contains(a)||(document.body.appendChild(a),h=!0);c=a.parentElement;if(b.highlightScanRegion||b.highlightCodeOutline){d=!!b.overlay;this.$overlay=b.overlay||document.createElement(\"div\");f=this.$overlay.style;f.position=\"absolute\";f.display=\"none\";\nf.pointerEvents=\"none\";this.$overlay.classList.add(\"scan-region-highlight\");if(!d&&b.highlightScanRegion){this.$overlay.innerHTML='<svg class=\"scan-region-highlight-svg\" viewBox=\"0 0 238 238\" preserveAspectRatio=\"none\" style=\"position:absolute;width:100%;height:100%;left:0;top:0;fill:none;stroke:#e9b213;stroke-width:4;stroke-linecap:round;stroke-linejoin:round\"><path d=\"M31 2H10a8 8 0 0 0-8 8v21M207 2h21a8 8 0 0 1 8 8v21m0 176v21a8 8 0 0 1-8 8h-21m-176 0H10a8 8 0 0 1-8-8v-21\"/></svg>';try{this.$overlay.firstElementChild.animate({transform:[\"scale(.98)\",\n\"scale(1.01)\"]},{duration:400,iterations:Infinity,direction:\"alternate\",easing:\"ease-in-out\"})}catch(m){}c.insertBefore(this.$overlay,this.$video.nextSibling)}b.highlightCodeOutline&&(this.$overlay.insertAdjacentHTML(\"beforeend\",'<svg class=\"code-outline-highlight\" preserveAspectRatio=\"none\" style=\"display:none;width:100%;height:100%;fill:none;stroke:#e9b213;stroke-width:5;stroke-dasharray:25;stroke-linecap:round;stroke-linejoin:round\"><polygon/></svg>'),this.$codeOutlineHighlight=this.$overlay.lastElementChild)}this._scanRegion=\nthis._calculateScanRegion(a);requestAnimationFrame(()=>{let m=window.getComputedStyle(a);\"none\"===m.display&&(a.style.setProperty(\"display\",\"block\",\"important\"),h=!0);\"visible\"!==m.visibility&&(a.style.setProperty(\"visibility\",\"visible\",\"important\"),h=!0);h&&(console.warn(\"QrScanner has overwritten the video hiding style to avoid Safari stopping the playback.\"),a.style.opacity=\"0\",a.style.width=\"0\",a.style.height=\"0\",this.$overlay&&this.$overlay.parentElement&&this.$overlay.parentElement.removeChild(this.$overlay),\ndelete this.$overlay,delete this.$codeOutlineHighlight);this.$overlay&&this._updateOverlay()});a.addEventListener(\"play\",this._onPlay);a.addEventListener(\"loadedmetadata\",this._onLoadedMetaData);document.addEventListener(\"visibilitychange\",this._onVisibilityChange);window.addEventListener(\"resize\",this._updateOverlay);this._qrEnginePromise=e.createQrEngine()}static set WORKER_PATH(a){console.warn(\"Setting QrScanner.WORKER_PATH is not required and not supported anymore. Have a look at the README for new setup instructions.\")}static async hasCamera(){try{return!!(await e.listCameras(!1)).length}catch(a){return!1}}static async listCameras(a=\n!1){if(!navigator.mediaDevices)return[];let b=async()=>(await navigator.mediaDevices.enumerateDevices()).filter(d=>\"videoinput\"===d.kind),c;try{a&&(await b()).every(d=>!d.label)&&(c=await navigator.mediaDevices.getUserMedia({audio:!1,video:!0}))}catch(d){}try{return(await b()).map((d,f)=>({id:d.deviceId,label:d.label||(0===f?\"Default Camera\":`Camera ${f+1}`)}))}finally{c&&(console.warn(\"Call listCameras after successfully starting a QR scanner to avoid creating a temporary video stream\"),e._stopVideoStream(c))}}async hasFlash(){let a;\ntry{if(this.$video.srcObject){if(!(this.$video.srcObject instanceof MediaStream))return!1;a=this.$video.srcObject}else a=(await this._getCameraStream()).stream;return\"torch\"in a.getVideoTracks()[0].getSettings()}catch(b){return!1}finally{a&&a!==this.$video.srcObject&&(console.warn(\"Call hasFlash after successfully starting the scanner to avoid creating a temporary video stream\"),e._stopVideoStream(a))}}isFlashOn(){return this._flashOn}async toggleFlash(){this._flashOn?await this.turnFlashOff():await this.turnFlashOn()}async turnFlashOn(){if(!this._flashOn&&\n!this._destroyed&&(this._flashOn=!0,this._active&&!this._paused))try{if(!await this.hasFlash())throw\"No flash available\";await this.$video.srcObject.getVideoTracks()[0].applyConstraints({advanced:[{torch:!0}]})}catch(a){throw this._flashOn=!1,a;}}async turnFlashOff(){this._flashOn&&(this._flashOn=!1,await this._restartVideoStream())}destroy(){this.$video.removeEventListener(\"loadedmetadata\",this._onLoadedMetaData);this.$video.removeEventListener(\"play\",this._onPlay);document.removeEventListener(\"visibilitychange\",\nthis._onVisibilityChange);window.removeEventListener(\"resize\",this._updateOverlay);this._destroyed=!0;this._flashOn=!1;this.stop();e._postWorkerMessage(this._qrEnginePromise,\"close\")}async start(){if(this._destroyed)throw Error(\"The QR scanner can not be started as it had been destroyed.\");if(!this._active||this._paused)if(\"https:\"!==window.location.protocol&&console.warn(\"The camera stream is only accessible if the page is transferred via https.\"),this._active=!0,!document.hidden)if(this._paused=\n!1,this.$video.srcObject)await this.$video.play();else try{let {stream:a,facingMode:b}=await this._getCameraStream();!this._active||this._paused?e._stopVideoStream(a):(this._setVideoMirror(b),this.$video.srcObject=a,await this.$video.play(),this._flashOn&&(this._flashOn=!1,this.turnFlashOn().catch(()=>{})))}catch(a){if(!this._paused)throw this._active=!1,a;}}stop(){this.pause();this._active=!1}async pause(a=!1){this._paused=!0;if(!this._active)return!0;this.$video.pause();this.$overlay&&(this.$overlay.style.display=\n\"none\");let b=()=>{this.$video.srcObject instanceof MediaStream&&(e._stopVideoStream(this.$video.srcObject),this.$video.srcObject=null)};if(a)return b(),!0;await new Promise(c=>setTimeout(c,300));if(!this._paused)return!1;b();return!0}async setCamera(a){a!==this._preferredCamera&&(this._preferredCamera=a,await this._restartVideoStream())}static async scanImage(a,b,c,d,f=!1,h=!1){let m,n=!1;b&&(\"scanRegion\"in b||\"qrEngine\"in b||\"canvas\"in b||\"disallowCanvasResizing\"in b||\"alsoTryWithoutScanRegion\"in\nb||\"returnDetailedScanResult\"in b)?(m=b.scanRegion,c=b.qrEngine,d=b.canvas,f=b.disallowCanvasResizing||!1,h=b.alsoTryWithoutScanRegion||!1,n=!0):b||c||d||f||h?console.warn(\"You're using a deprecated api for scanImage which will be removed in the future.\"):console.warn(\"Note that the return type of scanImage will change in the future. To already switch to the new api today, you can pass returnDetailedScanResult: true.\");b=!!c;try{let p,k;[c,p]=await Promise.all([c||e.createQrEngine(),e._loadImage(a)]);\n[d,k]=e._drawToCanvas(p,m,d,f);let q;if(c instanceof Worker){let g=c;b||e._postWorkerMessageSync(g,\"inversionMode\",\"both\");q=await new Promise((l,v)=>{let w,u,r,y=-1;u=t=>{t.data.id===y&&(g.removeEventListener(\"message\",u),g.removeEventListener(\"error\",r),clearTimeout(w),null!==t.data.data?l({data:t.data.data,cornerPoints:e._convertPoints(t.data.cornerPoints,m)}):v(e.NO_QR_CODE_FOUND))};r=t=>{g.removeEventListener(\"message\",u);g.removeEventListener(\"error\",r);clearTimeout(w);v(\"Scanner error: \"+(t?\nt.message||t:\"Unknown Error\"))};g.addEventListener(\"message\",u);g.addEventListener(\"error\",r);w=setTimeout(()=>r(\"timeout\"),1E4);let x=k.getImageData(0,0,d.width,d.height);y=e._postWorkerMessageSync(g,\"decode\",x,[x.data.buffer])})}else q=await Promise.race([new Promise((g,l)=>window.setTimeout(()=>l(\"Scanner error: timeout\"),1E4)),(async()=>{try{var [g]=await c.detect(d);if(!g)throw e.NO_QR_CODE_FOUND;return{data:g.rawValue,cornerPoints:e._convertPoints(g.cornerPoints,m)}}catch(l){g=l.message||l;\nif(/not implemented|service unavailable/.test(g))return e._disableBarcodeDetector=!0,e.scanImage(a,{scanRegion:m,canvas:d,disallowCanvasResizing:f,alsoTryWithoutScanRegion:h});throw`Scanner error: ${g}`;}})()]);return n?q:q.data}catch(p){if(!m||!h)throw p;let k=await e.scanImage(a,{qrEngine:c,canvas:d,disallowCanvasResizing:f});return n?k:k.data}finally{b||e._postWorkerMessage(c,\"close\")}}setGrayscaleWeights(a,b,c,d=!0){e._postWorkerMessage(this._qrEnginePromise,\"grayscaleWeights\",{red:a,green:b,\nblue:c,useIntegerApproximation:d})}setInversionMode(a){e._postWorkerMessage(this._qrEnginePromise,\"inversionMode\",a)}static async createQrEngine(a){a&&console.warn(\"Specifying a worker path is not required and not supported anymore.\");a=()=>import(\"./qr-scanner-worker.min.js\").then(c=>c.createWorker());if(!(!e._disableBarcodeDetector&&\"BarcodeDetector\"in window&&BarcodeDetector.getSupportedFormats&&(await BarcodeDetector.getSupportedFormats()).includes(\"qr_code\")))return a();let b=navigator.userAgentData;\nreturn b&&b.brands.some(({brand:c})=>/Chromium/i.test(c))&&/mac ?OS/i.test(b.platform)&&await b.getHighEntropyValues([\"architecture\",\"platformVersion\"]).then(({architecture:c,platformVersion:d})=>/arm/i.test(c||\"arm\")&&13<=parseInt(d||\"13\")).catch(()=>!0)?a():new BarcodeDetector({formats:[\"qr_code\"]})}_onPlay(){this._scanRegion=this._calculateScanRegion(this.$video);this._updateOverlay();this.$overlay&&(this.$overlay.style.display=\"\");this._scanFrame()}_onLoadedMetaData(){this._scanRegion=this._calculateScanRegion(this.$video);\nthis._updateOverlay()}_onVisibilityChange(){document.hidden?this.pause():this._active&&this.start()}_calculateScanRegion(a){let b=Math.round(2/3*Math.min(a.videoWidth,a.videoHeight));return{x:Math.round((a.videoWidth-b)/2),y:Math.round((a.videoHeight-b)/2),width:b,height:b,downScaledWidth:this._legacyCanvasSize,downScaledHeight:this._legacyCanvasSize}}_updateOverlay(){requestAnimationFrame(()=>{if(this.$overlay){var a=this.$video,b=a.videoWidth,c=a.videoHeight,d=a.offsetWidth,f=a.offsetHeight,h=a.offsetLeft,\nm=a.offsetTop,n=window.getComputedStyle(a),p=n.objectFit,k=b/c,q=d/f;switch(p){case \"none\":var g=b;var l=c;break;case \"fill\":g=d;l=f;break;default:(\"cover\"===p?k>q:k<q)?(l=f,g=l*k):(g=d,l=g/k),\"scale-down\"===p&&(g=Math.min(g,b),l=Math.min(l,c))}var [v,w]=n.objectPosition.split(\" \").map((r,y)=>{const x=parseFloat(r);return r.endsWith(\"%\")?(y?f-l:d-g)*x/100:x});n=this._scanRegion.width||b;q=this._scanRegion.height||c;p=this._scanRegion.x||0;var u=this._scanRegion.y||0;k=this.$overlay.style;k.width=\n`${n/b*g}px`;k.height=`${q/c*l}px`;k.top=`${m+w+u/c*l}px`;c=/scaleX\\(-1\\)/.test(a.style.transform);k.left=`${h+(c?d-v-g:v)+(c?b-p-n:p)/b*g}px`;k.transform=a.style.transform}})}static _convertPoints(a,b){if(!b)return a;let c=b.x||0,d=b.y||0,f=b.width&&b.downScaledWidth?b.width/b.downScaledWidth:1;b=b.height&&b.downScaledHeight?b.height/b.downScaledHeight:1;for(let h of a)h.x=h.x*f+c,h.y=h.y*b+d;return a}_scanFrame(){!this._active||this.$video.paused||this.$video.ended||(\"requestVideoFrameCallback\"in\nthis.$video?this.$video.requestVideoFrameCallback.bind(this.$video):requestAnimationFrame)(async()=>{if(!(1>=this.$video.readyState)){var a=Date.now()-this._lastScanTimestamp,b=1E3/this._maxScansPerSecond;a<b&&await new Promise(d=>setTimeout(d,b-a));this._lastScanTimestamp=Date.now();try{var c=await e.scanImage(this.$video,{scanRegion:this._scanRegion,qrEngine:this._qrEnginePromise,canvas:this.$canvas})}catch(d){if(!this._active)return;this._onDecodeError(d)}!e._disableBarcodeDetector||await this._qrEnginePromise instanceof\nWorker||(this._qrEnginePromise=e.createQrEngine());c?(this._onDecode?this._onDecode(c):this._legacyOnDecode&&this._legacyOnDecode(c.data),this.$codeOutlineHighlight&&(clearTimeout(this._codeOutlineHighlightRemovalTimeout),this._codeOutlineHighlightRemovalTimeout=void 0,this.$codeOutlineHighlight.setAttribute(\"viewBox\",`${this._scanRegion.x||0} `+`${this._scanRegion.y||0} `+`${this._scanRegion.width||this.$video.videoWidth} `+`${this._scanRegion.height||this.$video.videoHeight}`),this.$codeOutlineHighlight.firstElementChild.setAttribute(\"points\",\nc.cornerPoints.map(({x:d,y:f})=>`${d},${f}`).join(\" \")),this.$codeOutlineHighlight.style.display=\"\")):this.$codeOutlineHighlight&&!this._codeOutlineHighlightRemovalTimeout&&(this._codeOutlineHighlightRemovalTimeout=setTimeout(()=>this.$codeOutlineHighlight.style.display=\"none\",100))}this._scanFrame()})}_onDecodeError(a){a!==e.NO_QR_CODE_FOUND&&console.log(a)}async _getCameraStream(){if(!navigator.mediaDevices)throw\"Camera not found.\";let a=/^(environment|user)$/.test(this._preferredCamera)?\"facingMode\":\n\"deviceId\",b=[{width:{min:1024}},{width:{min:768}},{}],c=b.map(d=>Object.assign({},d,{[a]:{exact:this._preferredCamera}}));for(let d of[...c,...b])try{let f=await navigator.mediaDevices.getUserMedia({video:d,audio:!1}),h=this._getFacingMode(f)||(d.facingMode?this._preferredCamera:\"environment\"===this._preferredCamera?\"user\":\"environment\");return{stream:f,facingMode:h}}catch(f){}throw\"Camera not found.\";}async _restartVideoStream(){let a=this._paused;await this.pause(!0)&&!a&&this._active&&await this.start()}static _stopVideoStream(a){for(let b of a.getTracks())b.stop(),\na.removeTrack(b)}_setVideoMirror(a){this.$video.style.transform=\"scaleX(\"+(\"user\"===a?-1:1)+\")\"}_getFacingMode(a){return(a=a.getVideoTracks()[0])?/rear|back|environment/i.test(a.label)?\"environment\":/front|user|face/i.test(a.label)?\"user\":null:null}static _drawToCanvas(a,b,c,d=!1){c=c||document.createElement(\"canvas\");let f=b&&b.x?b.x:0,h=b&&b.y?b.y:0,m=b&&b.width?b.width:a.videoWidth||a.width,n=b&&b.height?b.height:a.videoHeight||a.height;d||(d=b&&b.downScaledWidth?b.downScaledWidth:m,b=b&&b.downScaledHeight?\nb.downScaledHeight:n,c.width!==d&&(c.width=d),c.height!==b&&(c.height=b));b=c.getContext(\"2d\",{alpha:!1});b.imageSmoothingEnabled=!1;b.drawImage(a,f,h,m,n,0,0,c.width,c.height);return[c,b]}static async _loadImage(a){if(a instanceof Image)return await e._awaitImageLoad(a),a;if(a instanceof HTMLVideoElement||a instanceof HTMLCanvasElement||a instanceof SVGImageElement||\"OffscreenCanvas\"in window&&a instanceof OffscreenCanvas||\"ImageBitmap\"in window&&a instanceof ImageBitmap)return a;if(a instanceof\nFile||a instanceof Blob||a instanceof URL||\"string\"===typeof a){let b=new Image;b.src=a instanceof File||a instanceof Blob?URL.createObjectURL(a):a.toString();try{return await e._awaitImageLoad(b),b}finally{(a instanceof File||a instanceof Blob)&&URL.revokeObjectURL(b.src)}}else throw\"Unsupported image type.\";}static async _awaitImageLoad(a){a.complete&&0!==a.naturalWidth||await new Promise((b,c)=>{let d=f=>{a.removeEventListener(\"load\",d);a.removeEventListener(\"error\",d);f instanceof ErrorEvent?\nc(\"Image load error\"):b()};a.addEventListener(\"load\",d);a.addEventListener(\"error\",d)})}static async _postWorkerMessage(a,b,c,d){return e._postWorkerMessageSync(await a,b,c,d)}static _postWorkerMessageSync(a,b,c,d){if(!(a instanceof Worker))return-1;let f=e._workerMessageId++;a.postMessage({id:f,type:b,data:c},d);return f}}e.DEFAULT_CANVAS_SIZE=400;e.NO_QR_CODE_FOUND=\"No QR code found\";e._disableBarcodeDetector=!1;e._workerMessageId=0;export default e\n//# sourceMappingURL=qr-scanner.min.js.map\n",":host {\n display: block;\n}\n","import { Component, h, State, Prop, Fragment, Event, EventEmitter } from '@stencil/core';\nimport { state } from '@/store';\nimport QrScanner from 'qr-scanner';\n\n@Component({\n tag: 'nl-signin-bunker-url',\n styleUrl: 'nl-signin-bunker-url.css',\n shadow: false,\n})\nexport class NlSigninBunkerUrl {\n @Prop() titleLogin = 'Connect with bunker url';\n @Prop() description = 'Please enter a bunker url provided by key store.';\n @State() isGood = false;\n @State() isScanning = false;\n @State() scanError = '';\n\n @Event() nlLogin: EventEmitter<string>;\n @Event() nlCheckLogin: EventEmitter<string>;\n\n private videoEl: HTMLVideoElement | null = null;\n private stream: MediaStream | null = null;\n private scannerContainer: HTMLDivElement;\n private scanInterval: ReturnType<typeof setInterval> | null = null;\n\n handleInputChange(event: Event) {\n state.nlSigninBunkerUrl.loginName = (event.target as HTMLInputElement).value;\n\n this.nlCheckLogin.emit((event.target as HTMLInputElement).value);\n }\n\n handleLogin(e: MouseEvent) {\n e.preventDefault();\n\n this.nlLogin.emit(state.nlSigninBunkerUrl.loginName);\n }\n\n async startScan() {\n this.scanError = '';\n this.isScanning = true;\n\n // Wait for the container element to be rendered\n await new Promise(r => requestAnimationFrame(() => requestAnimationFrame(r)));\n\n if (!this.scannerContainer) {\n this.scanError = 'Camera not available';\n this.isScanning = false;\n return;\n }\n\n try {\n // getUserMedia で直接カメラストリームを取得\n // (qr-scanner のコンストラクタは dialog 内で video を非表示にしてしまうため使わない)\n this.stream = await navigator.mediaDevices.getUserMedia({\n video: { facingMode: 'environment' },\n audio: false,\n });\n\n // video 要素を作成してカメラプレビューを表示\n this.videoEl = document.createElement('video');\n this.videoEl.setAttribute('playsinline', '');\n this.videoEl.setAttribute('autoplay', '');\n this.videoEl.muted = true;\n this.videoEl.style.width = '100%';\n this.videoEl.style.height = '100%';\n this.videoEl.style.objectFit = 'cover';\n this.videoEl.style.display = 'block';\n this.videoEl.srcObject = this.stream;\n this.scannerContainer.appendChild(this.videoEl);\n await this.videoEl.play();\n\n // 定期的にフレームをキャプチャして QR コードを解析\n this.scanInterval = setInterval(async () => {\n if (!this.videoEl || this.videoEl.readyState < 2) return;\n try {\n const result = await QrScanner.scanImage(this.videoEl, { returnDetailedScanResult: true });\n const data = result.data;\n if (data && (data.startsWith('bunker://') || data.startsWith('nostrconnect://'))) {\n state.nlSigninBunkerUrl.loginName = data;\n this.nlCheckLogin.emit(data);\n this.stopScan();\n }\n } catch (_e) {\n // QR コードが見つからない場合は無視(毎フレーム発生する)\n }\n }, 250);\n } catch (e) {\n console.error('QR Scanner error:', e);\n this.scanError = e instanceof Error ? e.message : 'Failed to access camera';\n this.isScanning = false;\n }\n }\n\n stopScan() {\n if (this.scanInterval) {\n clearInterval(this.scanInterval);\n this.scanInterval = null;\n }\n if (this.stream) {\n this.stream.getTracks().forEach(track => track.stop());\n this.stream = null;\n }\n if (this.videoEl) {\n this.videoEl.srcObject = null;\n this.videoEl.remove();\n this.videoEl = null;\n }\n this.isScanning = false;\n }\n\n disconnectedCallback() {\n this.stopScan();\n }\n\n render() {\n return (\n <Fragment>\n <div class=\"p-4 overflow-y-auto\">\n <h1 class=\"nl-title font-bold text-center text-2xl\">{this.titleLogin}</h1>\n <p class=\"nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto\">{this.description}</p>\n </div>\n\n <div class=\"max-w-72 mx-auto\">\n <div class=\"relative mb-2\">\n <input\n onInput={e => this.handleInputChange(e)}\n type=\"text\"\n class=\"nl-input peer py-3 px-4 ps-11 block w-full border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent\"\n placeholder=\"bunker://...\"\n aria-label=\"Bunker URL\"\n value={state.nlSigninBunkerUrl.loginName}\n />\n <div class=\"absolute inset-y-0 start-0 flex items-center pointer-events-none ps-4 peer-disabled:opacity-50 peer-disabled:pointer-events-none\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"none\"\n viewBox=\"0 0 24 24\"\n stroke-width=\"2\"\n stroke={this.isGood ? '#00cc00' : 'currentColor'}\n class=\"flex-shrink-0 w-4 h-4 text-gray-500\"\n >\n <path\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n d=\"M13.19 8.688a4.5 4.5 0 0 1 1.242 7.244l-4.5 4.5a4.5 4.5 0 0 1-6.364-6.364l1.757-1.757m13.35-.622 1.757-1.757a4.5 4.5 0 0 0-6.364-6.364l-4.5 4.5a4.5 4.5 0 0 0 1.242 7.244\"\n />\n </svg>\n </div>\n </div>\n\n {/* QR Scanner */}\n {this.isScanning ? (\n <div class=\"mb-3\">\n <div\n ref={el => (this.scannerContainer = el as HTMLDivElement)}\n class=\"relative rounded-lg overflow-hidden bg-black\"\n style={{ aspectRatio: '1', width: '100%' }}\n ></div>\n <button type=\"button\" onClick={() => this.stopScan()} class=\"nl-action-button mt-2 w-full py-2 px-4 text-sm font-medium rounded-lg border border-transparent\">\n Cancel\n </button>\n </div>\n ) : (\n <div class=\"mb-3\">\n <button\n type=\"button\"\n onClick={() => this.startScan()}\n class=\"nl-action-button w-full py-2 px-4 inline-flex justify-center items-center gap-x-2 text-sm font-medium rounded-lg border border-transparent\"\n >\n <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"w-4 h-4\">\n <path\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n d=\"M6.827 6.175A2.31 2.31 0 0 1 5.186 7.23c-.38.054-.757.112-1.134.175C2.999 7.58 2.25 8.507 2.25 9.574V18a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18V9.574c0-1.067-.75-1.994-1.802-2.169a47.865 47.865 0 0 0-1.134-.175 2.31 2.31 0 0 1-1.64-1.055l-.822-1.316a2.192 2.192 0 0 0-1.736-1.039 48.774 48.774 0 0 0-5.232 0 2.192 2.192 0 0 0-1.736 1.039l-.821 1.316Z\"\n />\n <path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 12.75a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0ZM18.75 10.5h.008v.008h-.008V10.5Z\" />\n </svg>\n Scan QR Code\n </button>\n </div>\n )}\n\n {this.scanError && (\n <div class=\"mb-2\">\n <p class=\"nl-error font-light text-center text-sm\">{this.scanError}</p>\n </div>\n )}\n\n <div class=\"ps-4 pe-4 overflow-y-auto\">\n <p class=\"nl-error font-light text-center text-sm max-w-96 mx-auto\">{state.error}</p>\n </div>\n\n <button-base titleBtn=\"Connect\" disabled={state.isLoading} onClick={e => this.handleLogin(e)}>\n {state.isLoading ? (\n <span\n slot=\"icon-start\"\n class=\"animate-spin-loading inline-block w-4 h-4 border-[3px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full\"\n role=\"status\"\n aria-label=\"loading\"\n ></span>\n ) : (\n <svg style={{ display: 'none' }} slot=\"icon-start\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\">\n <path\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n d=\"M8.25 9V5.25A2.25 2.25 0 0 1 10.5 3h6a2.25 2.25 0 0 1 2.25 2.25v13.5A2.25 2.25 0 0 1 16.5 21h-6a2.25 2.25 0 0 1-2.25-2.25V15M12 9l3 3m0 0-3 3m3-3H2.25\"\n />\n </svg>\n )}\n </button-base>\n </div>\n </Fragment>\n );\n }\n}\n"],"version":3}
@@ -2906,7 +2906,7 @@ const NlSigninConnectionString = /*@__PURE__*/ proxyCustomElement(class NlSignin
2906
2906
  }
2907
2907
  }
2908
2908
  render() {
2909
- return (h(Fragment, { key: '739ccc5ccbb2d95dd79e61bca0734603c071fa0c' }, h("div", { key: 'e0e55217f18f113364c874a7a749eeb4e7747da2', class: "p-4 overflow-y-auto" }, h("h1", { key: '536646c9e2f14b5a26eb7cf537a2aba27108480f', class: "nl-title font-bold text-center text-2xl" }, this.titleLogin), h("p", { key: '319cce0772500eb08061d62542e09e7dc31886fc', class: "nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto" }, this.description)), h("canvas", { key: 'acbb64df286dadd9cfc209df904bcdae06781fd7', class: "mx-auto mb-2", ref: el => (this.canvasElement = el) }), h("div", { key: '5d6569013d81f1235a2e0fce79d63a358662e19b', class: "px-4" }, h("div", { key: '4d6651551f297ba8065b6a8a28d00edc804ff597', class: "max-w-72 mx-auto" }, h("div", { key: '32d3e176ea2b5f9aaee1a68c85a36a5f4c560414', class: "relative mb-2" }, h("input", { key: 'e4a0c9bcb80ec84ba545c427616e16d77f4c8581', type: "text", class: "nl-input peer py-3 px-4 pe-11 ps-11 block w-full border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent", placeholder: "npub or name@domain", value: this.connectionString, disabled: true }), h("div", { key: 'e1af97f16bf9dbedef178ea4c8e6f1b656ad10b2', class: "absolute inset-y-0 start-0 flex items-center pointer-events-none ps-4 peer-disabled:opacity-50 peer-disabled:pointer-events-none" }, h("svg", { key: 'e53e6e030b0173fde047dabbb5d5a84a37c36562', xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", "stroke-width": "1.5", stroke: "currentColor", class: "flex-shrink-0 w-4 h-4 text-gray-500" }, h("path", { key: 'ad082553497803daeb16eb3a1b1acd4afbf173d3', "stroke-linecap": "round", "stroke-linejoin": "round", d: "M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z" }), h("path", { key: '25438a495668108eeca317c69ed60ef830c7b76d', "stroke-linecap": "round", "stroke-linejoin": "round", d: "M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z" }))), this.isCopy ? (h("div", { class: "absolute inset-y-0 end-0 flex items-center p-2 rounded-lg" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", "stroke-width": "1.5", stroke: "#00cc00", class: "flex-shrink-0 w-4 h-4 text-gray-500" }, h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z" })))) : (h("div", { class: "absolute inset-y-0 end-0 flex items-center cursor-pointer p-2 rounded-lg", onClick: () => this.copyToClipboard() }, h("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", "stroke-width": "1.5", stroke: "currentColor", class: "flex-shrink-0 w-4 h-4 text-gray-500" }, h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "M16.5 8.25V6a2.25 2.25 0 0 0-2.25-2.25H6A2.25 2.25 0 0 0 3.75 6v8.25A2.25 2.25 0 0 0 6 16.5h2.25m8.25-8.25H18a2.25 2.25 0 0 1 2.25 2.25V18A2.25 2.25 0 0 1 18 20.25h-7.5A2.25 2.25 0 0 1 8.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 0 0-2.25 2.25v6" }))))), h("div", { key: '557a946f96cf2e1d9e16d7d0b617ceae63a20ba4', class: "mt-10 justify-center items-center flex gap-2" }, h("span", { key: '223239887aa24dfc350605137a18857c2944bb8a', slot: "icon-start", class: "animate-spin-loading inline-block w-[20px] h-[20px] border-[2px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full", role: "status", "aria-label": "loading" }), h("span", { key: '919c6ab74a39b4d8e124de850be72f4c30817b6a', class: "nl-footer" }, "Waiting for connection"))))));
2909
+ return (h(Fragment, { key: '739ccc5ccbb2d95dd79e61bca0734603c071fa0c' }, h("div", { key: 'e0e55217f18f113364c874a7a749eeb4e7747da2', class: "p-4 overflow-y-auto" }, h("h1", { key: '536646c9e2f14b5a26eb7cf537a2aba27108480f', class: "nl-title font-bold text-center text-2xl" }, this.titleLogin), h("p", { key: '319cce0772500eb08061d62542e09e7dc31886fc', class: "nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto" }, this.description)), h("canvas", { key: 'acbb64df286dadd9cfc209df904bcdae06781fd7', class: "mx-auto mb-2", ref: el => (this.canvasElement = el) }), h("div", { key: '5d6569013d81f1235a2e0fce79d63a358662e19b', class: "px-4" }, h("div", { key: '4d6651551f297ba8065b6a8a28d00edc804ff597', class: "max-w-72 mx-auto" }, h("div", { key: '32d3e176ea2b5f9aaee1a68c85a36a5f4c560414', class: "relative mb-2" }, h("input", { key: 'ac907e76cddc5d18d84cc69e0eade80f3a90bf28', type: "text", class: "nl-input peer py-3 px-4 pe-11 ps-11 block w-full border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent", placeholder: "npub or name@domain", "aria-label": "Connection string", value: this.connectionString, disabled: true }), h("div", { key: 'eaea4272cd70ba6315175f949d403625cddc504a', class: "absolute inset-y-0 start-0 flex items-center pointer-events-none ps-4 peer-disabled:opacity-50 peer-disabled:pointer-events-none" }, h("svg", { key: '6158cd5d8b7c94495d73ff795b882916ef9da06f', xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", "stroke-width": "1.5", stroke: "currentColor", class: "flex-shrink-0 w-4 h-4 text-gray-500" }, h("path", { key: 'aafb1deaa98440475b47fbcbe13bda32717a5fcc', "stroke-linecap": "round", "stroke-linejoin": "round", d: "M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z" }), h("path", { key: '6d699b445900c74fc8f1bfb7eb8068be5bd7d8b4', "stroke-linecap": "round", "stroke-linejoin": "round", d: "M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z" }))), this.isCopy ? (h("div", { class: "absolute inset-y-0 end-0 flex items-center p-2 rounded-lg" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", "stroke-width": "1.5", stroke: "#00cc00", class: "flex-shrink-0 w-4 h-4 text-gray-500" }, h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z" })))) : (h("div", { class: "absolute inset-y-0 end-0 flex items-center cursor-pointer p-2 rounded-lg", onClick: () => this.copyToClipboard() }, h("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", "stroke-width": "1.5", stroke: "currentColor", class: "flex-shrink-0 w-4 h-4 text-gray-500" }, h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "M16.5 8.25V6a2.25 2.25 0 0 0-2.25-2.25H6A2.25 2.25 0 0 0 3.75 6v8.25A2.25 2.25 0 0 0 6 16.5h2.25m8.25-8.25H18a2.25 2.25 0 0 1 2.25 2.25V18A2.25 2.25 0 0 1 18 20.25h-7.5A2.25 2.25 0 0 1 8.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 0 0-2.25 2.25v6" }))))), h("div", { key: '64a7c11743e1ef07201ab6b18a441fc4060b0be3', class: "mt-10 justify-center items-center flex gap-2" }, h("span", { key: '7c22a47bbf488059965aeaffbca25223cbd7c303', slot: "icon-start", class: "animate-spin-loading inline-block w-[20px] h-[20px] border-[2px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full", role: "status", "aria-label": "loading" }), h("span", { key: '7781337d5d08a17c6432dbae51fee6821207d0d1', class: "nl-footer" }, "Waiting for connection"))))));
2910
2910
  }
2911
2911
  static get style() { return NlSigninConnectionStringStyle0; }
2912
2912
  }, [0, "nl-signin-connection-string", {