1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5388],{77959:function(e,a,t){"use strict";var n=t(50581),r=t(19327),o=t(29935);let i=(0,n.forwardRef)(function({testId:e="fs-tag",label:a,icon:t,iconButtonLabel:i,onClose:c,...l},d){return n.default.createElement(r.Z,{ref:d,"data-fs-tag":!0,size:"big","data-testid":e,...l},n.default.createElement("span",{"data-fs-tag-label":!0},a),n.default.createElement("button",{"data-fs-tag-icon-button":!0,"aria-label":i||"remove",onClick:c},t||n.default.createElement(o.Z,{name:"X"})))});a.Z=i},54512:function(e,a,t){"use strict";t.r(a),t.d(a,{default:function(){return PreviewTag_PreviewTag}});var n=t(50581),r=t(77959),o=t(42354),i=t(39618),c=t.n(i),l=t(17182),PreviewTag_PreviewTag=function(e){var{text:a="Preview",exitUrl:t}=e;return(0,n.useEffect)(()=>{var handleBeforeUnload=()=>{navigator.sendBeacon("/api/preview?action=clear")};return window.addEventListener("beforeunload",handleBeforeUnload),()=>{window.removeEventListener("beforeunload",handleBeforeUnload)}},[]),(0,l.tZ)(o.Z,{className:"".concat(c().section," section-preview-tag"),children:(0,l.tZ)(r.Z,{"data-fs-preview-tag":!0,testId:"fs-preview-tag",variant:"danger",label:a,iconButtonLabel:"Exit preview",onClose:()=>{var e=t||window.location.pathname+window.location.search;window.location.href="/api/preview?action=clear&redirect=".concat(encodeURIComponent(e))}})})}},39618:function(e){e.exports={section:"section_section__xOrQo"}}}]);
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.