summaryrefslogtreecommitdiff
path: root/assets/outbox/Release v0.54.0 · hyprwm_Hyprland_files/notifications-global-4c1d7ffc7e4545d2.js
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-03-07 11:28:56 -0600
committerCraig Jennings <c@cjennings.net>2026-03-07 11:28:56 -0600
commit60943e96a6a6a9fe6e8d368f9db2bf9aedf1a6bc (patch)
tree5a49bdd265eb5a8f2803d016ddcfafbc99e0c5e3 /assets/outbox/Release v0.54.0 · hyprwm_Hyprland_files/notifications-global-4c1d7ffc7e4545d2.js
parent3285f944b32f4b362abb00630daa86078b99dc9d (diff)
chore: update calibre, mimeapps, authinfo, add outbox items
Calibre window geometry and scheduler updates. Add Signal URI handlers. Move processed inbox items to outbox.
Diffstat (limited to 'assets/outbox/Release v0.54.0 · hyprwm_Hyprland_files/notifications-global-4c1d7ffc7e4545d2.js')
-rw-r--r--assets/outbox/Release v0.54.0 · hyprwm_Hyprland_files/notifications-global-4c1d7ffc7e4545d2.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/assets/outbox/Release v0.54.0 · hyprwm_Hyprland_files/notifications-global-4c1d7ffc7e4545d2.js b/assets/outbox/Release v0.54.0 · hyprwm_Hyprland_files/notifications-global-4c1d7ffc7e4545d2.js
new file mode 100644
index 0000000..4bfb6ed
--- /dev/null
+++ b/assets/outbox/Release v0.54.0 · hyprwm_Hyprland_files/notifications-global-4c1d7ffc7e4545d2.js
@@ -0,0 +1,3 @@
+performance.mark("js-parse-end:notifications-global-4c1d7ffc7e4545d2.js");
+"use strict";(globalThis.webpackChunk_github_ui_github_ui=globalThis.webpackChunk_github_ui_github_ui||[]).push([["36608"],{13149(t,e,i){i.d(e,{a:()=>n,n:()=>s});var o=i(21744);function s(){let t=document.getElementById("ajax-error-message");t&&(t.hidden=!1)}function n(){let t=document.getElementById("ajax-error-message");t&&(t.hidden=!0)}(0,o.on)("deprecatedAjaxError","[data-remote]",function(t){let{error:e,text:i}=t.detail;t.currentTarget!==t.target||"abort"!==e&&"canceled"!==e&&(/<html/.test(i)?(s(),t.stopImmediatePropagation()):setTimeout(function(){t.defaultPrevented||s()},0))}),(0,o.on)("deprecatedAjaxSend","[data-remote]",function(){n()}),(0,o.on)("click",".js-ajax-error-dismiss",function(){n()})},65522(t,e,i){var o=i(31635),s=i(94571),n=i(13149),a=i(46131),l=i(5045);class r extends HTMLElement{lastAppliedLabels={};async submitCustomForm(t){await this.submitForm(t),this.closeMenu()}async submitForm(t){t.preventDefault(),(0,n.a)();let e=t.currentTarget,i=new FormData(e),o=await self.fetch(e.action,{method:e.method,body:i,headers:{...(0,l.kt)(),Accept:"application/json"}});if(!o.ok)return void(0,n.n)();let s=await o.json(),a=i.get("do");"string"==typeof a&&this.updateCheckedState(a),"string"==typeof a&&this.updateMenuButtonCopy(a),this.updateSocialCount(s.count),this.applyInputsCheckedPropertiesToAttributesForNextFormReset(),this.closeMenu()}updateMenuButtonCopy(t){this.unwatchButtonCopy.hidden="subscribed"!==t&&"custom"!==t,this.stopIgnoringButtonCopy.hidden="ignore"!==t,this.watchButtonCopy.hidden="subscribed"===t||"custom"===t||"ignore"===t}applyInputsCheckedPropertiesToAttributesForNextFormReset(){for(let t of[...this.threadTypeCheckboxes])t.toggleAttribute("checked",t.checked)}updateCheckedState(t){for(let e of this.subscriptionButtons)e.setAttribute("aria-checked",e.value===t?"true":"false");if("custom"===t)this.customButton.setAttribute("aria-checked","true");else{for(let t of(this.customButton.setAttribute("aria-checked","false"),[...this.threadTypeCheckboxes]))(0,a.m$)(t,!1);if(void 0!==this.subscriptionsContainer){for(let t=0;t<this.subscriptionsLabels.length;t++)this.subscriptionsLabels[t].remove();void 0!==this.subscriptionsSubtitle&&this.subscriptionsSubtitle.toggleAttribute("hidden",!1),this.subscriptionsContainer.textContent=""}}}updateSocialCount(t){this.socialCount&&(this.socialCount.textContent=t,this.socialCount.setAttribute("aria-label",`${this.pluralizeUsers(t)} watching this repository`))}pluralizeUsers(t){return 1===parseInt(t)?"1 user is":`${t} users are`}handleDialogLabelToggle(t){let e=t.detail.wasChecked,i=t.detail.toggledLabelId,o=t.detail.templateLabelElementClone;if(e){for(let t=0;t<this.subscriptionsLabels.length;t++)if(this.subscriptionsLabels[t].getAttribute("data-label-id")===i){this.subscriptionsLabels[t].remove();break}}else o.removeAttribute("hidden"),o.setAttribute("data-targets","notifications-list-subscription-form.subscriptionsLabels"),this.subscriptionsContainer.appendChild(o)}openCustomDialog(t){t.preventDefault(),t.stopPropagation(),this.menu.toggleAttribute("hidden",!0),this.enableApplyButtonAndCheckbox(),this.saveCurrentLabelsState(),this.customDialog.toggleAttribute("hidden",!1),setTimeout(()=>{this.customDialog.querySelector("input[type=checkbox][autofocus]")?.focus()},0)}enableApplyButtonAndCheckbox(){this.customDialog.querySelectorAll('[data-type="label"]:not([hidden])').length>0&&(this.customSubmit.removeAttribute("disabled"),this.threadTypeCheckboxes[0].checked=!0)}closeCustomDialog(t){t.preventDefault(),t.stopPropagation(),this.menu.toggleAttribute("hidden",!1),this.customDialog.toggleAttribute("hidden",!0),setTimeout(()=>{this.customButton.focus()},0)}resetFilterLabelsDialog(t){t.preventDefault(),t.stopPropagation();for(let t=0;t<this.subscriptionsLabels.length;t++){let e=this.subscriptionsLabels[t].getAttribute("data-label-id");for(let t=0;t<this.dialogLabelItems.length;t++)if(this.dialogLabelItems[t].labelId===e){this.dialogLabelItems[t].setCheckedForDropdownLabel(!1);break}}for(let t=0;t<Object.keys(this.lastAppliedLabels).length;t++){let e=Object.keys(this.lastAppliedLabels)[t];for(let t=0;t<this.dialogLabelItems.length;t++)if(this.dialogLabelItems[t].labelId===e){this.dialogLabelItems[t].setCheckedForDropdownLabel(!0);break}}this.subscriptionsContainer.replaceChildren(...Object.values(this.lastAppliedLabels)),this.closeFilterLabelsDialog(t)}openFilterLabelsDialog(t){t.preventDefault(),t.stopPropagation(),this.saveCurrentLabelsState(),this.customDialog.toggleAttribute("hidden",!0),this.filterLabelsDialog.toggleAttribute("hidden",!1),setTimeout(()=>{this.filterLabelsDialog.querySelector("input[type=checkbox][autofocus]")?.focus()},0)}closeFilterLabelsDialog(t){t.preventDefault(),t.stopPropagation(),this.menu.toggleAttribute("hidden",!0),this.customDialog.toggleAttribute("hidden",!1),this.filterLabelsDialog.toggleAttribute("hidden",!0)}applyFilterLabelsDialog(t){t.preventDefault(),t.stopPropagation(),this.saveCurrentLabelsState(),this.hideFilterSubtitle(),this.enableIssuesCheckbox(),this.closeFilterLabelsDialog(t)}enableIssuesCheckbox(){let t=Object.keys(this.lastAppliedLabels).length>0;t&&this.threadTypeCheckboxes.length>0&&(this.threadTypeCheckboxes[0].checked=t),this.threadTypeCheckboxesUpdated()}hideFilterSubtitle(){let t=Object.keys(this.lastAppliedLabels).length>0;this.subscriptionsSubtitle.toggleAttribute("hidden",t)}saveCurrentLabelsState(){this.lastAppliedLabels={},this.labelInputs.textContent="";for(let t=0;t<this.subscriptionsLabels.length;t++){let e=this.subscriptionsLabels[t].getAttribute("data-label-id");e&&(this.lastAppliedLabels[e]=this.subscriptionsLabels[t].cloneNode(!0),this.appendLabelToFormInput(e))}}appendLabelToFormInput(t){let e=document.createElement("input");e.setAttribute("type","hidden"),e.setAttribute("name","labels[]"),e.setAttribute("value",t),this.labelInputs.appendChild(e)}detailsToggled(){this.menu.toggleAttribute("hidden",!1),this.customDialog.toggleAttribute("hidden",!0)}submitCustom(t){t.preventDefault(),this.details.toggleAttribute("open",!1)}threadTypeCheckboxesUpdated(){let t=!this.threadTypeCheckboxes.some(t=>t.checked);this.customSubmit.disabled=t}closeMenu(){this.details.toggleAttribute("open",!1)}}(0,o.Cg)([s.aC],r.prototype,"details",void 0),(0,o.Cg)([s.aC],r.prototype,"menu",void 0),(0,o.Cg)([s.aC],r.prototype,"customButton",void 0),(0,o.Cg)([s.aC],r.prototype,"customDialog",void 0),(0,o.Cg)([s.aC],r.prototype,"filterLabelsDialog",void 0),(0,o.Cg)([s.zV],r.prototype,"subscriptionButtons",void 0),(0,o.Cg)([s.zV],r.prototype,"subscriptionsLabels",void 0),(0,o.Cg)([s.aC],r.prototype,"labelInputs",void 0),(0,o.Cg)([s.aC],r.prototype,"subscriptionsSubtitle",void 0),(0,o.Cg)([s.aC],r.prototype,"socialCount",void 0),(0,o.Cg)([s.aC],r.prototype,"unwatchButtonCopy",void 0),(0,o.Cg)([s.aC],r.prototype,"stopIgnoringButtonCopy",void 0),(0,o.Cg)([s.aC],r.prototype,"watchButtonCopy",void 0),(0,o.Cg)([s.zV],r.prototype,"threadTypeCheckboxes",void 0),(0,o.Cg)([s.aC],r.prototype,"customSubmit",void 0),(0,o.Cg)([s.aC],r.prototype,"subscriptionsContainer",void 0),(0,o.Cg)([s.zV],r.prototype,"dialogLabelItems",void 0),r=(0,o.Cg)([(0,s.p_)("notifications-list-subscription-form")],r);class u extends HTMLElement{closeMenu(){this.details.toggleAttribute("open",!1)}}(0,o.Cg)([s.aC],u.prototype,"details",void 0),u=(0,o.Cg)([(0,s.p_)("notifications-team-subscription-form")],u);class d extends HTMLElement{static attrPrefix="";toggleDropdownLabel(t){if(t.preventDefault(),t.stopPropagation(),this.label){let t="true"===this.label.getAttribute("aria-checked");this.setCheckedForDropdownLabel(!t),this.dispatchEvent(new CustomEvent("notifications-dialog-label-toggled",{detail:{wasChecked:t,toggledLabelId:this.labelId,templateLabelElementClone:this.hiddenLabelTemplate.cloneNode(!0)},bubbles:!0}))}}setCheckedForDropdownLabel(t){this.label.setAttribute("aria-checked",t.toString())}}(0,o.Cg)([s.aC],d.prototype,"label",void 0),(0,o.Cg)([s.aC],d.prototype,"hiddenLabelTemplate",void 0),(0,o.Cg)([s.aC],d.prototype,"hiddenCheckboxInput",void 0),(0,o.Cg)([s.CF],d.prototype,"labelId",void 0),(0,o.Cg)([(0,s.p_)("notifications-dialog-label-item")],d)},34619(t,e,i){i.d(e,{O:()=>a,S:()=>n});var o=i(26316);let s=o.cg?.document?.head?.querySelector('meta[name="release"]')?.content||"",n="X-GitHub-Client-Version";function a(){return s}},5045(t,e,i){i.d(e,{jC:()=>l,kt:()=>n,tV:()=>a});var o=i(34619),s=i(381);function n(t){let e={"X-Requested-With":"XMLHttpRequest",...(0,s.wE)(t)};return{...e,[o.S]:(0,o.O)()}}function a(t,e){for(let[i,o]of Object.entries(n(e)))t.set(i,o)}function l(t){return{"X-GitHub-App-Type":t}}},381(t,e,i){i.d(e,{$r:()=>a,M1:()=>l,li:()=>s,pS:()=>u,wE:()=>r});var o=i(26316);let s="X-Fetch-Nonce",n=new Set;function a(t){n.add(t)}function l(){return n.values().next().value||""}function r(t){let e={};return void 0!==t&&(e["X-Fetch-Nonce-To-Validate"]=t),void 0===t?e[s]=l():n.has(t)?e[s]=t:e[s]=Array.from(n).join(","),e}function u(){let t=o.XC?.head?.querySelector('meta[name="fetch-nonce"]')?.content||"";t&&a(t)}},46131(t,e,i){i.d(e,{Cy:()=>l,K3:()=>d,Z8:()=>r,k_:()=>n,lK:()=>p,m$:()=>a});var o=i(84592);function s(t,e,i){return t.dispatchEvent(new CustomEvent(e,{bubbles:!0,cancelable:i}))}function n(t,e){e&&(function(t,e){if(!(t instanceof HTMLFormElement))throw TypeError("The specified element is not of type HTMLFormElement.");if(!(e instanceof HTMLElement))throw TypeError("The specified element is not of type HTMLElement.");if("submit"!==e.type)throw TypeError("The specified element is not a submit button.");if(!t||t!==e.form)throw Error("The specified element is not owned by the form element.")}(t,e),(0,o.A)(e)),s(t,"submit",!0)&&t.submit()}function a(t,e){if("boolean"==typeof e)if(t instanceof HTMLInputElement)t.checked=e;else throw TypeError("only checkboxes can be set to boolean value");else if("checkbox"===t.type)throw TypeError("checkbox can't be set to string value");else t.value=e;s(t,"change",!1)}function l(t,e){for(let i in e){let o=e[i],s=t.elements.namedItem(i);s instanceof HTMLInputElement?s.value=o:s instanceof HTMLTextAreaElement&&(s.value=o)}}function r(t){if(!(t instanceof HTMLElement))return!1;let e=t.nodeName.toLowerCase(),i=(t.getAttribute("type")||"").toLowerCase();return"select"===e||"textarea"===e||"input"===e&&"submit"!==i&&"reset"!==i||t.isContentEditable}function u(t){return new URLSearchParams(t)}function d(t,e){let i=new URLSearchParams(t.search);for(let[t,o]of u(e))i.append(t,o);return i.toString()}function p(t){return u(new FormData(t)).toString()}},84592(t,e,i){function o(t){let e=t.closest("form");if(!(e instanceof HTMLFormElement))return;let i=s(e);if(t.name){let o=t.matches("input[type=submit]")?"Submit":"",s=t.value||o;i||((i=document.createElement("input")).type="hidden",i.classList.add("js-submit-button-value"),e.prepend(i)),i.name=t.name,i.value=s}else i&&i.remove()}function s(t){let e=t.querySelector("input.js-submit-button-value");return e instanceof HTMLInputElement?e:null}i.d(e,{A:()=>o,C:()=>s})},26316(t,e,i){i.d(e,{Kn:()=>a,XC:()=>s,cg:()=>n,fV:()=>l});let o="u">typeof FORCE_SERVER_ENV&&FORCE_SERVER_ENV,s="u"<typeof document||o?void 0:document,n="u"<typeof window||o?void 0:window,a="u"<typeof history||o?void 0:history,l="u"<typeof location||o?{get pathname(){return(void 0)??""},get origin(){return(void 0)??""},get search(){return(void 0)??""},get hash(){return(void 0)??""},get href(){return(void 0)??""}}:location}},function(t){t.O(0,["13726","38302"],function(){return t(t.s=65522)}),t.O()}]);
+//# sourceMappingURL=notifications-global-4c1d7ffc7e4545d2-675f535dc180883c.js.map \ No newline at end of file