1"use strict";(self.webpackChunknodebb=self.webpackChunknodebb||[]).push([[22067,43602,62082],{95602(d,o,i){var t,s;t=[i(29930),i(65303)],s=((a,g)=>{const u={};return u.init=()=>{$("#clear-search-history").on("click",()=>{g.confirm("[[admin/dashboard:clear-search-history-confirm]]",function(m){m&&socket.emit("admin.clearSearchHistory",function(c){if(c)return a.error(c);ajaxify.refresh()})})})},u}).apply(o,t),s!==void 0&&(d.exports=s)},65303(d,o,i){i.r(o),i.d(o,{alert:()=>m,confirm:()=>c,dialog:()=>u,prompt:()=>y,promptPassword:()=>E});var t=i(33530),s=i.n(t),a=i(17459),g=i.n(a);t.setDefaults({locale:config.userLang}),a.translateKeys(["modules:bootbox.ok","modules:bootbox.cancel","modules:bootbox.confirm"]).then(e=>{t.addLocale(config.userLang,{OK:e[0],CANCEL:e[1],CONFIRM:e[2]}),t.setLocale(config.userLang)});async function u(e){const[n,r,l]=await Promise.all([a.translate(e.title||""),f(e)||"",P(e.buttons)]);return t.dialog({...e,title:n,message:r,buttons:l})}async function m(e,n){const[r,l]=await Promise.all([e&&e.title?a.translate(e.title):null,f(e)]);return n=typeof n=="function"?n:e.callback,t.alert({...e,title:r,message:l,callback:n})}async function c(e,n){const[r,l]=await Promise.all([e&&e.title?a.translate(e.title):null,f(e)]);return n=typeof n=="function"?n:e.callback,t.confirm({...e,title:r,message:l,callback:n})}async function y(e,n){const[r,l]=await Promise.all([a.translate(typeof e=="string"?e:e.title),e&&e.message?f(e):null]);return n=typeof n=="function"?n:e.callback,t.prompt({...e,title:r,message:l,callback:n})}async function E(e){return typeof e=="string"&&(e={title:e}),e=e||{title:"[[user:current-password]]",message:"[[user:emailUpdate.password-challenge]]"},await new Promise(n=>{y({...e,inputType:"password",required:!0,value:"",callback:n})})}function f(e){const n=e&&e.message?e.message:e;return n instanceof jQuery?n:a.translate(n||"")}async function P(e){if(!Object.keys(e||{}).length)return;const n=Object.values(e);return await Promise.all(n.map(async r=>({...r,label:await a.translateKey(r.label)})))}}}]);
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.