PageSourceSearch

https://the-starport.com/forums/assets/admin/settings-notifications.b450e6cd2df44b1eb367.min.js

js the-starport.com collected 2026-09-25 21:26:39 UTC 4,460 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunknodebb=self.webpackChunknodebb||[]).push([[1091,13417,34271,34405,49897,58087,99127],{29821(x,y,i){var l,m;l=[i(34405)],m=(function(p){const g={};return g.init=function(){const A=$('[data-field="welcomeUid"]');p.user(A,function(h,E){setTimeout(function(){A.val(E.item.user.uid)})})},g}).apply(y,l),m!==void 0&&(x.exports=m)},49897(x,y,i){i.r(y),i.d(y,{del:()=>a,get:()=>s,head:()=>D,patch:()=>c,post:()=>P,put:()=>r});var l=i(91749),m=i.n(l),p=i(33530),g=i.n(p);const A=config.relative_path+"/api/v3";async function h(t,n){if(t.url=t.url.startsWith("/api")?config.relative_path+t.url:A+t.url,typeof n=="function"){E(t).then(e=>n(null,e),e=>n(e));return}try{return await E(t)}catch(e){if(e.message==="A valid login session was not found. Please log in and try again."){const{url:f}=await(0,l.fire)("filter:admin.reauth",{url:"login"});return(0,p.confirm)("[[error:api.reauth-required]]",d=>{d&&ajaxify.go(f)})}throw e}}async function E(t){const{url:n}=t;delete t.url,t.data&&!(t.data instanceof FormData)&&(t.data=JSON.stringify(t.data||{}),t.headers["content-type"]="application/json; charset=utf-8"),{options:t}=await(0,l.fire)("filter:api.options",{options:t}),t.data&&(t.body=t.data,delete t.data);const e=await fetch(n,t),{headers:f}=e;if(f.get("x-redirect"))return E({url:f.get("x-redirect"),...t});const d=f.get("content-type"),o=d&&d.startsWith("application/json");let u;if(t.method!=="HEAD"&&(o?u=await e.json():u=await e.text()),!e.ok){if(u){const w=o&&(u.status?.message||u.error||"");throw new Error(o&&w?w:u)}throw new Error(e.statusText)}return o&&u&&u.hasOwnProperty("status")&&u.hasOwnProperty("response")?u.response:u}function s(t,n,e){return h({url:t+(n&&Object.keys(n).length?"?"+$.param(n):"")},e)}function D(t,n,e){return h({url:t+(n&&Object.keys(n).length?"?"+$.param(n):""),method:"HEAD"},e)}function P(t,n,e){return h({url:t,method:"POST",data:n,headers:{"x-csrf-token":config.csrf_token}},e)}function c(t,n,e){return h({url:t,method:"PATCH",data:n,headers:{"x-csrf-token":config.csrf_token}},e)}function r(t,n,e){return h({url:t,method:"PUT",data:n,headers:{"x-csrf-token":config.csrf_token}},e)}function a(t,n,e){return h({url:t,method:"DELETE",data:n,headers:{"x-csrf-token":config.csrf_token}},e)}},34405(x,y,i){var l,m;l=[i(49897),i(29930),i(36e3),i(9787),i(35786)],m=(function(p,g,{Textcomplete:A},{TextareaEditor:h},{ContenteditableEditor:E}){const s={},D={delay:200,appendTo:null};s.init=c=>{const r={...D,...c},{input:a,onSelect:t}=r;app.loadJQueryUI(function(){a.autocomplete({...r,open:function(){$(this).autocomplete("widget").css("z-index",100005)},select:function(n,e){P(a,t,n,e)}})})},s.user=function(c,r,a){typeof r=="function"&&(a=r,r={}),r=r||{},s.init({input:c,onSelect:a,source:(t,n)=>{r.query=t.term,p.get("/api/users",r,function(e,f){if(e)return g.error(e);if(f&&f.users){const d=f.users.map(function(o){const u=$("<div></div>").html(o.username).text();return o&&{label:u,value:u,user:{uid:o.uid,name:o.username,slug:o.userslug,username:o.username,userslug:o.userslug,displayname:o.displayname,picture:o.picture,banned:o.banned,"icon:text":o["icon:text"],"icon:bgColor":o["icon:bgColor"]}}});n(d)}$(".ui-autocomplete a").attr("data-ajaxify","false")})}})},s.group=function(c,r){s.init({input:c,onSelect:r,source:(a,t)=>{socket.emit("groups.search",{query:a.term},function(n,e){if(n)return g.error(n);if(e&&e.length){const f=e.map(function(d){return d&&{label:d.name,value:d.name,group:d}});t(f)}$(".ui-autocomplete a").attr("data-ajaxify","false")})}})},s.tag=function(c,r){s.init({input:c,onSelect:r,delay:100,source:(a,t)=>{socket.emit("topics.autocompleteTags",{query:a.term,cid:ajaxify.data.cid||0},function(n,e){if(n)return g.error(n);e&&t(e),$(".ui-autocomplete a").attr("data-ajaxify","false")})}})};function P(c,r,a,t){r=r||function(){};const n=jQuery.Event("keypress");n.which=13,n.keyCode=13,setTimeout(function(){c.trigger(n)},100),r(a,t)}return s.setup=function({element:c,strategies:r,options:a}){const t=c.get(0);if(!t)return;let n;if(t.nodeName==="TEXTAREA"||t.nodeName==="INPUT"?n=new h(t):t.nodeName==="DIV"&&t.getAttribute("contenteditable")==="true"&&(n=new E(t)),!n)throw new Error("unknown target element type");t.setAttribute("dir",document.querySelector("html").getAttribute("data-dir"));const e=new A(n,r,{dropdown:a});return e.on("rendered",function(){e.dropdown.items.length&&e.dropdown.items[0].activate()}),e},s}).apply(y,l),m!==void 0&&(x.exports=m)}}]);

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.