PageSourceSearch

https://www.schoenen-dunk.de/assets/forum/account-header.3df90ff39d6ae455a518.min.js

js schoenen-dunk.de collected 2026-09-25 00:04:33 UTC 21,333 bytes, 1 lines download raw bytes

1(self.webpackChunknodebb=self.webpackChunknodebb||[]).push([[1091,4884,5719,16852,34271,42289,43400,49897,97082,99127],{67910(v,b,u){"use strict";var m,p;m=[u(36684),u(72254),u(52473),u(17459),u(47283),u(28061),u(7524),u(49897),u(33530),u(29930)],p=(function(h,o,f,e,s,t,r,n,a,i){const l={};let c;l.init=function(){c=ajaxify.data.isAdmin||ajaxify.data.isSelf||ajaxify.data.isGlobalModerator,d(),c&&g(),f.get("account/follow").on("click",()=>C("follow")),f.get("account/unfollow").on("click",()=>C("unfollow")),f.get("account/chat").on("click",async function(){const{roomId:y}=await n.get(`/users/${encodeURIComponent(ajaxify.data.uid)}/chat`),x=await app.require("chat");y?x.openChat(y):x.newChat(ajaxify.data.uid)}),f.get("account/new-chat").on("click",async function(){(await app.require("chat")).newChat(ajaxify.data.uid,function(){f.get("account/chat").parent().removeClass("hidden")})}),f.get("account/ban").on("click",()=>t.banAccount(ajaxify.data.theirid)),f.get("account/mute").on("click",()=>t.muteAccount(ajaxify.data.theirid)),f.get("account/unban").on("click",()=>t.unbanAccount(ajaxify.data.theirid)),f.get("account/unmute").on("click",()=>t.unmuteAccount(ajaxify.data.theirid)),f.get("account/delete-account").on("click",()=>s.account(ajaxify.data.theirid)),f.get("account/delete-content").on("click",()=>s.content(ajaxify.data.theirid)),f.get("account/delete-all").on("click",()=>s.purge(ajaxify.data.theirid)),f.get("account/flag").on("click",A),f.get("account/already-flagged").on("click",w),f.get("account/block").on("click",()=>E("block")),f.get("account/unblock").on("click",()=>E("unblock"))};function d(){$('[component="profile/change/picture"]').on("click",function(){return r.openChangeModal(),!1})}function g(){h.init(f.get("account/cover"),function(y,x,D){socket.emit("user.updateCover",{uid:ajaxify.data.uid,imageData:y,position:x},D)},function(){o.show({title:"[[user:upload-cover-picture]]",socketMethod:"user.updateCover",aspectRatio:NaN,allowSkippingCrop:!0,restrictImageDimension:!1,paramName:"uid",paramValue:ajaxify.data.theirid,accept:".png,.jpg,.bmp"},function(y){y=(y.startsWith("http")?"":config.relative_path)+y+"?"+Date.now(),f.get("account/cover").css("background-image","url("+y+")")})},k)}function C(y){const x=isFinite(ajaxify.data.uid)?ajaxify.data.uid:encodeURIComponent(ajaxify.data.userslug);return n[y==="follow"?"put":"del"]("/users/"+x+"/follow",void 0,function(D){if(D)return i.error(D);f.get("account/follow").toggleClass("hide",y==="follow"),f.get("account/unfollow").toggleClass("hide",y==="unfollow"),i.success("[[global:alert."+y+", "+ajaxify.data.username+"]]")}),!1}function A(){u.e(6574).then(function(){var y=[u(6574)];(function(x){x.showFlagModal({type:"user",id:ajaxify.data.uid})}).apply(null,y)}).catch(u.oe)}function w(){const y=$(this).data("flag-id");u.e(6574).then(function(){var x=[u(6574)];(function(D){a.confirm("[[flags:modal-confirm-rescind]]",function(j){j&&D.rescind(y)})}).apply(null,x)}).catch(u.oe)}function E(y){return socket.emit("user.toggleBlock",{blockeeUid:ajaxify.data.uid,blockerUid:app.user.uid,action:y},function(x,D){if(x)return i.error(x);f.get("account/block").toggleClass("hidden",D),f.get("account/unblock").toggleClass("hidden",!D)}),!1}function k(){e.translate("[[user:remove-cover-picture-confirm]]",function(y){a.confirm(y,function(x){x&&socket.emit("user.removeCover",{uid:ajaxify.data.uid},function(D){D?i.error(D):ajaxify.refresh()})})})}return l}).apply(b,m),p!==void 0&&(v.exports=p)},47283(v,b,u){"use strict";var m,p;m=[u(49897),u(33530),u(29930)],p=(function(h,o,f){const e={};e.account=function(t,r){s(t,"[[user:delete-this-account-confirm]]","/account","[[user:account-deleted]]",r)},e.content=function(t,r){s(t,"[[user:delete-account-content-confirm]]","/content","[[user:account-content-deleted]]",r)},e.purge=function(t,r){s(t,"[[user:delete-all-confirm]]","","[[user:account-deleted]]",r)};function s(t,r,n,a,i){o.confirm(r,function(l){l&&h.del(`/users/${encodeURIComponent(t)}${n}`,{}).then(()=>{if(f.success(a),typeof i=="function")return i()}).catch(f.error)})}return e}).apply(b,m),p!==void 0&&(v.exports=p)},28061(v,b,u){"use strict";var m,p;m=[u(49897),u(33530),u(29930),u(17459)],p=(function(h,o,f,e){const s={};s.banAccount=function(r,n){r=r||ajaxify.data.theirid,t({tpl:"modals/temporary-ban",title:"[[user:ban-account]]",type:"ban",onSubmit:function(a){const i=a.length>0?Date.now()+a.length*1e3*60*60*(parseInt(a.unit,10)?24:1):0;h.put("/users/"+encodeURIComponent(r)+"/ban",{until:i,reason:a.reason||""}).then(()=>
1{if(typeof n=="function")return n();ajaxify.refresh()}).catch(f.error)}})},s.unbanAccount=function(r){t({tpl:"modals/unban",title:"[[user:unban-account]]",type:"ban",onSubmit:function(n){h.del("/users/"+encodeURIComponent(r)+"/ban",{reason:n.reason||""}).then(()=>{ajaxify.refresh()}).catch(f.error)}})},s.muteAccount=function(r,n){r=r||ajaxify.data.theirid,t({tpl:"modals/temporary-mute",title:"[[user:mute-account]]",type:"mute",onSubmit:function(a){const i=a.length>0?Date.now()+a.length*1e3*60*60*(parseInt(a.unit,10)?24:1):0;h.put("/users/"+r+"/mute",{until:i,reason:a.reason||""}).then(()=>{if(typeof n=="function")return n();ajaxify.refresh()}).catch(f.error)}})},s.unmuteAccount=function(r){t({tpl:"modals/unmute",title:"[[user:unmute-account]]",onSubmit:function(n){h.del("/users/"+r+"/mute",{reason:n.reason||""}).then(()=>{ajaxify.refresh()}).catch(f.error)}})};async function t(r){const n=await socket.emit("user.getCustomReasons",{type:r.type||""}),a=await app.parseAndTranslate(r.tpl,{reasons:n}),i=o.dialog({title:r.title,message:a,show:!0,onEscape:!0,buttons:{close:{label:"[[global:close]]",className:"btn-link"},submit:{label:r.title,callback:function(){const l=i.find("form").serializeArray().reduce(function(c,d){return c[d.name]=d.value,c},{});r.onSubmit(l)}}}});i.find("[data-key]").on("click",function(){const l=n.find(c=>String(c.key)===$(this).attr("data-key"));l&&l.body&&i.find('[name="reason"]').val(e.unescape(l.body))})}return s}).apply(b,m),p!==void 0&&(v.exports=p)},7524(v,b,u){"use strict";var m,p;m=[u(72254),u(49897),u(33530),u(29930)],p=((h,o,f,e)=>{const s={};s.openChangeModal=()=>{socket.emit("user.getProfilePictures",{uid:ajaxify.data.uid},function(r,n){if(r)return e.error(r);const a=n.reduce(function(i,l){return i||l.type==="uploaded"},!1);app.parseAndTranslate("modals/change-picture",{pictures:n,uploaded:a,icon:{text:ajaxify.data["icon:text"],bgColor:ajaxify.data["icon:bgColor"]},defaultAvatar:ajaxify.data.defaultAvatar,allowProfileImageUploads:ajaxify.data.allowProfileImageUploads,iconBackgrounds:ajaxify.data.iconBackgrounds.map(i=>({color:i,selected:i===ajaxify.data["icon:bgColor"]})),user:{uid:ajaxify.data.uid,username:ajaxify.data.username,picture:ajaxify.data.picture,"icon:text":ajaxify.data["icon:text"],"icon:bgColor":ajaxify.data["icon:bgColor"]}},function(i){const l=f.dialog({className:"picture-switcher",title:"[[user:change-picture]]",message:i,show:!0,size:"large",buttons:{close:{label:"[[global:close]]",callback:d,className:"btn-link"},update:{label:"[[global:save-changes]]",callback:c}}});l.on("click",'[component="profile/picture/button"]',function(){l.find('[component="profile/picture/button"]').removeClass("active"),$(this).addClass("active")}),l.on("click","[data-bg-color]",function(){const g=$(this).attr("data-bg-color");$(this).addClass("selected").siblings().removeClass("selected"),l.find('[component="avatar/icon"]').css("background-color",g)}),t(l);function c(){const g=l.find('[component="profile/picture/button"].active'),C=g.attr("data-type"),A=g.find("img").attr("src"),w=l.find("[data-bg-color].selected").attr("data-bg-color")||"transparent";o.put(`/users/${ajaxify.data.theirid}/picture`,{type:C,picture:A,iconBgColor:w}).then(()=>
1{s.updateHeader(C==="default"?"":A,w),ajaxify.refresh()}).catch(e.error)}function d(){l.modal("hide")}})})},s.updateHeader=(r,n)=>{if(parseInt(ajaxify.data.theirid,10)!==parseInt(ajaxify.data.yourid,10))return;!r&&ajaxify.data.defaultAvatar&&(r=ajaxify.data.defaultAvatar);const a=$('[component="header/avatar"] [component="avatar/picture"]'),i=$('[component="header/avatar"] [component="avatar/icon"]');if(r){if(a.length)a.attr("src",r);else if(i.length){const l=$("<img/>");$(i[0].attributes).each(function(){l.attr(this.nodeName,this.nodeValue)}),l.attr("component","avatar/picture").attr("src",r).insertBefore(i)}}else a.remove();n&&i.css({"background-color":n})};function t(r){function n(a){a=(a.startsWith("http")?"":config.relative_path)+a;const i=a+"?"+Date.now();s.updateHeader(i),ajaxify.data.picture&&ajaxify.data.picture.length?($(`#user-current-picture, img[data-uid="${ajaxify.data.theirid}"].avatar`).attr("src",i),ajaxify.data.uploadedpicture=a,ajaxify.data.picture=a):ajaxify.refresh(function(){$(`#user-current-picture, img[data-uid="${ajaxify.data.theirid}"].avatar`).attr("src",i)})}r.find('[data-action="upload"]').on("click",function(){return r.modal("hide"),h.show({title:"[[user:upload-picture]]",description:"[[user:upload-a-picture]]",socketMethod:"user.uploadCroppedPicture",route:`${config.relative_path}/api/user/${ajaxify.data.userslug}/uploadpicture`,aspectRatio:1/1,allowSkippingCrop:!1,paramName:"uid",paramValue:ajaxify.data.theirid,restrictImageDimension:!0,imageDimension:ajaxify.data.profileImageDimension,accept:ajaxify.data.allowedProfileImageExtensions},function(a){n(a)}),!1}),r.find('[data-action="upload-url"]').on("click",function(){return r.modal("hide"),app.parseAndTranslate("modals/upload-picture-from-url",{},function(a){a.modal("show"),a.find(".upload-btn").on("click",function(){const i=a.find("#uploadFromUrl").val();return i&&(a.modal("hide"),h.handleImageCrop({url:i,socketMethod:"user.uploadCroppedPicture",aspectRatio:1,allowSkippingCrop:!1,paramName:"uid",paramValue:ajaxify.data.theirid},n)),!1})}),!1}),r.find('[data-action="remove-uploaded"]').on("click",function(){const a=$(this),i=a.attr("data-url");socket.emit("user.removeUploadedPicture",{uid:ajaxify.data.theirid,picture:i},function(l){if(l)return e.error(l);a.parent().remove(),i===ajaxify.data.picture&&(r.modal("hide"),ajaxify.refresh(),s.updateHeader())})})}return s}).apply(b,m),p!==void 0&&(v.exports=p)},49897(v,b,u){"use strict";u.r(b),u.d(b,{del:()=>l,get:()=>t,head:()=>r,patch:()=>a,post:()=>n,put:()=>i});var m=u(91749),p=u.n(m),h=u(33530),o=u.n(h);const f=config.relative_path+"/api/v3";async function e(c,d){if(c.url=c.url.startsWith("/api")?config.relative_path+c.url:f+c.url,typeof d=="function"){s(c).then(g=>d(null,g),g=>d(g));return}try{return await s(c)}catch(g){if(g.message==="A valid login session was not found. Please log in and try again."){const{url:C}=await(0,m.fire)("filter:admin.reauth",{url:"login"});return(0,h.confirm)("[[error:api.reauth-required]]",A=>{A&&ajaxify.go(C)})}throw g}}async function s(c){const{url:d}=c;delete c.url,c.data&&!(c.data instanceof FormData)&&(c.data=JSON.stringify(c.data||{}),c.headers["content-type"]="application/json; charset=utf-8"),{options:c}=await(0,m.fire)("filter:api.options",{options:c}),c.data&&(c.body=c.data,delete c.data);const g=await fetch(d,c),{headers:C}=g;if(C.get("x-redirect"))return s({url:C.get("x-redirect"),...c});const A=C.get("content-type"),w=A&&A.startsWith("application/json");let E;if(c.method!=="HEAD"&&(w?E=await g.json():E=await g.text()),!g.ok){if(E){const k=w&&(E.status?.message||E.error||"");throw new Error(w&&k?k:E)}throw new Error(g.statusText)}return w&&E&&E.hasOwnProperty("status")&&E.hasOwnProperty("response")?E.response:E}function t(c,d,g){return e({url:c+(d&&Object.keys(d).length?"?"+$.param(d):"")},g)}function r(c,d,g){return e({url:c+(d&&Object.keys(d).length?"?"+$.param(d):""),method:"HEAD"},g)}function n(c,d,g){return e({url:c,method:"POST",data:d,headers:{"x-csrf-token":config.csrf_token}},g)}function a(c,d,g){return e({url:c,method:"PATCH",data:d,headers:{"x-csrf-token":config.csrf_token}},g)}function i(c,d,g){return e({url:c,method:"PUT",data:d,headers:{"x-csrf-token":config.csrf_token}},g)}function l(c,d,g){return e({url:c,method:"DELETE",data:d,headers:{"x-csrf-token":config.csrf_token}},g)}},36684(v,b,u){"use strict";var m,p;
1m=[u(29930),u(18675)],p=(function(h){const o={coverEl:null,saveFn:null};o.init=function(e,s,t,r){o.coverEl=e,o.saveFn=s,e.find(".upload").on("click",t),e.find(".resize").on("click",function(){f(e)}),e.find(".remove").on("click",r),e.on("dragover",o.onDragOver).on("drop",o.onDrop),e.find(".save").on("click",o.save),e.addClass("initialised")},o.onDragOver=function(e){e.stopPropagation(),e.preventDefault(),e.originalEvent.dataTransfer.dropEffect="copy"},o.onDrop=function(e){e.stopPropagation(),e.preventDefault();const s=e.originalEvent.dataTransfer.files,t=new FileReader;s.length&&s[0].type.match("image.*")&&(t.onload=function(r){o.coverEl.css("background-image","url("+r.target.result+")"),o.newCover=r.target.result},t.readAsDataURL(s[0]),f(o.coverEl))};function f(e){e.toggleClass("active",1).backgroundDraggable({axis:"y",units:"percent"}),h.alert({alert_id:"drag_start",title:"[[modules:cover.dragging-title]]",message:"[[modules:cover.dragging-message]]",timeout:5e3})}return o.save=function(){o.coverEl.addClass("saving"),o.saveFn(o.newCover||void 0,o.coverEl.css("background-position"),function(e){e?h.error(e):(o.coverEl.toggleClass("active",0),o.coverEl.backgroundDraggable("disable"),o.coverEl.off("dragover",o.onDragOver),o.coverEl.off("drop",o.onDrop),h.success("[[modules:cover.saved]]")),o.coverEl.removeClass("saving")})},o}).apply(b,m),p!==void 0&&(v.exports=p)},72254(v,b,u){"use strict";var m,p;m=[u(29930)],p=(function(h){const o={};o.show=function(t,r){const n=t.hasOwnProperty("fileSize")&&t.fileSize!==void 0?parseInt(t.fileSize,10):!1;app.parseAndTranslate("modals/upload-file",{showHelp:t.hasOwnProperty("showHelp")&&t.showHelp!==void 0?t.showHelp:!0,fileSize:n,title:t.title||"[[global:upload-file]]",description:t.description||"",button:t.button||"[[global:upload]]",accept:t.accept?t.accept.replace(/,/g,"&#44; "):""},function(a){a.modal("show"),a.on("hidden.bs.modal",function(){a.remove()});const i=a.find("#uploadForm");t.route&&i.attr("action",t.route),a.find("#fileUploadSubmitBtn").on("click",function(){return $(this).addClass("disabled"),t.uploadModal=a,s(t,r),!1})})},o.handleImageCrop=function(t,r){$("#crop-picture-modal").remove(),app.parseAndTranslate("modals/crop_picture",{url:utils.escapeHTML(t.url)},async function(n){n.modal({backdrop:"static"}).modal("show");const a=parseInt($(window).height()/2,10),i=document.getElementById("cropped-image");$(i).css("max-height",a);const l=(await u.e(60239).then(u.t.bind(u,65643,23))).default;let c=new l(i,{aspectRatio:t.aspectRatio,autoCropArea:1,viewMode:1,checkCrossOrigin:!0,cropmove:function(){t.restrictImageDimension&&(c.cropBoxData.width>t.imageDimension&&c.setCropBoxData({width:t.imageDimension}),c.cropBoxData.height>t.imageDimension&&c.setCropBoxData({height:t.imageDimension}))},ready:function(){if(!e(c,t))return n.modal("hide");if(t.restrictImageDimension){const d=i.width<i.height?i.width:i.height,g=d>t.imageDimension?t.imageDimension:d;c.setCropBoxData({width:g,height:g})}n.find(".rotate").on("click",function(){const d=this.getAttribute("data-degrees");c.rotate(d)}),n.find(".flip").on("click",function(){const d=this.getAttribute("data-option");this.getAttribute("data-method")==="scaleX"?c.scaleX(d):c.scaleY(d),this.setAttribute("data-option",d*-1)}),n.find(".reset").on("click",function(){c.reset()}),n.find(".crop-btn").on("click",function(){const d=e(c,t);d&&($(this).addClass("disabled"),n.find("#upload-progress-bar").css("width","0%"),n.find("#upload-progress-box").show().removeClass("hide"),f({data:t,imageData:d,progressBarEl:n.find("#upload-progress-bar")},function(g,C){if(g)return n.find("#upload-progress-box").hide(),n.find(".upload-btn").removeClass("disabled"),n.find(".crop-btn").removeClass("disabled"),h.error(g);r(C.url),n.modal("hide")}))}),n.find(".upload-btn").on("click",async function(){$(this).addClass("disabled"),c.destroy();const d=(await u.e(60239).then(u.t.bind(u,65643,23))).default;c=new d(i,{viewMode:1,autoCropArea:1,ready:function(){n.find(".crop-btn").trigger("click")}})})}})})};function f(t,r){const n={};n[t.data.paramName]=t.data.paramValue,n.method=t.data.socketMethod,n.size=t.imageData.length,n.progress=0;const a=1e5;function i(){const l=t.imageData.slice(n.progress,n.progress+a);socket.emit("uploads.upload",{chunk:l,params:n},function(c,d){if(c)return r(c);if(n.progress+a<n.size)return n.progress+=l.length,t.progressBarEl.css("width",(n.progress/n.size*100).toFixed(2)+"%"),setTimeout(i,100);t.progressBarEl.css("width","100%"),r(null,d)})}i()}function e(t,r){let n;try{const a={};r.restrictImageDimension&&(a.width=r.imageDimension,a.height=r.imageDimension,a.imageSmoothingEnabled=!0,a.imageSmoothingQuality="high"),n=r.imageType?t.getCroppedCanvas(a).toDataURL(r.imageType):t.getCroppedCanvas(a).toDataURL()}catch(a){["The operation is insecure.","Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported."].indexOf(a.message)!==-1?h.error("[[error:cors-error]]"):h.error(a.message);return}return n}function s(t,r){function n(d,g){d==="error"&&t.uploadModal.find("#fileUploadSubmitBtn").removeClass("disabled"),t.uploadModal.find("#alert-"+d).translateText(g).removeClass("hide")}const a=t.uploadModal.find("#fileInput");if(!a.val())return n("error","[[uploads:select-file-to-upload]]");const i=a[0].files[0],l=t.hasOwnProperty("fileSize")&&t.fileSize?parseInt(t.fileSize,10):!1;if(l&&i.size>l*1024)return n("error","[[error:file-too-big, "+l+"]]");if(i.name.endsWith(".gif")){u.e(98463).then(function(){var d=[u(24187)];(function(g){g.ajaxSubmit(t.uploadModal,r)}).apply(null,d)}).catch(u.oe);return}const c=new FileReader;c.addEventListener("load",function(){const d=c.result;t.uploadModal.modal("hide"),o.handleImageCrop({url:d,imageType:i.type,socketMethod:t.socketMethod,aspectRatio:t.aspectRatio,allowSkippingCrop:t.allowSkippingCrop,restrictImageDimension:t.restrictImageDimension,imageDimension:t.imageDimension,paramName:t.paramName,paramValue:t.paramValue},r)},!1),i&&c.readAsDataURL(i)}return o}
1).apply(b,m),p!==void 0&&(v.exports=p)},18675(){(function(v){var b=v(window),u=function(o,f,e,s){if(arguments.length===3||s){if(e<o)return o;if(e>f)return f}return e},m=function(o){o.clientX=o.originalEvent.touches[0].clientX,o.clientY=o.originalEvent.touches[0].clientY},p=function(o){var f=(o.css("background-image").match(/^url\(['"]?(.*?)['"]?\)$/i)||[])[1];if(f){var e={width:0,height:0},s=new Image;return s.onload=function(){if(o.css("background-size")=="cover"){var t=o.innerWidth(),r=o.innerHeight(),n=t/r,a=s.width/s.height,i=1;a>=n?i=r/s.height:i=t/s.width,e.width=s.width*i,e.height=s.height*i}else e.width=s.width,e.height=s.height},s.src=f,e}};function h(o,f){this.element=o,this.options=f,this.init()}h.prototype.init=function(){var o=v(this.element),f=(o.css("background-image").match(/^url\(['"]?(.*?)['"]?\)$/i)||[])[1],e=this.options;if(f){var s={width:0,height:0};(e.bound||e.units=="percent")&&(s=p(o)),v(window).on("keydown.dbg",t=>{var r=o.css("background-position").match(/(-?\d+).*?\s(-?\d+)/)||[],n=parseInt(r[1])||0,a=parseInt(r[2])||0;e.units=="percent"&&(n=Math.round(n/-200*s.width),a=Math.round(a/-200*s.height));var i=0,l=0;return t.which===37?i=-5:t.which===39?i=5:t.which===38?l=-5:t.which===40&&(l=5),e.units==="percent"?(n=e.axis==="y"?n:u(-s.width/2,0,n+i,e.bound),a=e.axis==="x"?a:u(-s.height/2,0,a+l,e.bound),o.css("background-position",n/s.width*-200+"% "+a/s.height*-200+"%")):(n=e.axis==="y"?n:u(o.innerWidth()-s.width,0,n+i,e.bound),a=e.axis==="x"?a:u(o.innerHeight()-s.height,0,a+l,e.bound)),[37,38,39,40].includes(t.which)?!1:void 0}),o.on("mousedown.dbg touchstart.dbg",function(t){if(t.target===o[0]){if
1(t.preventDefault(),t.originalEvent.touches)m(t);else if(t.which!==1)return;var r=t.clientX,n=t.clientY,a=o.css("background-position").match(/(-?\d+).*?\s(-?\d+)/)||[],i=parseInt(a[1])||0,l=parseInt(a[2])||0;e.units=="percent"&&(i=Math.round(i/-200*s.width),l=Math.round(l/-200*s.height)),b.on("mousemove.dbg touchmove.dbg",function(c){c.preventDefault(),c.originalEvent.touches&&m(c);var d=c.clientX,g=c.clientY;e.units=="percent"?(i=e.axis==="y"?i:u(-s.width/2,0,i+d-r,e.bound),l=e.axis==="x"?l:u(-s.height/2,0,l+g-n,e.bound),o.css("background-position",i/s.width*-200+"% "+l/s.height*-200+"%")):(i=e.axis==="y"?i:u(o.innerWidth()-s.width,0,i+d-r,e.bound),l=e.axis==="x"?l:u(o.innerHeight()-s.height,0,l+g-n,e.bound),o.css("background-position",i+"px "+l+"px")),r=d,n=g}),b.on("mouseup.dbg touchend.dbg mouseleave.dbg",function(){e.done&&e.done(),b.off("mousemove.dbg touchmove.dbg"),b.off("mouseup.dbg touchend.dbg mouseleave.dbg")})}})}},h.prototype.disable=function(){var o=v(this.element);o.off("mousedown.dbg touchstart.dbg"),b.off("mousemove.dbg touchmove.dbg mouseup.dbg touchend.dbg mouseleave.dbg keydown.dbg")},v.fn.backgroundDraggable=function(o){var f=Array.prototype.slice.call(arguments,1);return this.each(function(){var e=v(this),s;typeof o>"u"||typeof o=="object"?(o=v.extend({},v.fn.backgroundDraggable.defaults,o),s=new h(this,o),e.data("dbg",s)):typeof o=="string"&&e.data("dbg")&&(s=e.data("dbg"),h.prototype[o].apply(s,f))})},v.fn.backgroundDraggable.defaults={bound:!0,axis:void 0,units:"pixels"}})(jQuery)}}]);

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.