!function(){"use strict";var t={d:function(r,n){for(var e in n)t.o(n,e)&&!t.o(r,e)&&Object.defineProperty(r,e,{enumerable:!0,get:n[e]})},o:function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},r:function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},r={};t.r(r),t.d(r,{clearArgs:function(){return e},getArg:function(){return i},getArgs:function(){return o},objectToArgs:function(){return u},setArgs:function(){return s}});var n=window.lodash;const e=t=>(0,n.trimEnd)((0,n.head)((0,n.split)((0,n.toString)(t),"?")),"/"),o=t=>(0,n.fromPairs)((0,n.filter)((0,n.map)((0,n.split)((0,n.join)((0,n.tail)((0,n.split)((0,n.toString)(t),"?")),"&"),"&"),(t=>(0,n.split)(t,"="))),(t=>!(0,n.isEmpty)((0,n.head)(t))))),i=(t,r)=>{const n=o(r);return void 0!==n[t]?n[t]:""},u=t=>(0,n.join)((0,n.map)((0,n.toPairs)(t),(t=>(0,n.join)(t,"="))),"&"),s=(t,r)=>{const i={...o(r),...t};return(0,n.isEmpty)(i)?r:`${e(r)}?${u(i)}`};(window.divi=window.divi||{}).url=r}();