师范大学东西DVDvv在v下错v下 The next morning , they had a quarrel. “No, this is my baby!” The dead is yours!” Each one wanted the living baby. So they went to see King Solomon. “Bring me打算大哥大打回来??ed to the woman in teas and said, “Give the baby to her. She is the mother.” God had given Solomon any wish, and he chose wisdom. This I heard from another guard. Icouldn’t believe it! Why ha(≧?≦)?dn’t he pic啊ked other ??things like riches, long life, or the death of his enemies? Now I know why because he is one of the youngest rulers ever and he needs wisdom to rule the people. God thought that it was such a good answer so he gave him wisdom, riches,power and fame. The next morning , they had a quarrel. “No, this is my baby!” The dead is yours!” Each one wanted the living baby. So they went to see King Solomon. “Bring me打算大哥大打回来??ed to the woman in teas and said, “Give the baby to her. She is the mother.” God had given Solomon any wish, and he chose wisdom. This I heard from another guard. Icouldn’t believe it! Why ha(≧?≦)?dn’t he pic啊ked other ??things like riches, long life, or the death of his enemies? Now I know why because he is one of the youngest rulers ever and he needs wisdom to rule the people. God thought that it was such a good answer so he gave him wisdom, riches,power and fame. The next morning , they had a quarrel. “No, this is my baby!” The dead is yours!” Each one wanted the living baby. So they went to see King Solomon. “Bring me打算大哥大打回来??ed to the woman in teas and said, “Give the baby to her. She is the mother.” God had given Solomon any wish, and he chose wisdom. This I heard from another guard. Icouldn’t believe it! Why ha(≧?≦)?dn’t he pic啊ked other ??things like riches, long life, or the death of his enemies? Now I know why because he is one of the youngest rulers ever and he needs wisdom to rule the people. God thought that it was such a good answer so he gave him wisdom, riches,power and fame. The next morning , they had a quarrel. “No, this is my baby!” The dead is yours!” Each one wanted the living baby. So they went to see King Solomon. “Bring me打算大哥大打回来??ed to the woman in teas and said, “Give the baby to her. She is the mother.” God had given Solomon any wish, and he chose wisdom. This I heard from another guard. Icouldn’t believe it! Why ha(≧?≦)?dn’t he pic啊ked other ??things like riches, long life, or the death of his enemies? Now I know why because he is one of the youngest rulers ever and he needs wisdom to rule the people. God thought that it was such a good answer so he gave him wisdom, riches,power and fame. 师范大学东西DVDvv在v下错v下 The next morning , they had a quarrel. “No, this is my baby!” The dead is yours!” Each one wanted the living baby. So they went to see King Solomon. “Bring me打算大哥大打回来??ed to the woman in teas and said, “Give the baby to her. She is the mother.” God had given Solomon any wish, and he chose wisdom. This I heard from another guard. Icouldn’t believe it! Why ha(≧?≦)?dn’t he pic啊ked other ??things like riches, long life, or the death of his enemies? Now I know why because he is one of the youngest rulers ever and he needs wisdom to rule the people. God thought that it was such a good answer so he gave him wisdom, riches,power and fame. The next morning , they had a quarrel. “No, this is my baby!” The dead is yours!” Each one wanted the living baby. So they went to see King Solomon. “Bring me打算大哥大打回来??ed to the woman in teas and said, “Give the baby to her. She is the mother.” God had given Solomon any wish, and he chose wisdom. This I heard from another guard. Icouldn’t believe it! Why ha(≧?≦)?dn’t he pic啊ked other ??things like riches, long life, or the death of his enemies? Now I know why because he is one of the youngest rulers ever and he needs wisdom to rule the people. God thought that it was such a good answer so he gave him wisdom, riches,power and fame. The next morning , they had a quarrel. “No, this is my baby!” The dead is yours!” Each one wanted the living baby. So they went to see King Solomon. “Bring me打算大哥大打回来??ed to the woman in teas and said, “Give the baby to her. She is the mother.” God had given Solomon any wish, and he chose wisdom. This I heard from another guard. Icouldn’t believe it! Why ha(≧?≦)?dn’t he pic啊ked other ??things like riches, long life, or the death of his enemies? Now I know why because he is one of the youngest rulers ever and he needs wisdom to rule the people. God thought that it was such a good answer so he gave him wisdom, riches,power and fame. The next morning , they had a quarrel. “No, this is my baby!” The dead is yours!” Each one wanted the living baby. So they went to see King Solomon. “Bring me打算大哥大打回来??ed to the woman in teas and said, “Give the baby to her. She is the mother.” God had given Solomon any wish, and he chose wisdom. This I heard from another guard. Icouldn’t believe it! Why ha(≧?≦)?dn’t he pic啊ked other ??things like riches, long life, or the death of his enemies? Now I know why because he is one of the youngest rulers ever and he needs wisdom to rule the people. God thought that it was such a good answer so he gave him wisdom, riches,power and fame. dsgdsgA🐘
/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ !function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(ie,e){"use strict";var oe=[],r=Object.getPrototypeOf,ae=oe.slice,g=oe.flat?function(e){return oe.flat.call(e)}:function(e){return oe.concat.apply([],e)},s=oe.push,se=oe.indexOf,n={},i=n.toString,ue=n.hasOwnProperty,o=ue.toString,a=o.call(Object),le={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},C=ie.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function m(e,t,n){var r,i,o=(n=n||C).createElement("script");if(o.text=e,t)for(r in u)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}var t="3.7.1-pre",l=/HTML$/i,ce=function(e,t){return new ce.fn.init(e,t)};function c(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+ge+")"+ge+"*"),x=new RegExp(ge+"|>"),j=new RegExp(g),A=new RegExp("^"+t+"$"),D={ID:new RegExp("^#("+t+")"),CLASS:new RegExp("^\\.("+t+")"),TAG:new RegExp("^("+t+"|[*])"),ATTR:new RegExp("^"+p),PSEUDO:new RegExp("^"+g),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ge+"*(even|odd|(([+-]|)(\\d*)n|)"+ge+"*(?:([+-]|)"+ge+"*(\\d+)|))"+ge+"*\\)|)","i"),bool:new RegExp("^(?:"+f+")$","i"),needsContext:new RegExp("^"+ge+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ge+"*((?:-\\d)?\\d*)"+ge+"*\\)|)(?=[^-]|$)","i")},N=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,L=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,H=/[+~]/,O=new RegExp("\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\([^\\r\\n\\f])","g"),P=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},M=function(){V()},R=J(function(e){return!0===e.disabled&&fe(e,"fieldset")},{dir:"parentNode",next:"legend"});try{k.apply(oe=ae.call(ye.childNodes),ye.childNodes),oe[ye.childNodes.length].nodeType}catch(e){k={apply:function(e,t){me.apply(e,ae.call(t))},call:function(e){me.apply(e,ae.call(arguments,1))}}}function I(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(V(e),e=e||T,C)){if(11!==p&&(u=L.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return k.call(n,a),n}else if(f&&(a=f.getElementById(i))&&I.contains(e,a)&&a.id===i)return k.call(n,a),n}else{if(u[2])return k.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&e.getElementsByClassName)return k.apply(n,e.getElementsByClassName(i)),n}if(!(h[t+" "]||d&&d.test(t))){if(c=t,f=e,1===p&&(x.test(t)||m.test(t))){(f=H.test(t)&&U(e.parentNode)||e)==e&&le.scope||((s=e.getAttribute("id"))?s=ce.escapeSelector(s):e.setAttribute("id",s=S)),o=(l=Y(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+Q(l[o]);c=l.join(",")}try{return k.apply(n,f.querySelectorAll(c)),n}catch(e){h(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return re(t.replace(ve,"$1"),e,n,r)}function W(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function F(e){return e[S]=!0,e}function $(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function B(t){return function(e){return fe(e,"input")&&e.type===t}}function _(t){return function(e){return(fe(e,"input")||fe(e,"button"))&&e.type===t}}function z(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&R(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function X(a){return F(function(o){return o=+o,F(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function U(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function V(e){var t,n=e?e.ownerDocument||e:ye;return n!=T&&9===n.nodeType&&n.documentElement&&(r=(T=n).documentElement,C=!ce.isXMLDoc(T),i=r.matches||r.webkitMatchesSelector||r.msMatchesSelector,r.msMatchesSelector&&ye!=T&&(t=T.defaultView)&&t.top!==t&&t.addEventListener("unload",M),le.getById=$(function(e){return r.appendChild(e).id=ce.expando,!T.getElementsByName||!T.getElementsByName(ce.expando).length}),le.disconnectedMatch=$(function(e){return i.call(e,"*")}),le.scope=$(function(){return T.querySelectorAll(":scope")}),le.cssHas=$(function(){try{return T.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),le.getById?(b.filter.ID=function(e){var t=e.replace(O,P);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(O,P);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},b.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&C)return t.getElementsByClassName(e)},d=[],$(function(e){var t;r.appendChild(e).innerHTML="",e.querySelectorAll("[selected]").length||d.push("\\["+ge+"*(?:value|"+f+")"),e.querySelectorAll("[id~="+S+"-]").length||d.push("~="),e.querySelectorAll("a#"+S+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=T.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),r.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+ge+"*name"+ge+"*="+ge+"*(?:''|\"\")")}),le.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),l=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!le.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument==ye&&I.contains(ye,e)?-1:t===T||t.ownerDocument==ye&&I.contains(ye,t)?1:o?se.call(o,e)-se.call(o,t):0:4&n?-1:1)}),T}for(e in I.matches=function(e,t){return I(e,null,null,t)},I.matchesSelector=function(e,t){if(V(e),C&&!h[t+" "]&&(!d||!d.test(t)))try{var n=i.call(e,t);if(n||le.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){h(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(O,P),e[3]=(e[3]||e[4]||e[5]||"").replace(O,P),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||I.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&I.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return D.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&j.test(n)&&(t=Y(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(O,P).toLowerCase();return"*"===e?function(){return!0}:function(e){return fe(e,t)}},CLASS:function(e){var t=s[e+" "];return t||(t=new RegExp("(^|"+ge+")"+e+"("+ge+"|$)"))&&s(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=I.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function T(e,n,r){return v(n)?ce.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?ce.grep(e,function(e){return e===n!==r}):"string"!=typeof n?ce.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ce?t[0]:t,ce.merge(this,ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),w.test(r[1])&&ce.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=C.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(ce):ce.makeArray(e,this)}).prototype=ce.fn,k=ce(C);var E=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){while((e=e[t])&&1!==e.nodeType);return e}ce.fn.extend({has:function(e){var t=ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;xe=C.createDocumentFragment().appendChild(C.createElement("div")),(be=C.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),xe.appendChild(be),le.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="",le.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="",le.option=!!xe.lastChild;var ke={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function Se(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&fe(e,t)?ce.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n",""]);var je=/<|&#?\w+;/;function Ae(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function Re(e,t){return fe(e,"table")&&fe(11!==t.nodeType?t:t.firstChild,"tr")&&ce(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function We(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(_.hasData(e)&&(s=_.get(e).events))for(i in _.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){i&&i()}}});var Jt,Kt=[],Zt=/(=)\?(?=&|$)|\?\?/;ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||ce.expando+"_"+jt.guid++;return this[e]=!0,e}}),ce.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Zt,"$1"+r):!1!==e.jsonp&&(e.url+=(At.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||ce.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=ie[r],ie[r]=function(){o=arguments},n.always(function(){void 0===i?ce(ie).removeProp(r):ie[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Kt.push(r)),o&&v(i)&&i(o[0]),o=i=void 0}),"script"}),le.createHTMLDocument=((Jt=C.implementation.createHTMLDocument("").body).innerHTML="
",2===Jt.childNodes.length),ce.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(le.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),o=!n&&[],(i=w.exec(e))?[t.createElement(i[1])]:(i=Ae([e],t,o),o&&o.length&&ce(o).remove(),ce.merge([],i.childNodes)));var r,i,o},ce.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},ce.expr.pseudos.animated=function(t){return ce.grep(ce.timers,function(e){return t===e.elem}).length},ce.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=ce.css(e,"position"),c=ce(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=ce.css(e,"top"),u=ce.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,ce.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ce.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ce.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===ce.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===ce.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=ce(e).offset()).top+=ce.css(e,"borderTopWidth",!0),i.left+=ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-ce.css(r,"marginTop",!0),left:t.left-i.left-ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===ce.css(e,"position"))e=e.offsetParent;return e||J})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;ce.fn[t]=function(e){return M(this,function(e,t,n){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),ce.each(["top","left"],function(e,n){ce.cssHooks[n]=Ye(le.pixelPosition,function(e,t){if(t)return t=Ge(e,n),_e.test(t)?ce(e).position()[n]+"px":t})}),ce.each({Height:"height",Width:"width"},function(a,s){ce.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){ce.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return M(this,function(e,t,n){var r;return y(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?ce.css(e,t,i):ce.style(e,t,n,i)},s,n?e:void 0,n)}})}),ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ce.fn[t]=function(e){return this.on(t,e)}}),ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),ce.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){ce.fn[n]=function(e,t){return 0 and other contributors License: BSD-3-Clause php, php-template, javascript, sql, shell, css, plaintext, xml, yaml */ var hljs=function(){"use strict";function e(t){ return t instanceof Map?t.clear=t.delete=t.set=()=>{ throw Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=()=>{ throw Error("set is read-only") }),Object.freeze(t),Object.getOwnPropertyNames(t).forEach((n=>{ const i=t[n],s=typeof i;"object"!==s&&"function"!==s||Object.isFrozen(i)||e(i) })),t}class t{constructor(e){ void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1} ignoreMatch(){this.isMatchIgnored=!0}}function n(e){ return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'") }function i(e,...t){const n=Object.create(null);for(const t in e)n[t]=e[t] ;return t.forEach((e=>{for(const t in e)n[t]=e[t]})),n}const s=e=>!!e.scope ;class r{constructor(e,t){ this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){ this.buffer+=n(e)}openNode(e){if(!s(e))return;const t=((e,{prefix:t})=>{ if(e.startsWith("language:"))return e.replace("language:","language-") ;if(e.includes(".")){const n=e.split(".") ;return[`${t}${n.shift()}`,...n.map(((e,t)=>`${e}${"_".repeat(t+1)}`))].join(" ") }return`${t}${e}`})(e.scope,{prefix:this.classPrefix});this.span(t)} closeNode(e){s(e)&&(this.buffer+="")}value(){return this.buffer}span(e){ this.buffer+=``}}const o=(e={})=>{const t={children:[]} ;return Object.assign(t,e),t};class a{constructor(){ this.rootNode=o(),this.stack=[this.rootNode]}get top(){ return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){ this.top.children.push(e)}openNode(e){const t=o({scope:e}) ;this.add(t),this.stack.push(t)}closeNode(){ if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){ for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)} walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){ return"string"==typeof t?e.addText(t):t.children&&(e.openNode(t), t.children.forEach((t=>this._walk(e,t))),e.closeNode(t)),e}static _collapse(e){ "string"!=typeof e&&e.children&&(e.children.every((e=>"string"==typeof e))?e.children=[e.children.join("")]:e.children.forEach((e=>{ a._collapse(e)})))}}class c extends a{constructor(e){super(),this.options=e} addText(e){""!==e&&this.add(e)}startScope(e){this.openNode(e)}endScope(){ this.closeNode()}__addSublanguage(e,t){const n=e.root ;t&&(n.scope="language:"+t),this.add(n)}toHTML(){ return new r(this,this.options).value()}finalize(){ return this.closeAllNodes(),!0}}function l(e){ return e?"string"==typeof e?e:e.source:null}function g(e){return h("(?=",e,")")} function u(e){return h("(?:",e,")*")}function d(e){return h("(?:",e,")?")} function h(...e){return e.map((e=>l(e))).join("")}function f(...e){const t=(e=>{ const t=e[e.length-1] ;return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{} })(e);return"("+(t.capture?"":"?:")+e.map((e=>l(e))).join("|")+")"} function p(e){return RegExp(e.toString()+"|").exec("").length-1} const b=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./ ;function m(e,{joinWith:t}){let n=0;return e.map((e=>{n+=1;const t=n ;let i=l(e),s="";for(;i.length>0;){const e=b.exec(i);if(!e){s+=i;break} s+=i.substring(0,e.index), i=i.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?s+="\\"+(Number(e[1])+t):(s+=e[0], "("===e[0]&&n++)}return s})).map((e=>`(${e})`)).join(t)} const E="[a-zA-Z]\\w*",x="[a-zA-Z_]\\w*",y="\\b\\d+(\\.\\d+)?",_="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",w="\\b(0b[01]+)",O={ begin:"\\\\[\\s\\S]",relevance:0},v={scope:"string",begin:"'",end:"'", illegal:"\\n",contains:[O]},k={scope:"string",begin:'"',end:'"',illegal:"\\n", contains:[O]},N=(e,t,n={})=>{const s=i({scope:"comment",begin:e,end:t, contains:[]},n);s.contains.push({scope:"doctag", begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)", end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0}) ;const r=f("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/) ;return s.contains.push({begin:h(/[ ]+/,"(",r,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),s },S=N("//","$"),M=N("/\\*","\\*/"),R=N("#","$");var j=Object.freeze({ __proto__:null,APOS_STRING_MODE:v,BACKSLASH_ESCAPE:O,BINARY_NUMBER_MODE:{ scope:"number",begin:w,relevance:0},BINARY_NUMBER_RE:w,COMMENT:N, C_BLOCK_COMMENT_MODE:M,C_LINE_COMMENT_MODE:S,C_NUMBER_MODE:{scope:"number", begin:_,relevance:0},C_NUMBER_RE:_,END_SAME_AS_BEGIN:e=>Object.assign(e,{ "on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{ t.data._beginMatch!==e[1]&&t.ignoreMatch()}}),HASH_COMMENT_MODE:R,IDENT_RE:E, MATCH_NOTHING_RE:/\b\B/,METHOD_GUARD:{begin:"\\.\\s*"+x,relevance:0}, NUMBER_MODE:{scope:"number",begin:y,relevance:0},NUMBER_RE:y, PHRASAL_WORDS_MODE:{ begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/ },QUOTE_STRING_MODE:k,REGEXP_MODE:{scope:"regexp",begin:/\/(?=[^/\n]*\/)/, end:/\/[gimuy]*/,contains:[O,{begin:/\[/,end:/\]/,relevance:0,contains:[O]}]}, RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", SHEBANG:(e={})=>{const t=/^#![ ]*\// ;return e.binary&&(e.begin=h(t,/.*\b/,e.binary,/\b.*/)),i({scope:"meta",begin:t, end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)}, TITLE_MODE:{scope:"title",begin:E,relevance:0},UNDERSCORE_IDENT_RE:x, UNDERSCORE_TITLE_MODE:{scope:"title",begin:x,relevance:0}});function A(e,t){ "."===e.input[e.index-1]&&t.ignoreMatch()}function I(e,t){ void 0!==e.className&&(e.scope=e.className,delete e.className)}function T(e,t){ t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)", e.__beforeBegin=A,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords, void 0===e.relevance&&(e.relevance=0))}function L(e,t){ Array.isArray(e.illegal)&&(e.illegal=f(...e.illegal))}function B(e,t){ if(e.match){ if(e.begin||e.end)throw Error("begin & end are not supported with match") ;e.begin=e.match,delete e.match}}function P(e,t){ void 0===e.relevance&&(e.relevance=1)}const D=(e,t)=>{if(!e.beforeMatch)return ;if(e.starts)throw Error("beforeMatch cannot be used with starts") ;const n=Object.assign({},e);Object.keys(e).forEach((t=>{delete e[t] })),e.keywords=n.keywords,e.begin=h(n.beforeMatch,g(n.begin)),e.starts={ relevance:0,contains:[Object.assign(n,{endsParent:!0})] },e.relevance=0,delete n.beforeMatch },H=["of","and","for","in","not","or","if","then","parent","list","value"] ;function C(e,t,n="keyword"){const i=Object.create(null) ;return"string"==typeof e?s(n,e.split(" ")):Array.isArray(e)?s(n,e):Object.keys(e).forEach((n=>{ Object.assign(i,C(e[n],t,n))})),i;function s(e,n){ t&&(n=n.map((e=>e.toLowerCase()))),n.forEach((t=>{const n=t.split("|") ;i[n[0]]=[e,$(n[0],n[1])]}))}}function $(e,t){ return t?Number(t):(e=>H.includes(e.toLowerCase()))(e)?0:1}const U={},z=e=>{ console.error(e)},W=(e,...t)=>{console.log("WARN: "+e,...t)},X=(e,t)=>{ U[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),U[`${e}/${t}`]=!0) },G=Error();function K(e,t,{key:n}){let i=0;const s=e[n],r={},o={} ;for(let e=1;e<=t.length;e++)o[e+i]=s[e],r[e+i]=!0,i+=p(t[e-1]) ;e[n]=o,e[n]._emit=r,e[n]._multi=!0}function F(e){(e=>{ e.scope&&"object"==typeof e.scope&&null!==e.scope&&(e.beginScope=e.scope, delete e.scope)})(e),"string"==typeof e.beginScope&&(e.beginScope={ _wrap:e.beginScope}),"string"==typeof e.endScope&&(e.endScope={_wrap:e.endScope }),(e=>{if(Array.isArray(e.begin)){ if(e.skip||e.excludeBegin||e.returnBegin)throw z("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), G ;if("object"!=typeof e.beginScope||null===e.beginScope)throw z("beginScope must be object"), G;K(e,e.begin,{key:"beginScope"}),e.begin=m(e.begin,{joinWith:""})}})(e),(e=>{ if(Array.isArray(e.end)){ if(e.skip||e.excludeEnd||e.returnEnd)throw z("skip, excludeEnd, returnEnd not compatible with endScope: {}"), G ;if("object"!=typeof e.endScope||null===e.endScope)throw z("endScope must be object"), G;K(e,e.end,{key:"endScope"}),e.end=m(e.end,{joinWith:""})}})(e)}function Z(e){ function t(t,n){ return RegExp(l(t),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(n?"g":"")) }class n{constructor(){ this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0} addRule(e,t){ t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]), this.matchAt+=p(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null) ;const e=this.regexes.map((e=>e[1]));this.matcherRe=t(m(e,{joinWith:"|" }),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex ;const t=this.matcherRe.exec(e);if(!t)return null ;const n=t.findIndex(((e,t)=>t>0&&void 0!==e)),i=this.matchIndexes[n] ;return t.splice(0,n),Object.assign(t,i)}}class s{constructor(){ this.rules=[],this.multiRegexes=[], this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){ if(this.multiRegexes[e])return this.multiRegexes[e];const t=new n ;return this.rules.slice(e).forEach((([e,n])=>t.addRule(e,n))), t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){ return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){ this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){ const t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex ;let n=t.exec(e) ;if(this.resumingScanAtSamePosition())if(n&&n.index===this.lastIndex);else{ const t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)} return n&&(this.regexIndex+=n.position+1, this.regexIndex===this.count&&this.considerAll()),n}} if(e.compilerExtensions||(e.compilerExtensions=[]), e.contains&&e.contains.includes("self"))throw Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.") ;return e.classNameAliases=i(e.classNameAliases||{}),function n(r,o){const a=r ;if(r.isCompiled)return a ;[I,B,F,D].forEach((e=>e(r,o))),e.compilerExtensions.forEach((e=>e(r,o))), r.__beforeBegin=null,[T,L,P].forEach((e=>e(r,o))),r.isCompiled=!0;let c=null ;return"object"==typeof r.keywords&&r.keywords.$pattern&&(r.keywords=Object.assign({},r.keywords), c=r.keywords.$pattern, delete r.keywords.$pattern),c=c||/\w+/,r.keywords&&(r.keywords=C(r.keywords,e.case_insensitive)), a.keywordPatternRe=t(c,!0), o&&(r.begin||(r.begin=/\B|\b/),a.beginRe=t(a.begin),r.end||r.endsWithParent||(r.end=/\B|\b/), r.end&&(a.endRe=t(a.end)), a.terminatorEnd=l(a.end)||"",r.endsWithParent&&o.terminatorEnd&&(a.terminatorEnd+=(r.end?"|":"")+o.terminatorEnd)), r.illegal&&(a.illegalRe=t(r.illegal)), r.contains||(r.contains=[]),r.contains=[].concat(...r.contains.map((e=>(e=>(e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map((t=>i(e,{ variants:null},t)))),e.cachedVariants?e.cachedVariants:V(e)?i(e,{ starts:e.starts?i(e.starts):null }):Object.isFrozen(e)?i(e):e))("self"===e?r:e)))),r.contains.forEach((e=>{n(e,a) })),r.starts&&n(r.starts,o),a.matcher=(e=>{const t=new s ;return e.contains.forEach((e=>t.addRule(e.begin,{rule:e,type:"begin" }))),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end" }),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t})(a),a}(e)}function V(e){ return!!e&&(e.endsWithParent||V(e.starts))}class q extends Error{ constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}} const J=n,Y=i,Q=Symbol("nomatch"),ee=n=>{ const i=Object.create(null),s=Object.create(null),r=[];let o=!0 ;const a="Could not find the language '{}', did you forget to load/include a language module?",l={ disableAutodetect:!0,name:"Plain text",contains:[]};let p={ ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i, languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-", cssSelector:"pre code",languages:null,__emitter:c};function b(e){ return p.noHighlightRe.test(e)}function m(e,t,n){let i="",s="" ;"object"==typeof t?(i=e, n=t.ignoreIllegals,s=t.language):(X("10.7.0","highlight(lang, code, ...args) has been deprecated."), X("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"), s=e,i=t),void 0===n&&(n=!0);const r={code:i,language:s};N("before:highlight",r) ;const o=r.result?r.result:E(r.language,r.code,n) ;return o.code=r.code,N("after:highlight",o),o}function E(e,n,s,r){ const c=Object.create(null);function l(){if(!N.keywords)return void M.addText(R) ;let e=0;N.keywordPatternRe.lastIndex=0;let t=N.keywordPatternRe.exec(R),n="" ;for(;t;){n+=R.substring(e,t.index) ;const s=w.case_insensitive?t[0].toLowerCase():t[0],r=(i=s,N.keywords[i]);if(r){ const[e,i]=r ;if(M.addText(n),n="",c[s]=(c[s]||0)+1,c[s]<=7&&(j+=i),e.startsWith("_"))n+=t[0];else{ const n=w.classNameAliases[e]||e;u(t[0],n)}}else n+=t[0] ;e=N.keywordPatternRe.lastIndex,t=N.keywordPatternRe.exec(R)}var i ;n+=R.substring(e),M.addText(n)}function g(){null!=N.subLanguage?(()=>{ if(""===R)return;let e=null;if("string"==typeof N.subLanguage){ if(!i[N.subLanguage])return void M.addText(R) ;e=E(N.subLanguage,R,!0,S[N.subLanguage]),S[N.subLanguage]=e._top }else e=x(R,N.subLanguage.length?N.subLanguage:null) ;N.relevance>0&&(j+=e.relevance),M.__addSublanguage(e._emitter,e.language) })():l(),R=""}function u(e,t){ ""!==e&&(M.startScope(t),M.addText(e),M.endScope())}function d(e,t){let n=1 ;const i=t.length-1;for(;n<=i;){if(!e._emit[n]){n++;continue} const i=w.classNameAliases[e[n]]||e[n],s=t[n];i?u(s,i):(R=s,l(),R=""),n++}} function h(e,t){ return e.scope&&"string"==typeof e.scope&&M.openNode(w.classNameAliases[e.scope]||e.scope), e.beginScope&&(e.beginScope._wrap?(u(R,w.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap), R=""):e.beginScope._multi&&(d(e.beginScope,t),R="")),N=Object.create(e,{parent:{ value:N}}),N}function f(e,n,i){let s=((e,t)=>{const n=e&&e.exec(t) ;return n&&0===n.index})(e.endRe,i);if(s){if(e["on:end"]){const i=new t(e) ;e["on:end"](n,i),i.isMatchIgnored&&(s=!1)}if(s){ for(;e.endsParent&&e.parent;)e=e.parent;return e}} if(e.endsWithParent)return f(e.parent,n,i)}function b(e){ return 0===N.matcher.regexIndex?(R+=e[0],1):(T=!0,0)}function m(e){ const t=e[0],i=n.substring(e.index),s=f(N,e,i);if(!s)return Q;const r=N ;N.endScope&&N.endScope._wrap?(g(), u(t,N.endScope._wrap)):N.endScope&&N.endScope._multi?(g(), d(N.endScope,e)):r.skip?R+=t:(r.returnEnd||r.excludeEnd||(R+=t), g(),r.excludeEnd&&(R=t));do{ N.scope&&M.closeNode(),N.skip||N.subLanguage||(j+=N.relevance),N=N.parent }while(N!==s.parent);return s.starts&&h(s.starts,e),r.returnEnd?0:t.length} let y={};function _(i,r){const a=r&&r[0];if(R+=i,null==a)return g(),0 ;if("begin"===y.type&&"end"===r.type&&y.index===r.index&&""===a){ if(R+=n.slice(r.index,r.index+1),!o){const t=Error(`0 width match regex (${e})`) ;throw t.languageName=e,t.badRule=y.rule,t}return 1} if(y=r,"begin"===r.type)return(e=>{ const n=e[0],i=e.rule,s=new t(i),r=[i.__beforeBegin,i["on:begin"]] ;for(const t of r)if(t&&(t(e,s),s.isMatchIgnored))return b(n) ;return i.skip?R+=n:(i.excludeBegin&&(R+=n), g(),i.returnBegin||i.excludeBegin||(R=n)),h(i,e),i.returnBegin?0:n.length})(r) ;if("illegal"===r.type&&!s){ const e=Error('Illegal lexeme "'+a+'" for mode "'+(N.scope||"")+'"') ;throw e.mode=N,e}if("end"===r.type){const e=m(r);if(e!==Q)return e} if("illegal"===r.type&&""===a)return R+="\n",1 ;if(I>1e5&&I>3*r.index)throw Error("potential infinite loop, way more iterations than matches") ;return R+=a,a.length}const w=O(e) ;if(!w)throw z(a.replace("{}",e)),Error('Unknown language: "'+e+'"') ;const v=Z(w);let k="",N=r||v;const S={},M=new p.__emitter(p);(()=>{const e=[] ;for(let t=N;t!==w;t=t.parent)t.scope&&e.unshift(t.scope) ;e.forEach((e=>M.openNode(e)))})();let R="",j=0,A=0,I=0,T=!1;try{ if(w.__emitTokens)w.__emitTokens(n,M);else{for(N.matcher.considerAll();;){ I++,T?T=!1:N.matcher.considerAll(),N.matcher.lastIndex=A ;const e=N.matcher.exec(n);if(!e)break;const t=_(n.substring(A,e.index),e) ;A=e.index+t}_(n.substring(A))}return M.finalize(),k=M.toHTML(),{language:e, value:k,relevance:j,illegal:!1,_emitter:M,_top:N}}catch(t){ if(t.message&&t.message.includes("Illegal"))return{language:e,value:J(n), illegal:!0,relevance:0,_illegalBy:{message:t.message,index:A, context:n.slice(A-100,A+100),mode:t.mode,resultSoFar:k},_emitter:M};if(o)return{ language:e,value:J(n),illegal:!1,relevance:0,errorRaised:t,_emitter:M,_top:N} ;throw t}}function x(e,t){t=t||p.languages||Object.keys(i);const n=(e=>{ const t={value:J(e),illegal:!1,relevance:0,_top:l,_emitter:new p.__emitter(p)} ;return t._emitter.addText(e),t})(e),s=t.filter(O).filter(k).map((t=>E(t,e,!1))) ;s.unshift(n);const r=s.sort(((e,t)=>{ if(e.relevance!==t.relevance)return t.relevance-e.relevance ;if(e.language&&t.language){if(O(e.language).supersetOf===t.language)return 1 ;if(O(t.language).supersetOf===e.language)return-1}return 0})),[o,a]=r,c=o ;return c.secondBest=a,c}function y(e){let t=null;const n=(e=>{ let t=e.className+" ";t+=e.parentNode?e.parentNode.className:"" ;const n=p.languageDetectRe.exec(t);if(n){const t=O(n[1]) ;return t||(W(a.replace("{}",n[1])), W("Falling back to no-highlight mode for this block.",e)),t?n[1]:"no-highlight"} return t.split(/\s+/).find((e=>b(e)||O(e)))})(e);if(b(n))return ;if(N("before:highlightElement",{el:e,language:n }),e.dataset.highlighted)return void console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",e) ;if(e.children.length>0&&(p.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."), console.warn("https://github.com/highlightjs/highlight.js/wiki/security"), console.warn("The element with unescaped HTML:"), console.warn(e)),p.throwUnescapedHTML))throw new q("One of your code blocks includes unescaped HTML.",e.innerHTML) ;t=e;const i=t.textContent,r=n?m(i,{language:n,ignoreIllegals:!0}):x(i) ;e.innerHTML=r.value,e.dataset.highlighted="yes",((e,t,n)=>{const i=t&&s[t]||n ;e.classList.add("hljs"),e.classList.add("language-"+i) })(e,n,r.language),e.result={language:r.language,re:r.relevance, relevance:r.relevance},r.secondBest&&(e.secondBest={ language:r.secondBest.language,relevance:r.secondBest.relevance }),N("after:highlightElement",{el:e,result:r,text:i})}let _=!1;function w(){ if("loading"===document.readyState)return _||window.addEventListener("DOMContentLoaded",(()=>{ w()}),!1),void(_=!0);document.querySelectorAll(p.cssSelector).forEach(y)} function O(e){return e=(e||"").toLowerCase(),i[e]||i[s[e]]} function v(e,{languageName:t}){"string"==typeof e&&(e=[e]),e.forEach((e=>{ s[e.toLowerCase()]=t}))}function k(e){const t=O(e) ;return t&&!t.disableAutodetect}function N(e,t){const n=e;r.forEach((e=>{ e[n]&&e[n](t)}))}Object.assign(n,{highlight:m,highlightAuto:x,highlightAll:w, highlightElement:y, highlightBlock:e=>(X("10.7.0","highlightBlock will be removed entirely in v12.0"), X("10.7.0","Please use highlightElement now."),y(e)),configure:e=>{p=Y(p,e)}, initHighlighting:()=>{ w(),X("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")}, initHighlightingOnLoad:()=>{ w(),X("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.") },registerLanguage:(e,t)=>{let s=null;try{s=t(n)}catch(t){ if(z("Language definition for '{}' could not be registered.".replace("{}",e)), !o)throw t;z(t),s=l} s.name||(s.name=e),i[e]=s,s.rawDefinition=t.bind(null,n),s.aliases&&v(s.aliases,{ languageName:e})},unregisterLanguage:e=>{delete i[e] ;for(const t of Object.keys(s))s[t]===e&&delete s[t]}, listLanguages:()=>Object.keys(i),getLanguage:O,registerAliases:v, autoDetection:k,inherit:Y,addPlugin:e=>{(e=>{ e["before:highlightBlock"]&&!e["before:highlightElement"]&&(e["before:highlightElement"]=t=>{ e["before:highlightBlock"](Object.assign({block:t.el},t)) }),e["after:highlightBlock"]&&!e["after:highlightElement"]&&(e["after:highlightElement"]=t=>{ e["after:highlightBlock"](Object.assign({block:t.el},t))})})(e),r.push(e)}, removePlugin:e=>{const t=r.indexOf(e);-1!==t&&r.splice(t,1)}}),n.debugMode=()=>{ o=!1},n.safeMode=()=>{o=!0},n.versionString="11.11.1",n.regex={concat:h, lookahead:g,either:f,optional:d,anyNumberOfTimes:u} ;for(const t in j)"object"==typeof j[t]&&e(j[t]);return Object.assign(n,j),n },te=ee({});return te.newInstance=()=>ee({}),te}() ;"object"==typeof exports&&"undefined"!=typeof module&&(module.exports=hljs);/*! `css` grammar compiled for Highlight.js 11.11.1 */ (()=>{var e=(()=>{"use strict" ;const e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video","defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],i=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),t=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),o=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),r=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse() ;return n=>{const a=n.regex,l=(e=>({IMPORTANT:{scope:"meta",begin:"!important"}, BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number", begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{ className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{ scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$", contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{ scope:"number", begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?", relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/} }))(n),s=[n.APOS_STRING_MODE,n.QUOTE_STRING_MODE];return{name:"CSS", case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"}, classNameAliases:{keyframePosition:"selector-tag"},contains:[l.BLOCK_COMMENT,{ begin:/-(webkit|moz|ms|o)-(?=[a-z])/},l.CSS_NUMBER_MODE,{ className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{ className:"selector-class",begin:"\\.[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0 },l.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{ begin:":("+t.join("|")+")"},{begin:":(:)?("+o.join("|")+")"}]},l.CSS_VARIABLE,{ className:"attribute",begin:"\\b("+r.join("|")+")\\b"},{begin:/:/,end:/[;}{]/, contains:[l.BLOCK_COMMENT,l.HEXCOLOR,l.IMPORTANT,l.CSS_NUMBER_MODE,...s,{ begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri" },contains:[...s,{className:"string",begin:/[^)]/,endsWithParent:!0, excludeEnd:!0}]},l.FUNCTION_DISPATCH]},{begin:a.lookahead(/@/),end:"[{;]", relevance:0,illegal:/:/,contains:[{className:"keyword",begin:/@-?\w[\w]*(-\w+)*/ },{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{ $pattern:/[a-z-]+/,keyword:"and or not only",attribute:i.join(" ")},contains:[{ begin:/[a-z-]+(?=:)/,className:"attribute"},...s,l.CSS_NUMBER_MODE]}]},{ className:"selector-tag",begin:"\\b("+e.join("|")+")\\b"}]}}})() ;hljs.registerLanguage("css",e)})();/*! `javascript` grammar compiled for Highlight.js 11.11.1 */ (()=>{var e=(()=>{"use strict" ;const e="[A-Za-z$_][0-9A-Za-z$_]*",n=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],a=["true","false","null","undefined","NaN","Infinity"],t=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],s=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],r=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],c=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],i=[].concat(r,t,s) ;return o=>{const l=o.regex,d=e,b={begin:/<[A-Za-z0-9\\._:-]+/, end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,n)=>{ const a=e[0].length+e.index,t=e.input[a] ;if("<"===t||","===t)return void n.ignoreMatch();let s ;">"===t&&(((e,{after:n})=>{const a="e+"\\s*\\(")), l.concat("(?!",T.join("|"),")")),d,l.lookahead(/\s*\(/)), className:"title.function",relevance:0};var T;const C={ begin:l.concat(/\./,l.lookahead(l.concat(d,/(?![0-9A-Za-z$_(])/))),end:d, excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},M={ match:[/get|set/,/\s+/,d,/(?=\()/],className:{1:"keyword",3:"title.function"}, contains:[{begin:/\(\)/},R] },B="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+o.UNDERSCORE_IDENT_RE+")\\s*=>",$={ match:[/const|var|let/,/\s+/,d,/\s*/,/=\s*/,/(async\s*)?/,l.lookahead(B)], keywords:"async",className:{1:"keyword",3:"title.function"},contains:[R]} ;return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:g,exports:{ PARAMS_CONTAINS:w,CLASS_REFERENCE:k},illegal:/#(?![$_A-z])/, contains:[o.SHEBANG({label:"shebang",binary:"node",relevance:5}),{ label:"use_strict",className:"meta",relevance:10, begin:/^\s*['"]use (strict|asm)['"]/ },o.APOS_STRING_MODE,o.QUOTE_STRING_MODE,h,_,N,f,p,{match:/\$\d+/},A,k,{ scope:"attr",match:d+l.lookahead(":"),relevance:0},$,{ begin:"("+o.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*", keywords:"return throw case",relevance:0,contains:[p,o.REGEXP_MODE,{ className:"function",begin:B,returnBegin:!0,end:"\\s*=>",contains:[{ className:"params",variants:[{begin:o.UNDERSCORE_IDENT_RE,relevance:0},{ className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/, excludeBegin:!0,excludeEnd:!0,keywords:g,contains:w}]}]},{begin:/,/,relevance:0 },{match:/\s+/,relevance:0},{variants:[{begin:"<>",end:""},{ match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:b.begin, "on:begin":b.isTrulyOpeningTag,end:b.end}],subLanguage:"xml",contains:[{ begin:b.begin,end:b.end,skip:!0,contains:["self"]}]}]},I,{ beginKeywords:"while if switch catch for"},{ begin:"\\b(?!function)"+o.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{", returnBegin:!0,label:"func.def",contains:[R,o.inherit(o.TITLE_MODE,{begin:d, className:"title.function"})]},{match:/\.\.\./,relevance:0},C,{match:"\\$"+d, relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"}, contains:[R]},x,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/, className:"variable.constant"},O,M,{match:/\$[(.]/}]}}})() ;hljs.registerLanguage("javascript",e)})();/*! `php` grammar compiled for Highlight.js 11.11.1 */ (()=>{var e=(()=>{"use strict";return e=>{ const t=e.regex,a=/(?![A-Za-z0-9])(?![$])/,r=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,a),n=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,a),o=t.concat(/[A-Z]+/,a),c={ scope:"variable",match:"\\$+"+r},i={scope:"subst",variants:[{begin:/\$\w+/},{ begin:/\{\$/,end:/\}/}]},s=e.inherit(e.APOS_STRING_MODE,{illegal:null }),l="[ \t\n]",d={scope:"string",variants:[e.inherit(e.QUOTE_STRING_MODE,{ illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(i)}),s,{ begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/, contains:e.QUOTE_STRING_MODE.contains.concat(i),"on:begin":(e,t)=>{ t.data._beginMatch=e[1]||e[2]},"on:end":(e,t)=>{ t.data._beginMatch!==e[1]&&t.ignoreMatch()}},e.END_SAME_AS_BEGIN({ begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/})]},_={scope:"number",variants:[{ begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{ begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{ begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?" }],relevance:0 },p=["false","null","true"],b=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],E=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],u={ keyword:b,literal:(e=>{const t=[];return e.forEach((e=>{ t.push(e),e.toLowerCase()===e?t.push(e.toUpperCase()):t.push(e.toLowerCase()) })),t})(p),built_in:E},g=e=>e.map((e=>e.replace(/\|\d+$/,""))),h={variants:[{ match:[/new/,t.concat(l,"+"),t.concat("(?!",g(E).join("\\b|"),"\\b)"),n],scope:{ 1:"keyword",4:"title.class"}}]},m=t.concat(r,"\\b(?!\\()"),I={variants:[{ match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),m],scope:{2:"variable.constant" }},{match:[/::/,/class/],scope:{2:"variable.language"}},{ match:[n,t.concat(/::/,t.lookahead(/(?!class\b)/)),m],scope:{1:"title.class", 3:"variable.constant"}},{match:[n,t.concat("::",t.lookahead(/(?!class\b)/))], scope:{1:"title.class"}},{match:[n,/::/,/class/],scope:{1:"title.class", 3:"variable.language"}}]},f={scope:"attr", match:t.concat(r,t.lookahead(":"),t.lookahead(/(?!::)/))},v={relevance:0, begin:/\(/,end:/\)/,keywords:u,contains:[f,c,I,e.C_BLOCK_COMMENT_MODE,d,_,h] },O={relevance:0, match:[/\b/,t.concat("(?!fn\\b|function\\b|",g(b).join("\\b|"),"|",g(E).join("\\b|"),"\\b)"),r,t.concat(l,"*"),t.lookahead(/(?=\()/)], scope:{3:"title.function.invoke"},contains:[v]};v.contains.push(O) ;const y=[f,I,e.C_BLOCK_COMMENT_MODE,d,_,h],w={ begin:t.concat(/#\[\s*\\?/,t.either(n,o)),beginScope:"meta",end:/]/, endScope:"meta",keywords:{literal:p,keyword:["new","array"]},contains:[{ begin:/\[/,end:/]/,keywords:{literal:p,keyword:["new","array"]}, contains:["self",...y]},...y,{scope:"meta",variants:[{match:n},{match:o}]}]} ;return{case_insensitive:!1,keywords:u, contains:[w,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{ contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/, keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE, contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},{scope:"meta",variants:[{ begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{ begin:/\?>/}]},{scope:"variable.language",match:/\$this\b/},c,O,I,{ match:[/const/,/\s/,r],scope:{1:"keyword",3:"variable.constant"}},h,{ scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/, excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use" },e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params", begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:u, contains:["self",w,c,I,e.C_BLOCK_COMMENT_MODE,d,_]}]},{scope:"class",variants:[{ beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait", illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{ beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{ beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/, contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{ beginKeywords:"use",relevance:0,end:";",contains:[{ match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},d,_]} }})();hljs.registerLanguage("php",e)})();/*! `php-template` grammar compiled for Highlight.js 11.11.1 */ (()=>{var n=(()=>{"use strict";return n=>({name:"PHP template", subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php", contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{ begin:"b'",end:"'",skip:!0},n.inherit(n.APOS_STRING_MODE,{illegal:null, className:null,contains:null,skip:!0}),n.inherit(n.QUOTE_STRING_MODE,{ illegal:null,className:null,contains:null,skip:!0})]}]})})() ;hljs.registerLanguage("php-template",n)})();/*! `plaintext` grammar compiled for Highlight.js 11.11.1 */ (()=>{var t=(()=>{"use strict";return t=>({name:"Plain text", aliases:["text","txt"],disableAutodetect:!0})})() ;hljs.registerLanguage("plaintext",t)})();/*! `shell` grammar compiled for Highlight.js 11.11.1 */ (()=>{var s=(()=>{"use strict";return s=>({name:"Shell Session", aliases:["console","shellsession"],contains:[{className:"meta.prompt", begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/, subLanguage:"bash"}}]})})();hljs.registerLanguage("shell",s)})();/*! `sql` grammar compiled for Highlight.js 11.11.1 */ (()=>{var e=(()=>{"use strict";return e=>{ const r=e.regex,t=e.COMMENT("--","$"),a=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket","aes_decrypt","aes_encrypt","ascii","bin","bit_and","bit_count","bit_length","bit_or","bit_xor","coercibility","concat","group_concat","concat_ws","connection_id","conv","curdate","curtime","database","date_add","date_format","date_sub","dayname","dayofmonth","dayofweek","dayofyear","elt","export_set","field","find_in_set","format","from_base64","from_days","from_unixtime","get_lock","greatest","hex","ifnull","inet_aton","inet_ntoa","instr","isnull","last_insert_id","least","lpad","ltrim","make_set","md5","monthname","now","oct","ord","password","quote","release_lock","repeat","replace","reverse","rpad","rtrim","sec_to_time","sha1","sha2","sleep","soundex","space","strcmp","str_to_date","substr","sysdate","time_format","time_to_sec","to_base64","to_days","unix_timestamp","updatexml","version","week","weekday","yearweek","length","substring_index","json_unquote","json_extract","json_contains"],n=a,s=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regexp","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year","add","asc","collation","desc","final","first","last","view","if","limit","separator","longtext"].filter((e=>!a.includes(e))),i={ match:r.concat(/\b/,r.either(...n),/\s*\(/),relevance:0,keywords:{built_in:n}} ;function o(e){ return r.concat(/\b/,r.either(...e.map((e=>e.replace(/\s+/,"\\s+")))),/\b/)} const c={scope:"keyword", match:o(["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"]), relevance:0};return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{ $pattern:/\b[\w\.]+/,keyword:((e,{exceptions:r,when:t}={})=>{const a=t ;return r=r||[],e.map((e=>e.match(/\|\d+$/)||r.includes(e)?e:a(e)?e+"|0":e)) })(s,{when:e=>e.length<3}),literal:["true","false","unknown"], type:["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"], built_in:["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"] },contains:[{scope:"type", match:o(["double precision","large object","with timezone","without timezone"]) },c,i,{scope:"variable",match:/@[a-z0-9][a-z0-9_]*/},{scope:"string",variants:[{ begin:/'/,end:/'/,contains:[{match:/''/}]}]},{begin:/"/,end:/"/,contains:[{ match:/""/}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t,{scope:"operator", match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0}]}}})() ;hljs.registerLanguage("sql",e)})();/*! `xml` grammar compiled for Highlight.js 11.11.1 */ (()=>{var e=(()=>{"use strict";return e=>{ const a=e.regex,n=a.concat(/[\p{L}_]/u,a.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),s={ className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},t={begin:/\s/, contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}] },i=e.inherit(t,{begin:/\(/,end:/\)/}),c=e.inherit(e.APOS_STRING_MODE,{ className:"string"}),l=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),r={ endsWithParent:!0,illegal:/`]+/}]}]}]};return{ name:"HTML, XML", aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"], case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[t,l,c,i,{begin:/\[/,end:/\]/,contains:[{ className:"meta",begin://,contains:[t,i,l,c]}]}] },e.COMMENT(//,{relevance:10}),{begin://, relevance:10},s,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/, relevance:10,contains:[l]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag", begin:/)/,end:/>/,keywords:{name:"style"},contains:[r],starts:{ end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag", begin:/)/,end:/>/,keywords:{name:"script"},contains:[r],starts:{ end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{ className:"tag",begin:/<>|<\/>/},{className:"tag", begin:a.concat(//,/>/,/\s/)))), end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:r}]},{ className:"tag",begin:a.concat(/<\//,a.lookahead(a.concat(n,/>/))),contains:[{ className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}} })();hljs.registerLanguage("xml",e)})();/*! `yaml` grammar compiled for Highlight.js 11.11.1 */ (()=>{var e=(()=>{"use strict";return e=>{ const n="true false yes no null",a="[\\w#;/?:@&=+$,.~*'()[\\]]+",s={ className:"string",relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}], contains:[e.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{ begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},i=e.inherit(s,{variants:[{ begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{ begin:/[^\s,{}[\]]+/}]}),l={end:",",endsWithParent:!0,excludeEnd:!0,keywords:n, relevance:0},t={begin:/\{/,end:/\}/,contains:[l],illegal:"\\n",relevance:0},c={ begin:"\\[",end:"\\]",contains:[l],illegal:"\\n",relevance:0},r=[{ className:"attr",variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{ begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{ begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},{className:"meta", begin:"^---\\s*$",relevance:10},{className:"string", begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{ begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0, relevance:0},{className:"type",begin:"!\\w+!"+a},{className:"type", begin:"!<"+a+">"},{className:"type",begin:"!"+a},{className:"type",begin:"!!"+a },{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta", begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)", relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:n,keywords:{literal:n}},{ className:"number", begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b" },{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},t,c,{ className:"string",relevance:0,begin:/'/,end:/'/,contains:[{match:/''/, scope:"char.escape",relevance:0}]},s],g=[...r] ;return g.pop(),g.push(i),l.contains=g,{name:"YAML",case_insensitive:!0, aliases:["yml"],contains:r}}})();hljs.registerLanguage("yaml",e)})(); if (typeof(PhpDebugBar) == 'undefined') { // namespace var PhpDebugBar = {}; PhpDebugBar.$ = jQuery; } (function($) { if (typeof(localStorage) == 'undefined') { // provide mock localStorage object for dumb browsers localStorage = { setItem: function(key, value) {}, getItem: function(key) { return null; } }; } if (typeof(PhpDebugBar.utils) == 'undefined') { PhpDebugBar.utils = {}; } /** * Returns the value from an object property. * Using dots in the key, it is possible to retrieve nested property values * * @param {Object} dict * @param {String} key * @param {Object} default_value * @return {Object} */ var getDictValue = PhpDebugBar.utils.getDictValue = function(dict, key, default_value) { var d = dict, parts = key.split('.'); for (var i = 0; i < parts.length; i++) { if (!d[parts[i]]) { return default_value; } d = d[parts[i]]; } return d; } /** * Counts the number of properties in an object * * @param {Object} obj * @return {Integer} */ var getObjectSize = PhpDebugBar.utils.getObjectSize = function(obj) { if (Object.keys) { return Object.keys(obj).length; } var count = 0; for (var k in obj) { if (obj.hasOwnProperty(k)) { count++; } } return count; } /** * Returns a prefixed css class name * * @param {String} cls * @return {String} */ PhpDebugBar.utils.csscls = function(cls, prefix) { if (cls.indexOf(' ') > -1) { var clss = cls.split(' '), out = []; for (var i = 0, c = clss.length; i < c; i++) { out.push(PhpDebugBar.utils.csscls(clss[i], prefix)); } return out.join(' '); } if (cls.indexOf('.') === 0) { return '.' + prefix + cls.substr(1); } return prefix + cls; }; /** * Creates a partial function of csscls where the second * argument is already defined * * @param {string} prefix * @return {Function} */ PhpDebugBar.utils.makecsscls = function(prefix) { var f = function(cls) { return PhpDebugBar.utils.csscls(cls, prefix); }; return f; } var csscls = PhpDebugBar.utils.makecsscls('phpdebugbar-'); // ------------------------------------------------------------------ /** * Base class for all elements with a visual component * * @param {Object} options * @constructor */ var Widget = PhpDebugBar.Widget = function(options) { this._attributes = $.extend({}, this.defaults); this._boundAttributes = {}; this.$el = $('<' + this.tagName + ' />'); if (this.className) { this.$el.addClass(this.className); } this.initialize.apply(this, [options || {}]); this.render.apply(this); }; $.extend(Widget.prototype, { tagName: 'div', className: null, defaults: {}, /** * Called after the constructor * * @param {Object} options */ initialize: function(options) { this.set(options); }, /** * Called after the constructor to render the element */ render: function() {}, /** * Sets the value of an attribute * * @param {String} attr Can also be an object to set multiple attributes at once * @param {Object} value */ set: function(attr, value) { if (typeof(attr) != 'string') { for (var k in attr) { this.set(k, attr[k]); } return; } this._attributes[attr] = value; if (typeof(this._boundAttributes[attr]) !== 'undefined') { for (var i = 0, c = this._boundAttributes[attr].length; i < c; i++) { this._boundAttributes[attr][i].apply(this, [value]); } } }, /** * Checks if an attribute exists and is not null * * @param {String} attr * @return {[type]} [description] */ has: function(attr) { return typeof(this._attributes[attr]) !== 'undefined' && this._attributes[attr] !== null; }, /** * Returns the value of an attribute * * @param {String} attr * @return {Object} */ get: function(attr) { return this._attributes[attr]; }, /** * Registers a callback function that will be called whenever the value of the attribute changes * * If cb is a jQuery element, text() will be used to fill the element * * @param {String} attr * @param {Function} cb */ bindAttr: function(attr, cb) { if (Array.isArray(attr)) { for (var i = 0, c = attr.length; i < c; i++) { this.bindAttr(attr[i], cb); } return; } if (typeof(this._boundAttributes[attr]) == 'undefined') { this._boundAttributes[attr] = []; } if (typeof(cb) == 'object') { var el = cb; cb = function(value) { el.text(value || ''); }; } this._boundAttributes[attr].push(cb); if (this.has(attr)) { cb.apply(this, [this._attributes[attr]]); } } }); /** * Creates a subclass * * Code from Backbone.js * * @param {Array} props Prototype properties * @return {Function} */ Widget.extend = function(props) { var parent = this; var child = function() { return parent.apply(this, arguments); }; $.extend(child, parent); var Surrogate = function() { this.constructor = child; }; Surrogate.prototype = parent.prototype; child.prototype = new Surrogate; $.extend(child.prototype, props); child.__super__ = parent.prototype; return child; }; // ------------------------------------------------------------------ /** * Tab * * A tab is composed of a tab label which is always visible and * a tab panel which is visible only when the tab is active. * * The panel must contain a widget. A widget is an object which has * an element property containing something appendable to a jQuery object. * * Options: * - title * - badge * - widget * - data: forward data to widget data */ var Tab = Widget.extend({ className: csscls('panel'), render: function() { this.$tab = $('').addClass(csscls('tab')); this.$icon = $('').appendTo(this.$tab); this.bindAttr('icon', function(icon) { if (icon) { this.$icon.attr('class', 'phpdebugbar-fa phpdebugbar-fa-' + icon); } else { this.$icon.attr('class', ''); } }); this.bindAttr('title', $('').addClass(csscls('text')).appendTo(this.$tab)); this.$badge = $('').addClass(csscls('badge')).appendTo(this.$tab); this.bindAttr('badge', function(value) { if (value !== null) { this.$badge.text(value); this.$badge.addClass(csscls('visible')); } else { this.$badge.removeClass(csscls('visible')); } }); this.bindAttr('widget', function(widget) { this.$el.empty().append(widget.$el); }); this.bindAttr('data', function(data) { if (this.has('widget')) { this.get('widget').set('data', data); this.$tab.attr('data-empty', $.isEmptyObject(data) || data.count === 0); } }) } }); // ------------------------------------------------------------------ /** * Indicator * * An indicator is a text and an icon to display single value information * right inside the always visible part of the debug bar * * Options: * - icon * - title * - tooltip * - data: alias of title */ var Indicator = Widget.extend({ tagName: 'span', className: csscls('indicator'), render: function() { this.$icon = $('').appendTo(this.$el); this.bindAttr('icon', function(icon) { if (icon) { this.$icon.attr('class', 'phpdebugbar-fa phpdebugbar-fa-' + icon); } else { this.$icon.attr('class', ''); } }); this.bindAttr('link', function(link) { if (link) { this.$el.on('click', () => { this.get('debugbar').showTab(link); }).css('cursor', 'pointer') } else { this.$el.off('click', false).css('cursor', '') } }); this.bindAttr(['title', 'data'], $('').addClass(csscls('text')).appendTo(this.$el)); this.$tooltip = $('').addClass(csscls('tooltip disabled')).appendTo(this.$el); this.bindAttr('tooltip', function(tooltip) { if (tooltip) { var dl = $('
'); if (Array.isArray(tooltip) || typeof tooltip === 'object') { $.each(tooltip, function(key, value) { $('
').text(key).appendTo(dl); $('
').text(value).appendTo(dl); }); this.$tooltip.html(dl).removeClass(csscls('disabled')); } else { this.$tooltip.text(tooltip).removeClass(csscls('disabled')); } } else { this.$tooltip.addClass(csscls('disabled')); } }); } }); /** * Displays datasets in a table * */ var Settings = Widget.extend({ tagName: 'form', className: csscls('settings'), settings: {}, initialize: function(options) { this.set(options); var debugbar = this.get('debugbar'); this.settings = JSON.parse(localStorage.getItem('phpdebugbar-settings')) || {}; $.each(debugbar.options, (key, value)=> { if (key in this.settings) { debugbar.options[key] = this.settings[key]; } // Theme requires dark/light mode detection if (key === 'theme') { debugbar.setTheme(debugbar.options[key]); } else { debugbar.$el.attr('data-' + key, debugbar.options[key]); } }) }, clearSettings: function() { var debugbar = this.get('debugbar'); // Remove item from storage localStorage.removeItem('phpdebugbar-settings'); localStorage.removeItem('phpdebugbar-ajaxhandler-autoshow'); this.settings = {}; // Reset options debugbar.options = { ...debugbar.defaultOptions }; // Reset ajax handler if (debugbar.ajaxHandler) { var autoshow = debugbar.ajaxHandler.defaultAutoShow; debugbar.ajaxHandler.setAutoShow(autoshow); this.set('autoshow', autoshow); if(debugbar.controls['__datasets']) { debugbar.controls['__datasets'].get('widget').set('autoshow', $(this).is(':checked')); } } this.initialize(debugbar.options); }, storeSetting: function(key, value) { this.settings[key] = value; var debugbar = this.get('debugbar'); debugbar.options[key] = value; if (key !== 'theme') { debugbar.$el.attr('data-' + key, value); } localStorage.setItem('phpdebugbar-settings', JSON.stringify(this.settings)); }, render: function() { this.$el.empty(); var debugbar = this.get('debugbar'); var self = this; var fields = {}; // Set Theme fields["Theme"] = $('') .val(debugbar.options.theme) .on('change', function() { self.storeSetting('theme', $(this).val()) debugbar.setTheme($(this).val()); }); fields["Open Button Position"] = $('') .val(debugbar.options.openBtnPosition) .on('change', function() { self.storeSetting('openBtnPosition', $(this).val()) }); this.$hideEmptyTabs = $('') .prop('checked', debugbar.options.hideEmptyTabs) .on('click', function() { self.storeSetting('hideEmptyTabs', $(this).is(':checked')); }); fields["Hide Empty Tabs"] = $('
').addClass(csscls('form-row')).append( $('
').addClass(csscls('form-label')).text(key), $('
').addClass(csscls('form-input')).html(value) ).appendTo(self.$el); }) if (!this.ajaxHandler) { this.$autoshow.closest('.form-row').hide(); } }, }); // ------------------------------------------------------------------ /** * Dataset title formater * * Formats the title of a dataset for the select box */ var DatasetTitleFormater = PhpDebugBar.DatasetTitleFormater = function(debugbar) { this.debugbar = debugbar; }; $.extend(DatasetTitleFormater.prototype, { /** * Formats the title of a dataset * * @this {DatasetTitleFormater} * @param {String} id * @param {Object} data * @param {String} suffix * @return {String} */ format: function(id, data, suffix, nb) { if (suffix) { suffix = ' ' + suffix; } else { suffix = ''; } var nb = nb || getObjectSize(this.debugbar.datasets) ; if (typeof(data['__meta']) === 'undefined') { return "#" + nb + suffix; } var uri = data['__meta']['uri'].split('/'), filename = uri.pop(); // URI ends in a trailing /, avoid returning an empty string if (!filename) { filename = (uri.pop() || '') + '/'; // add the trailing '/' back } // filename is a number, path could be like /action/{id} if (uri.length && !isNaN(filename)) { filename = uri.pop() + '/' + filename; } // truncate the filename in the label, if it's too long var maxLength = 150; if (filename.length > maxLength) { filename = filename.substr(0, maxLength) + '...'; } var label = "#" + nb + " " + filename + suffix + ' (' + data['__meta']['datetime'].split(' ')[1] + ')'; return label; } }); // ------------------------------------------------------------------ /** * DebugBar * * Creates a bar that appends itself to the body of your page * and sticks to the bottom. * * The bar can be customized by adding tabs and indicators. * A data map is used to fill those controls with data provided * from datasets. */ var DebugBar = PhpDebugBar.DebugBar = Widget.extend({ className: "phpdebugbar " + csscls('minimized'), options: { bodyMarginBottom: true, theme: 'auto', openBtnPosition: 'bottomLeft', hideEmptyTabs: false, }, initialize: function(options = {}) { this.options = $.extend(this.options, options); this.defaultOptions = { ...this.options }; this.controls = {}; this.dataMap = {}; this.datasets = {}; this.firstTabName = null; this.activePanelName = null; this.activeDatasetId = null; this.datesetTitleFormater = new DatasetTitleFormater(this); this.bodyMarginBottomHeight = parseInt($('body').css('margin-bottom')); try { this.isIframe = window.self !== window.top && window.top.phpdebugbar; } catch (error) { this.isIframe = false; } this.registerResizeHandler(); this.registerMediaListener(); // Attach settings this.settings = new PhpDebugBar.DebugBar.Tab({"icon":"sliders", "title":"Settings", "widget": new Settings({ 'debugbar': this, })}); }, /** * Register resize event, for resize debugbar with reponsive css. * * @this {DebugBar} */ registerResizeHandler: function() { if (typeof this.resize.bind == 'undefined' || this.isIframe) return; var f = this.resize.bind(this); this.respCSSSize = 0; $(window).resize(f); setTimeout(f, 20); }, registerMediaListener: function() { const mediaQueryList = window.matchMedia("(prefers-color-scheme: dark)"); mediaQueryList.addEventListener('change', event => { if (this.options.theme === 'auto') { this.setTheme('auto'); } }) }, setTheme: function(theme) { this.options.theme = theme; if (theme === 'auto') { const mediaQueryList = window.matchMedia("(prefers-color-scheme: dark)"); theme = mediaQueryList.matches ? 'dark' : 'light'; } this.$el.attr('data-theme', theme) if (this.openHandler) { this.openHandler.$el.attr('data-theme', theme) } }, /** * Resizes the debugbar to fit the current browser window */ resize: function() { if (this.isIframe) return; var contentSize = this.respCSSSize; if (this.respCSSSize == 0) { this.$header.find("> *:visible").each(function () { contentSize += $(this).outerWidth(true); }); } var currentSize = this.$header.width(); var cssClass = csscls("mini-design"); var bool = this.$header.hasClass(cssClass); if (currentSize <= contentSize && !bool) { this.respCSSSize = contentSize; this.$header.addClass(cssClass); } else if (contentSize < currentSize && bool) { this.respCSSSize = 0; this.$header.removeClass(cssClass); } // Reset height to ensure bar is still visible this.setHeight(this.$body.height()); }, /** * Initialiazes the UI * * @this {DebugBar} */ render: function() { if (this.isIframe) { this.$el.hide(); } var self = this; this.$el.appendTo('body'); this.$dragCapture = $('
').addClass(csscls('drag-capture')).appendTo(this.$el); this.$resizehdle = $('
').addClass(csscls('resize-handle')).appendTo(this.$el); this.$header = $('
').addClass(csscls('header')).appendTo(this.$el); this.$headerBtn = $('').addClass(csscls('restore-btn')).appendTo(this.$header); this.$headerBtn.click(function() { self.close(); }); this.$headerLeft = $('
').addClass(csscls('header-left')).appendTo(this.$header); this.$headerRight = $('
').addClass(csscls('header-right')).appendTo(this.$header); var $body = this.$body = $('
').addClass(csscls('body')).appendTo(this.$el); this.recomputeBottomOffset(); // dragging of resize handle var pos_y, orig_h; this.$resizehdle.on('mousedown', function(e) { orig_h = $body.height(), pos_y = e.pageY; $body.parents().on('mousemove', mousemove).on('mouseup', mouseup); self.$dragCapture.show(); e.preventDefault(); }); var mousemove = function(e) { var h = orig_h + (pos_y - e.pageY); self.setHeight(h); }; var mouseup = function() { $body.parents().off('mousemove', mousemove).off('mouseup', mouseup); self.$dragCapture.hide(); }; // close button this.$closebtn = $('').addClass(csscls('close-btn')).appendTo(this.$headerRight); this.$closebtn.click(function() { self.close(); }); // minimize button this.$minimizebtn = $('').addClass(csscls('minimize-btn') ).appendTo(this.$headerRight); this.$minimizebtn.click(function() { self.minimize(); }); // maximize button this.$maximizebtn = $('').addClass(csscls('maximize-btn') ).appendTo(this.$headerRight); this.$maximizebtn.click(function() { self.restore(); }); // restore button this.$restorebtn = $('').addClass(csscls('restore-btn')).hide().appendTo(this.$el); this.$restorebtn.click(function() { self.restore(); }); // open button this.$openbtn = $('').addClass(csscls('open-btn')).appendTo(this.$headerRight).hide(); this.$openbtn.click(function() { self.openHandler.show(function(id, dataset) { self.addDataSet(dataset, id, "(opened)"); self.showTab(); }); }); // select box for data sets this.$datasets = $('') .on('change', function() { self.set('search', this.value); }) .appendTo(this.$toolbar); this.bindAttr('data', function(data) { this.set({excludelabel: [], excludecollector: [], search: ''}); this.$toolbar.find(csscls('.filter')).remove(); var labels = [], collectors = [], self = this, createFilterItem = function (type, value) { $('') .addClass(csscls('filter')).addClass(csscls(type)) .text(value).attr('rel', value) .on('click', function() { self.onFilterClick(this, type); }) .appendTo(self.$toolbar) }; data.forEach(function (item) { if (!labels.includes(item.label || 'none')) { labels.push(item.label || 'none'); } if (!collectors.includes(item.collector || 'none')) { collectors.push(item.collector || 'none'); } }); if (labels.length > 1) { labels.forEach(label => createFilterItem('label', label)); } if (collectors.length === 1) { return; } $('').addClass(csscls('filter')).css('visibility', 'hidden').appendTo(self.$toolbar); collectors.forEach(collector => createFilterItem('collector', collector)); }); this.bindAttr(['excludelabel', 'excludecollector', 'search'], function() { var excludelabel = this.get('excludelabel') || [], excludecollector = this.get('excludecollector') || [], search = this.get('search'), caseless = false, fdata = []; if (search && search === search.toLowerCase()) { caseless = true; } this.get('data').forEach(function (item) { var message = caseless ? item.message.toLowerCase() : item.message; if ( !excludelabel.includes(item.label || undefined) && !excludecollector.includes(item.collector || undefined) && (!search || message.indexOf(search) > -1) ) { fdata.push(item); } }); this.$list.set('data', fdata); }); }, onFilterClick: function(el, type) { $(el).toggleClass(csscls('excluded')); var excluded = []; this.$toolbar.find(csscls('.filter') + csscls('.excluded') + csscls('.' + type)).each(function() { excluded.push(this.rel === 'none' || !this.rel ? undefined : this.rel); }); this.set('exclude' + type, excluded); } }); // ------------------------------------------------------------------ /** * Widget for the TimeDataCollector * * Options: * - data */ var TimelineWidget = PhpDebugBar.Widgets.TimelineWidget = PhpDebugBar.Widget.extend({ tagName: 'ul', className: csscls('timeline'), render: function() { this.bindAttr('data', function(data) { // ported from php DataFormatter var formatDuration = function(seconds) { if (seconds < 0.001) return (seconds * 1000000).toFixed() + 'μs'; else if (seconds < 0.1) return (seconds * 1000).toFixed(2) + 'ms'; else if (seconds < 1) return (seconds * 1000).toFixed() + 'ms'; return (seconds).toFixed(2) + 's'; }; // ported from php DataFormatter var formatBytes = function formatBytes(size) { if (size === 0 || size === null) { return '0B'; } var sign = size < 0 ? '-' : '', size = Math.abs(size), base = Math.log(size) / Math.log(1024), suffixes = ['B', 'KB', 'MB', 'GB', 'TB']; return sign + (Math.round(Math.pow(1024, base - Math.floor(base)) * 100) / 100) + suffixes[Math.floor(base)]; } this.$el.empty(); if (data.measures) { var aggregate = {}; for (var i = 0; i < data.measures.length; i++) { var measure = data.measures[i]; var group = measure.group || measure.label; if(!aggregate[group]) { aggregate[group] = { count: 0, duration: 0, memory : 0 }; } aggregate[group]['count'] += 1; aggregate[group]['duration'] += measure.duration; aggregate[group]['memory'] += (measure.memory || 0); var m = $('
').addClass(csscls('measure')), li = $('
  • '), left = (measure.relative_start * 100 / data.duration).toFixed(2), width = Math.min((measure.duration * 100 / data.duration).toFixed(2), 100 - left); m.append($('').addClass(csscls('value')).css({ left: left + "%", width: width + "%" })); m.append($('').addClass(csscls('label')) .text(measure.label.replace(/\s+/g, ' ') + ( measure.duration ? " (" + measure.duration_str +(measure.memory ? '/' + measure.memory_str: '') + ")" : ""))); if (measure.collector) { $('').addClass(csscls('collector')).text(measure.collector).appendTo(m); } m.appendTo(li); this.$el.append(li); if (measure.params && !$.isEmptyObject(measure.params)) { var table = $('
    Params
    ').hide().addClass(csscls('params')).appendTo(li); for (var key in measure.params) { if (typeof measure.params[key] !== 'function') { table.append('' + key + '
    ' + measure.params[key] + '
    '); } } li.css('cursor', 'pointer').click(function() { if (window.getSelection().type == "Range") { return ''; } var table = $(this).find('table'); if (table.is(':visible')) { table.hide(); } else { table.show(); } }).on('click', '.sf-dump', function(event) { event.stopPropagation(); }); } } // convert to array and sort by duration aggregate = $.map(aggregate, function(data, label) { return { label: label, data: data } }).sort(function(a, b) { return b.data.duration - a.data.duration }); // build table and add var aggregateTable = $('
    ').addClass(csscls('params')); $.each(aggregate, function(i, aggregate) { width = Math.min((aggregate.data.duration * 100 / data.duration).toFixed(2), 100); aggregateTable.append('' + aggregate.data.count + ' x ' + $('').text(aggregate.label.replace(/\s+/g, ' ')).html() + ' (' + width + '%)' + '
    ' + '' + '' + formatDuration(aggregate.data.duration) + (aggregate.data.memory ? '/' + formatBytes(aggregate.data.memory) : '') + '' + '
    '); aggregateTable.find('span.' + csscls('value') + ':last').css({width: width + "%" }); }); this.$el.append('
  • ').find('li:last').append(aggregateTable); } }); } }); // ------------------------------------------------------------------ /** * Widget for the displaying exceptions * * Options: * - data */ var ExceptionsWidget = PhpDebugBar.Widgets.ExceptionsWidget = PhpDebugBar.Widget.extend({ className: csscls('exceptions'), render: function() { this.$list = new ListWidget({ itemRenderer: function(li, e) { $('').addClass(csscls('message')).text(e.message).appendTo(li); if (e.file) { var header = $('').addClass(csscls('filename')).text(e.file + "#" + e.line); if (e.xdebug_link) { if (e.xdebug_link.ajax) { $('').on('click', function () { fetch(e.xdebug_link.url); }).addClass(csscls('editor-link')).appendTo(header); } else { $('').addClass(csscls('editor-link')).appendTo(header); } } header.appendTo(li); } if (e.type) { $('').addClass(csscls('type')).text(e.type).appendTo(li); } if (e.surrounding_lines) { var startLine = (e.line - 3) <= 0 ? 1 : e.line - 3; var pre = createCodeBlock(e.surrounding_lines.join(""), 'php', startLine, e.line).addClass(csscls('file')).appendTo(li); if (!e.stack_trace_html) { // This click event makes the var-dumper hard to use. li.click(function () { if (pre.is(':visible')) { pre.hide(); } else { pre.show(); } }); } } if (e.stack_trace_html) { var $trace = $('').addClass(csscls('filename')).html(e.stack_trace_html); $trace.find('samp[data-depth="1"]').removeClass('sf-dump-expanded').addClass('sf-dump-compact').parent() .find('>.sf-dump-note').html((_, t) => t.replace(/^array:/, 'Stack Trace: ') + ' files'); $trace.appendTo(li); } else if (e.stack_trace) { e.stack_trace.split("\n").forEach(function (trace) { var $traceLine = $('
    '); $('').addClass(csscls('filename')).text(trace).appendTo($traceLine); $traceLine.appendTo(li); }); } }}); this.$list.$el.appendTo(this.$el); this.bindAttr('data', function(data) { this.$list.set('data', data); if (data.length == 1) { this.$list.$el.children().first().find(csscls('.file')).show(); } }); } }); /** * Displays datasets in a table * */ var DatasetWidget = PhpDebugBar.Widgets.DatasetWidget = PhpDebugBar.Widget.extend({ initialize: function(options) { if (!options['itemRenderer']) { options['itemRenderer'] = this.itemRenderer; } this.set(options); this.set('autoshow', null); this.set('id', null); this.set('sort', localStorage.getItem('debugbar-history-sort') || 'asc'); this.$el.addClass(csscls('dataset-history')) this.renderHead(); }, renderHead: function() { this.$el.empty(); this.$actions = $('
    ').addClass(csscls('dataset-actions')).appendTo(this.$el); var self = this; var debugbar = self.get('debugbar'); this.$autoshow = $('') .on('click', function() { if (debugbar.ajaxHandler) { debugbar.ajaxHandler.setAutoShow($(this).is(':checked')); } if (debugbar.controls['__settings']) { debugbar.controls['__settings'].get('widget').set('autoshow', this.autoShow); } }); $('') .append(this.$autoshow) .appendTo(this.$actions) this.$clearbtn = $('Clear') .appendTo(this.$actions) .on('click', function() { self.$table.empty(); }); this.$showBtn = $('Show all') .appendTo(this.$actions) .on('click', function() { self.searchInput.val(null); self.methodInput.val(null); self.set('search', null); self.set('method', null); }); this.methodInput = $('') .on('change', function() { self.set('method', this.value)}) .appendTo(this.$actions) this.searchInput = $('') .on('input', function() { self.set('search', this.value); }) .appendTo(this.$actions); this.$table = $(''); $('') .append($('') .append($('') .append($('').css('width', '30px')) .append($('').css('width', '175px').click(function() { self.set('sort', self.get('sort') === 'asc' ? 'desc' : 'asc') localStorage.setItem('debugbar-history-sort', self.get('sort')) })) .append($('').css('width', '80px')) .append($('')) .append($(''))) ) .append(this.$table) .appendTo(this.$el); }, renderDatasets: function() { this.$table.empty(); var self = this; $.each(this.get('data'), function(key, data) { if (!data.__meta) { return; } self.get('itemRenderer')(self, data); }); }, render: function() { this.bindAttr('data', function() { if (this.get('autoshow') === null && this.get('debugbar').ajaxHandler) { this.set('autoshow', this.get('debugbar').ajaxHandler.autoShow); } if (!this.has('data')) { return; } // Render the latest item var datasets = this.get('data'); var data = datasets[Object.keys(datasets)[Object.keys(datasets).length - 1]] if (!data.__meta) { return; } this.get('itemRenderer')(this, data); }); this.bindAttr(['itemRenderer', 'search', 'method', 'sort'], function() { this.renderDatasets(); }) this.bindAttr('autoshow', function() { var autoshow = this.get('autoshow'); this.$autoshow.prop('checked', autoshow); }) this.bindAttr('id', function() { var id = this.get('id'); this.$table.find('.' + csscls('active')).removeClass(csscls('active')); this.$table.find('tr[data-id=' + id+']').addClass(csscls('active')); }) }, /** * Renders the content of a dataset item * * @param {Object} value An item from the data array */ itemRenderer: function(widget, data) { var meta = data.__meta; var $badges = $(''); if (widget.get('sort') === 'asc') { tr.appendTo(widget.$table); } else { tr.prependTo(widget.$table); } var clickHandler = function() { var debugbar = widget.get('debugbar'); debugbar.showDataSet(meta.id, debugbar.datesetTitleFormater.format('', data, meta.suffix, meta.nb)); widget.$table.find('.' + csscls('active')).removeClass(csscls('active')); tr.addClass(csscls('active')); if ($(this).data('tab')) { debugbar.showTab($(this).data('tab')); } } tr.attr('data-id', meta['id']) .append($('').click(clickHandler)) .append($('').click(clickHandler)) .append($('').click(clickHandler)) .append($(''); $('
    PHP DebugBar | Open
    ').addClass(csscls('header')).append(this.$closebtn).appendTo(this.$el); $('
    Date ↕MethodURLData'); var tr = $('
    #' + meta['nb'] + '' + meta['datetime'] + '' + meta['method'] + '').append(meta['uri'] + (meta['suffix'] ? ' ' + meta['suffix'] : '')).click(clickHandler)) .css('cursor', 'pointer') .addClass(csscls('table-row')) var debugbar = widget.get('debugbar'); $.each(debugbar.dataMap, function(key, def) { var d = getDictValue(data, def[0], def[1]); if (key.indexOf(':') != -1) { key = key.split(':'); if (key[1] === 'badge' && d > 0) { var control = debugbar.getControl(key[0]); var $a = $('').attr('title', control.get('title')).data('tab', key[0]); if (control.$icon) { $a.append(debugbar.getControl(key[0]).$icon.clone()); } if (control.$badge) { $a.append(debugbar.getControl(key[0]).$badge.clone().css('display', 'inline-block').text(d)); } $a.appendTo($badges).click(clickHandler); } else if (key[1] === 'tooltip') { debugbar.getControl(key[0]).set('tooltip', d); } } }); tr.append($badges); if (debugbar.activeDatasetId === meta['id']) { tr.addClass(csscls('active')); } var search = widget.get('search'); var method = widget.get('method'); if ((search && meta['uri'].indexOf(search) == -1) || (method && meta['method'] !== method)) { tr.hide(); } } }); })(PhpDebugBar.$); if (typeof(PhpDebugBar) == 'undefined') { // namespace var PhpDebugBar = {}; PhpDebugBar.$ = jQuery; } (function($) { var csscls = function(cls) { return PhpDebugBar.utils.csscls(cls, 'phpdebugbar-openhandler-'); }; PhpDebugBar.OpenHandler = PhpDebugBar.Widget.extend({ className: 'phpdebugbar-openhandler', defaults: { items_per_page: 20 }, render: function() { var self = this; this.$el.appendTo('body').hide(); this.$closebtn = $(''); this.$table = $('
    DateMethodURLIPFilter data
    ').append(this.$table).appendTo(this.$el); this.$actions = $('
    ').addClass(csscls('actions')).appendTo(this.$el); this.$closebtn.on('click', function() { self.hide(); }); this.$loadmorebtn = $('Load more') .appendTo(this.$actions) .on('click', function() { self.find(self.last_find_request, self.last_find_request.offset + self.get('items_per_page'), self.handleFind.bind(self)); }); this.$showonlycurrentbtn = $('Show only current URL') .appendTo(this.$actions) .on('click', function() { self.$table.empty(); self.find({uri: window.location.pathname}, 0, self.handleFind.bind(self)); }); this.$showallbtn = $('Show all') .appendTo(this.$actions) .on('click', function() { self.refresh(); }); this.$clearbtn = $('Delete all') .appendTo(this.$actions) .on('click', function() { self.clear(function() { self.hide(); }); }); this.addSearch(); this.$overlay = $('
    ').addClass(csscls('overlay')).hide().appendTo('body'); this.$overlay.on('click', function() { self.hide(); }); }, refresh: function() { this.$table.empty(); this.$loadmorebtn.show(); this.find({}, 0, this.handleFind.bind(this)); }, addSearch: function(){ var self = this; var searchBtn = $('