/* @license Copyright (C) Exontrol. All rights reserved. */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):(t="undefined"!=typeof globalThis?globalThis:t||self,e(t.exontrol||{}))}(this,function(t){"use strict";function e(t){return null!=t}function n(t,n){function i(t,n,r){if(e(n)){var i=r;r=function(t,e){return i(t,e),e+1>=n}}return this.enumQ(t,f,r)}if((n=r.Mrg({eof:",",eor:"\r\n",str:'"',hdr:!0,limit:void 0},n)).onV){var o=n.onV.bind(n.t);if(t=function(t,e){return r.ToS(t,e)}(t)){var l=null,c=n.hdr,f=n.str,u=n.eof;i.call(t,n.eor,e(n.limit)?n.limit+(c&&1||0):null,function(t,e){var n=function(t,e){function n(t){var e=t.trim();if((i=e.length)>1&&f==e.charAt(0)&&f==e.charAt(i-1)){t="";for(var n,r=0,i=(e=e.substr(1,i-2)).length;re.clientHeight&&t.clientX>e.getBoundingClientRect().right-(e.offsetWidth-e.clientWidth)}(i)||function(e){return e.scrollWidth>e.clientWidth&&t.clientY>e.getBoundingClientRect().bottom-(e.offsetHeight-e.clientHeight)}(i)||(n=e(),r.RUR.Do(t,function(t){if(6==t.drag.status){n=e();var o={dx:t.drag.swipe.dx/i.clientWidth*(i.scrollWidth-i.clientWidth),dy:t.drag.swipe.dy/i.clientHeight*(i.scrollHeight-i.clientHeight)};r.A.Progress(function(t){i.scrollLeft=n.x-t*o.dx,i.scrollTop=n.y-t*o.dy},{transition:"swipe"})}else i.scrollLeft=n.x-t.drag.offset.dx,i.scrollTop=n.y-t.drag.offset.dy}))},t.perf=r.perf});