PageSourceSearch

https://assets-prod.documenters.org/bundles/briefing-card.4310209a6c71d95f6feb.js

js documenters.org collected 2026-09-24 22:12:43 UTC 3,687 bytes, 2 lines download raw bytes

1!function(){"use strict";function e(e){var t=document.createElement("div");t.setAttribute("data-component","toast"),t.className="toast briefing-toast",t.innerHTML='\n    <div class="briefing-toast-content">\n      <span class="briefing-toast-icon">\n        <svg width="14" height="14" viewBox="0 0 24 24" fill="none" aria-hidden="true">\n          <path d="M5 12.5l4.5 4.5L19 7" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>\n        </svg>\n      </span>\n      <p class="briefing-toast-text"></p>\n    </div>\n    <button type="button" class="briefing-toast-close" title="Dismiss notification" aria-label="Dismiss notification">\n      <svg width="24" height="24" viewBox="0 0 24 24" fill="none" aria-hidden="true">\n        <path d="M6 6L18 18M18 6L6 18" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>\n      </svg>\n    </button>\n  ',t.querySelector(".briefing-toast-text").textContent=e,document.getElementById("toast-messages").appendChild(t);var n=function(){t.classList.add("disappearing"),setTimeout((function(){return t.remove()}),1e3)};t.querySelector("button").addEventListener("click",n),setTimeout(n,1e4)}var t=0,n="";document.addEventListener("DOMContentLoaded",(function(){var i,o,r;i=document.getElementById("btn-print-brief"),(o=i&&i.dataset.printUrl)&&i.addEventListener("click",(function(){fetch(o,{credentials:"same-origin"}).then((function(e){return e.text()})).then((function(e){var i,o,r,a=document.createElement("iframe");a.style.cssText="position: fixed; left: -9999px; width: 0; height: 0;",document.body.appendChild(a),a.contentDocument.open(),a.contentDocument.write(e),a.contentDocument.close();var d=null===(i=a.contentDocument)||void 0===i?void 0:i.title;d&&(0===t&&(n=document.title),t+=1,document.title=d);var c=!1,s=function e(){c||(c=!0,window.removeEventListener("focus",e),d&&0==(t-=1)&&(document.title=n),a.remove())};null===(o=a.contentWindow)||void 0===o||o.addEventListener("afterprint",s);var u=function(){var e,t;window.addEventListener("focus",s),null===(e=a.contentWindow)||void 0===e||e.focus(),null===(t=a.contentWindow)||void 0===t||t.print()},l=null===(r=a.contentDocument)||void 0===r?void 0:r.fonts;if(l){var f=Promise.all(Array.from(l,(function(e){return e.load().catch((function(){}))}))).then((function(){return l.ready}));Promise.race([f,new Promise((function(e){return setTimeout(e,1500)}))]).then(u)}else u()}))})),function(){var e=document.querySelector("[data-action='toggle-briefing-menu']"),t=document.querySelector("[data-role='briefing-menu-dropdown']");if(e&&t){e.addEventListener("click",(function(e){e.stopPropagation(),t.classList.toggle("hidden")})),document.addEventListener("click",(function(){return t.classList.add("hidden")}));var n=document.getElementById("btn-remove-brief");if(n){var i=n.dataset.removeUrl;n.addEventListener("click",(function(){if(window.confirm("Are you sure you want to remove this meeting brief?")){t.classList.add("hidden");var e=document.querySelector("[name=csrfmiddlewaretoken]").value;fetch(i,{method:"DELETE",headers:{"X-CSRFToken":e},credentials:"same-origin"}).then((function(e){if(!e.ok)throw new Error("Remove failed");window.location.reload()})).catch((function(e){window.alert("Failed to remove the brief. Please try again."),console.error(e)}))}}))}}}(),(r=document.querySelector(".briefing-card-share-btn"))&&r.addEventListener("click",(function(){var t=r.dataset.briefingUrl;t?navigator.clipboard.writeText(t).then((function(){e("Copied link to clipboard.")})):e("This brief hasn't been shared yet. Publish it from the review page first.")}))}))}();
2//# sourceMappingURL=briefing-card.4310209a6c71d95f6feb.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.