/*! For license information please see vd_splitlines.js.LICENSE.txt */
!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=26)}({26:function(t,e,n){"use strict";n.r(e);n(27)},27:function(t,e){!function(t){function e(t){return t.clone().css({position:"absolute"})}function n(t){return t.split(/\s+/)}function r(e,n,r){var o=t(e='<div class="stop">'+e).find('*:not(:has("*"))').html(n).closest(".stop").slice(-1);return o.children().each((function(t,e){e.style.setProperty("--line-index",r)})),o.html()}t.fn.splitLines=function(o){var i={width:"auto",tag:"<div>",wrap:"",keepHtml:!0};o&&t.extend(i,o);var l=e(this),u=this.contents(),a=this.text();this.append(l),l.text("42");var s=l.height()+2;l.empty();var f=e(l),p=i.width;"auto"===i.width&&(p=this[0].offsetWidth),f.width(p),this.append(f);for(var h,c=i.keepHtml?function e(r){for(var o,i=[],l=0;l<r.length;l++)if("BR"!==r[l].nodeName){if(3==r[l].nodeType)o=n(r[l].textContent||r[l].toString());else{var u=t(r[l]).clone();o=e(u.contents());for(var a=0;a<o.length;a++)u.empty(),o[a]=u.html(o[a]).wrap("<p></p>").parent().html()}for(var s=0;s<o.length;s++)""!==o[s]&&i.push(o[s])}else i.push("<br>");return i}(u):n(a),d=0,m=0;m<c.length;m++){var v=f.html();f.html(v+c[m]+" "),f.html()!=h?f.height()>s&&(h=f.html(),f.html(v),l.append(r(i.tag,f.html(),d)),f.html(""),m--,d++):(h="",l.append(r(i.tag,f.html(),d)),f.html(""))}l.append(r(i.tag,f.html(),d)),this.html(l.html())}}(jQuery)}});
//# sourceMappingURL=vd_splitlines.js.map