diff --git a/netbox/project-static/dist/netbox.js b/netbox/project-static/dist/netbox.js index b6dd11eda19..d5b0ce28a40 100644 --- a/netbox/project-static/dist/netbox.js +++ b/netbox/project-static/dist/netbox.js @@ -1,11 +1,11 @@ -(()=>{var H_=Object.create;var ia=Object.defineProperty,B_=Object.defineProperties,F_=Object.getOwnPropertyDescriptor,z_=Object.getOwnPropertyDescriptors,$_=Object.getOwnPropertyNames,hh=Object.getOwnPropertySymbols,U_=Object.getPrototypeOf,ph=Object.prototype.hasOwnProperty,V_=Object.prototype.propertyIsEnumerable;var lu=(yr,br,mr)=>br in yr?ia(yr,br,{enumerable:!0,configurable:!0,writable:!0,value:mr}):yr[br]=mr,ci=(yr,br)=>{for(var mr in br||(br={}))ph.call(br,mr)&&lu(yr,mr,br[mr]);if(hh)for(var mr of hh(br))V_.call(br,mr)&&lu(yr,mr,br[mr]);return yr},ll=(yr,br)=>B_(yr,z_(br)),mh=yr=>ia(yr,"__esModule",{value:!0});var jr=(yr,br)=>()=>(br||yr((br={exports:{}}).exports,br),br.exports),W_=(yr,br)=>{mh(yr);for(var mr in br)ia(yr,mr,{get:br[mr],enumerable:!0})},G_=(yr,br,mr)=>{if(br&&typeof br=="object"||typeof br=="function")for(let Er of $_(br))!ph.call(yr,Er)&&Er!=="default"&&ia(yr,Er,{get:()=>br[Er],enumerable:!(mr=F_(br,Er))||mr.enumerable});return yr},vn=yr=>G_(mh(ia(yr!=null?H_(U_(yr)):{},"default",yr&&yr.__esModule&&"default"in yr?{get:()=>yr.default,enumerable:!0}:{value:yr,enumerable:!0})),yr);var di=(yr,br,mr)=>(lu(yr,typeof br!="symbol"?br+"":br,mr),mr);var $i=(yr,br,mr)=>new Promise((Er,wr)=>{var _r=Tr=>{try{Sr(mr.next(Tr))}catch(Or){wr(Or)}},xr=Tr=>{try{Sr(mr.throw(Tr))}catch(Or){wr(Or)}},Sr=Tr=>Tr.done?Er(Tr.value):Promise.resolve(Tr.value).then(_r,xr);Sr((mr=mr.apply(yr,br)).next())});var Jp=jr((exports,module)=>{(function(yr,br){typeof define=="function"&&define.amd?define([],br):yr.htmx=yr.htmx||br()})(typeof self!="undefined"?self:exports,function(){return function(){"use strict";var U={onLoad:t,process:vt,on:X,off:F,trigger:$,ajax:nr,find:R,findAll:O,closest:N,values:function(yr,br){var mr=Pt(yr,br||"post");return mr.values},remove:q,addClass:L,removeClass:T,toggleClass:A,takeClass:H,defineExtension:fr,removeExtension:cr,logAll:C,logger:null,config:{historyEnabled:!0,historyCacheSize:10,refreshOnHistoryMiss:!1,defaultSwapStyle:"innerHTML",defaultSwapDelay:0,defaultSettleDelay:20,includeIndicatorStyles:!0,indicatorClass:"htmx-indicator",requestClass:"htmx-request",addedClass:"htmx-added",settlingClass:"htmx-settling",swappingClass:"htmx-swapping",allowEval:!0,inlineScriptNonce:"",attributesToSettle:["class","style","width","height"],withCredentials:!1,timeout:0,wsReconnectDelay:"full-jitter",disableSelector:"[hx-disable], [data-hx-disable]",useTemplateFragments:!1,scrollBehavior:"smooth",defaultFocusScroll:!1},parseInterval:v,_:e,createEventSource:function(yr){return new EventSource(yr,{withCredentials:!0})},createWebSocket:function(yr){return new WebSocket(yr,[])},version:"1.8.0"},r={addTriggerHandler:st,bodyContains:K,canAccessLocalStorage:E,filterValues:Ut,hasAttribute:o,getAttributeValue:V,getClosestMatch:h,getExpressionVars:Qt,getHeaders:Bt,getInputValues:Pt,getInternalData:W,getSwapSpecification:_t,getTriggerSpecs:Me,getTarget:re,makeFragment:g,mergeObjects:Y,makeSettleInfo:Gt,oobSwap:ae,selectAndSwap:Ee,settleImmediately:Lt,shouldCancel:je,triggerEvent:$,triggerErrorEvent:J,withExtensions:xt},n=["get","post","put","delete","patch"],i=n.map(function(yr){return"[hx-"+yr+"], [data-hx-"+yr+"]"}).join(", ");function v(yr){if(yr!=null)return yr.slice(-2)=="ms"?parseFloat(yr.slice(0,-2))||void 0:yr.slice(-1)=="s"?parseFloat(yr.slice(0,-1))*1e3||void 0:yr.slice(-1)=="m"?parseFloat(yr.slice(0,-1))*1e3*60||void 0:parseFloat(yr)||void 0}function f(yr,br){return yr.getAttribute&&yr.getAttribute(br)}function o(yr,br){return yr.hasAttribute&&(yr.hasAttribute(br)||yr.hasAttribute("data-"+br))}function V(yr,br){return f(yr,br)||f(yr,"data-"+br)}function u(yr){return yr.parentElement}function _(){return document}function h(yr,br){for(;yr&&!br(yr);)yr=u(yr);return yr||null}function a(yr,br,mr){var Er=V(br,mr),wr=V(br,"hx-disinherit");return yr!==br&&wr&&(wr==="*"||wr.split(" ").indexOf(mr)>=0)?"unset":Er}function z(yr,br){var mr=null;if(h(yr,function(Er){return mr=a(yr,Er,br)}),mr!=="unset")return mr}function d(yr,br){var mr=yr.matches||yr.matchesSelector||yr.msMatchesSelector||yr.mozMatchesSelector||yr.webkitMatchesSelector||yr.oMatchesSelector;return mr&&mr.call(yr,br)}function s(yr){var br=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,mr=br.exec(yr);return mr?mr[1].toLowerCase():""}function l(yr,br){for(var mr=new DOMParser,Er=mr.parseFromString(yr,"text/html"),wr=Er.body;br>0;)br--,wr=wr.firstChild;return wr==null&&(wr=_().createDocumentFragment()),wr}function g(yr){if(U.config.useTemplateFragments){var br=l("
"+yr+"",0);return br.querySelector("template").content}else{var mr=s(yr);switch(mr){case"thead":case"tbody":case"tfoot":case"colgroup":case"caption":return l("