PageSourceSearch

https://www.tokaicarbon.co.jp/products/js/index.js

js tokaicarbon.co.jp collected 2026-10-02 17:42:15 UTC 23,228 bytes, 4 lines download raw bytes

1$(function(){function i(){var i=$("body .fv .bg.effect").height(),n=$("body .fv .bg.effect").width();$("body .fv .bg.effect #canvas").css("height",i),$("body .fv .bg.effect #canvas").css("width",n)}setTimeout(function(){$("body .fv .ly_main .ly_main_inner h1").addClass("show")},300),setTimeout(function(){$("body .fv .ly_main .ly_main_inner p span").addClass("active"),$("body .fv .ly_main .ly_main_inner h1").addClass("active")},1e3),setTimeout(function(){$("body .fv .ly_main .ly_main_inner h1 span #title_pc path").addClass("active"),$("body .fv .ly_main .ly_main_inner h1 span #title_sp path").addClass("active")},1e3),(new window.Distortion).init("canvas",600,508,"../common/images/business_blur.jpg",.3),i();for(var n,t=!1,a=($(window).resize(function(){!1!==t&&clearTimeout(t),t=setTimeout(function(){i()},0)}),n=768<$(window).width()?"title_pc":"title_sp",new Vivus(n,{type:"delayed",duration:1e3,animTimingFunction:Vivus.EASE,start:"autostart"},function(i){}),["graphite","carbon_b","fine_carbon","smeliting_lining","products","friction_materials","anode_materials","research_development","btns"]),e=0;e<a.length;e++)$(".contents."+a[e]).waypoint(function(i){var n=$(this.element);"down"===i&&(n.addClass("active"),n.find(".ly_main").find("h2").addClass("active"),n.find(".ly_main").find(".text_box").addClass("active"),n.find(".ly_main").find(".right").addClass("active"))},{offset:"70%"})});
2!function(){"use strict";function e(t){if(!t)throw new Error("No options passed to Waypoint constructor");if(!t.element)throw new Error("No element option passed to Waypoint constructor");if(!t.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+i,this.options=e.Adapter.extend({},e.defaults,t),this.element=this.options.element,this.adapter=new e.Adapter(this.element),this.callback=t.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=e.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=e.Context.findOrCreateByElement(this.options.context),e.offsetAliases[this.options.offset]&&(this.options.offset=e.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),r[this.key]=this,i+=1}var i=0,r={};e.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},e.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},e.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete r[this.key]},e.prototype.disable=function(){return this.enabled=!1,this},e.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},e.prototype.next=function(){return this.group.next(this)},e.prototype.previous=function(){return this.group.previous(this)},e.invokeAll=function(t){var e,i=[];for(e in r)i.push(r[e]);for(var o=0,n=i.length;o<n;o++)i[o][t]()},e.destroyAll=function(){e.invokeAll("destroy")},e.disableAll=function(){e.invokeAll("disable")},e.enableAll=function(){for(var t in e.Context.refreshAll(),r)r[t].enabled=!0;return this},e.refreshAll=function(){e.Context.refreshAll()},e.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},e.viewportWidth=function(){return document.documentElement.clientWidth},e.adapters=[],e.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},e.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=e}(),function(){"use strict";function e(t){window.setTimeout(t,1e3/60)}function i(t){this.element=t,this.Adapter=d.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+o,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,n[t.waypointContextKey]=this,o+=1,d.windowContext||(d.windowContext=!0,d.windowContext=new i(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var o=0,n={},d=window.Waypoint,t=window.onload;i.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},i.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical),i=this.element==this.element.window;t&&e&&!i&&(this.adapter.off(".waypoints"),delete n[this.key])},i.prototype.createThrottledResizeHandler=function(){function t(){e.handleResize(),e.didResize=!1}var e=this;this.adapter.on("resize.waypoints",function(){e.didResize||(e.didResize=!0,d.requestAnimationFrame(t))})},i.prototype.createThrottledScrollHandler=function(){function t(){e.handleScroll(),e.didScroll=!1}var e=this;this.adapter.on("scroll.waypoints",function(){e.didScroll&&!d.isTouch||(e.didScroll=!0,d.requestAnimationFrame(t))})},i.prototype.handleResize=function(){d.Context.refreshAll()},i.prototype.handleScroll=function(){var t,e,i={},o={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(t in o){var n,r=o[t],s=r.newScroll>r.oldScroll?r.forward:r.backward;for(n in this.waypoints[t]){var a,l,h=this.waypoints[t][n];null!==h.triggerPoint&&(a=r.oldScroll<h.triggerPoint,l=r.newScroll>=h.triggerPoint,a&&l||!a&&!l)&&(h.queueTrigger(s),i[h.group.id]=h.group)}}for(e in i)i[e].flushTriggers();this.oldScroll={x:o.horizontal.newScroll,y:o.vertical.newScroll}}
2,i.prototype.innerHeight=function(){return this.element==this.element.window?d.viewportHeight():this.adapter.innerHeight()},i.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},i.prototype.innerWidth=function(){return this.element==this.element.window?d.viewportWidth():this.adapter.innerWidth()},i.prototype.destroy=function(){var t,e=[];for(t in this.waypoints)for(var i in this.waypoints[t])e.push(this.waypoints[t][i]);for(var o=0,n=e.length;o<n;o++)e[o].destroy()},i.prototype.refresh=function(){var t,e,i=this.element==this.element.window,o=i?void 0:this.adapter.offset(),n={};for(e in this.handleScroll(),t={horizontal:{contextOffset:i?0:o.left,contextScroll:i?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:i?0:o.top,contextScroll:i?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var r,s=t[e];for(r in this.waypoints[e]){var a,l=this.waypoints[e][r],h=l.options.offset,p=l.triggerPoint,c=0,u=null==p;l.element!==l.element.window&&(c=l.adapter.offset()[s.offsetProp]),"function"==typeof h?h=h.apply(l):"string"==typeof h&&(h=parseFloat(h),-1<l.options.offset.indexOf("%"))&&(h=Math.ceil(s.contextDimension*h/100)),a=s.contextScroll-s.contextOffset,l.triggerPoint=Math.floor(c+a-h),c=p<s.oldScroll,a=l.triggerPoint>=s.oldScroll,h=!c&&!a,!u&&(c&&a)?(l.queueTrigger(s.backward),n[l.group.id]=l.group):(!u&&h||u&&s.oldScroll>=l.triggerPoint)&&(l.queueTrigger(s.forward),n[l.group.id]=l.group)}}return d.requestAnimationFrame(function(){for(var t in n)n[t].flushTriggers()}),this},i.findOrCreateByElement=function(t){return i.findByElement(t)||new i(t)},i.refreshAll=function(){for(var t in n)n[t].refresh()},i.findByElement=function(t){return n[t.waypointContextKey]},window.onload=function(){t&&t(),i.refreshAll()},d.requestAnimationFrame=function(t){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||e).call(window,t)},d.Context=i}(),function(){"use strict";function r(t,e){return t.triggerPoint-e.triggerPoint}function s(t,e){return e.triggerPoint-t.triggerPoint}function e(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),i[this.axis][this.name]=this}var i={vertical:{},horizontal:{}},o=window.Waypoint;e.prototype.add=function(t){this.waypoints.push(t)},e.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},e.prototype.flushTriggers=function(){for(var t in this.triggerQueues){var e=this.triggerQueues[t];e.sort("up"===t||"left"===t?s:r);for(var i=0,o=e.length;i<o;i+=1){var n=e[i];!n.options.continuous&&i!==e.length-1||n.trigger([t])}}this.clearTriggerQueues()},e.prototype.next=function(t){this.waypoints.sort(r);t=o.Adapter.inArray(t,this.waypoints);return t===this.waypoints.length-1?null:this.waypoints[t+1]},e.prototype.previous=function(t){this.waypoints.sort(r);t=o.Adapter.inArray(t,this.waypoints);return t?this.waypoints[t-1]:null},e.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},e.prototype.remove=function(t){t=o.Adapter.inArray(t,this.waypoints);-1<t&&this.waypoints.splice(t,1)},e.prototype.first=function(){return this.waypoints[0]},e.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},e.findOrCreate=function(t){return i[t.axis][t.name]||new e(t)},o.Group=e}(),function(){"use strict";function i(t){this.$element=o(t)}var o=window.jQuery,t=window.Waypoint;o.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],function(t,e){i.prototype[e]=function(){var t=Array.prototype.slice.call(arguments);return this.$element[e].apply(this.$element,t)}}),o.each(["extend","inArray","isEmptyObject"],function(t,e){i[e]=o[e]}),t.adapters.push({name:"jquery",Adapter:i}),t.Adapter=i}(),function(){"use strict";function t(o){return function(){var e=[],i=arguments[0];return o.isFunction(arguments[0])&&((i=o.extend({},arguments[1])).handler=arguments[0]),this.each(function(){var t=o.extend({},i,{element:this});"string"==typeof t.context&&(t.context=o(this).closest(t.context)[0]),e.push(new n(t))}),e}}var n=window.Waypoint;window.jQuery&&(window.jQuery.fn.waypoint=t(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=t(window.Zepto))}();
3"use strict";function Pathformer(t){if(void 0===t)throw new Error('Pathformer [constructor]: "element" parameter is required');if(t.constructor===String&&!(t=document.getElementById(t)))throw new Error('Pathformer [constructor]: "element" parameter is not related to an existing ID');if(!(t instanceof window.SVGElement||t instanceof window.SVGGElement||/^svg$/i.test(t.no
3deName)))throw new Error('Pathformer [constructor]: "element" parameter must be a string or a SVGelement');this.el=t,this.scan(t)}Pathformer.prototype.TYPES=["line","ellipse","circle","polygon","polyline","rect"],Pathformer.prototype.ATTR_WATCH=["cx","cy","points","r","rx","ry","x","x1","x2","y","y1","y2"],Pathformer.prototype.scan=function(t){for(var r,e,o=t.querySelectorAll(this.TYPES.join(",")),a=0;a<o.length;a++)e=(0,this[(r=o[a]).tagName.toLowerCase()+"ToPath"])(this.parseAttr(r.attributes)),e=this.pathMaker(r,e),r.parentNode.replaceChild(e,r)},Pathformer.prototype.lineToPath=function(t){var r={},e=t.x1||0,o=t.y1||0,a=t.x2||0,t=t.y2||0;return r.d="M"+e+","+o+"L"+a+","+t,r},Pathformer.prototype.rectToPath=function(t){var r,e={},o=parseFloat(t.x)||0,a=parseFloat(t.y)||0,n=parseFloat(t.width)||0,i=parseFloat(t.height)||0;return t.rx||t.ry?(r=parseInt(t.rx,10)||-1,t=parseInt(t.ry,10)||-1,r=Math.min(Math.max(r<0?t:r,0),n/2),t=Math.min(Math.max(t<0?r:t,0),i/2),e.d="M "+(o+r)+","+a+" L "+(o+n-r)+","+a+" A "+r+","+t+",0,0,1,"+(o+n)+","+(a+t)+" L "+(o+n)+","+(a+i-t)+" A "+r+","+t+",0,0,1,"+(o+n-r)+","+(a+i)+" L "+(o+r)+","+(a+i)+" A "+r+","+t+",0,0,1,"+o+","+(a+i-t)+" L "+o+","+(a+t)+" A "+r+","+t+",0,0,1,"+(o+r)+","+a):e.d="M"+o+" "+a+" L"+(o+n)+" "+a+" L"+(o+n)+" "+(a+i)+" L"+o+" "+(a+i)+" Z",e},Pathformer.prototype.polylineToPath=function(t){var r,e={},o=t.points.trim().split(" ");if(-1===t.points.indexOf(",")){for(var a=[],n=0;n<o.length;n+=2)a.push(o[n]+","+o[n+1]);o=a}for(r="M"+o[0],n=1;n<o.length;n++)-1!==o[n].indexOf(",")&&(r+="L"+o[n]);return e.d=r,e},Pathformer.prototype.polygonToPath=function(t){t=Pathformer.prototype.polylineToPath(t);return t.d+="Z",t},Pathformer.prototype.ellipseToPath=function(t){var r={},e=parseFloat(t.rx)||0,o=parseFloat(t.ry)||0,a=parseFloat(t.cx)||0,t=parseFloat(t.cy)||0,n=a-e,i=t,a=parseFloat(a)+parseFloat(e);return r.d="M"+n+","+i+"A"+e+","+o+" 0,1,1 "+a+","+t+"A"+e+","+o+" 0,1,1 "+n+","+t,r},Pathformer.prototype.circleToPath=function(t){var r={},e=parseFloat(t.r)||0,o=parseFloat(t.cx)||0,t=parseFloat(t.cy)||0,a=o-e,n=t,o=parseFloat(o)+parseFloat(e);return r.d="M"+a+","+n+"A"+e+","+e+" 0,1,1 "+o+","+t+"A"+e+","+e+" 0,1,1 "+a+","+t,r},Pathformer.prototype.pathMaker=function(t,r){for(var e,o=document.createElementNS("http://www.w3.org/2000/svg","path"),a=0;a<t.attributes.length;a++)e=t.attributes[a],-1===this.ATTR_WATCH.indexOf(e.name)&&o.setAttribute(e.name,e.value);for(a in r)o.setAttribute(a,r[a]);return o},Pathformer.prototype.parseAttr=function(t){for(var r,e={},o=0;o<t.length;o++){if(r=t[o],-1!==this.ATTR_WATCH.indexOf(r.name)&&-1!==r.value.indexOf("%"))throw new Error("Pathformer [parseAttr]: a SVG shape got values in percentage. This cannot be transformed into 'path' tags. Please use 'viewBox'.");e[r.name]=r.value}return e};
4"use strict";var setupEnv,requestAnimFrame,cancelAnimFrame,parsePositiveInt;function Vivus(t,e,i){setupEnv(),this.isReady=!1,this.setElement(t,e),this.setOptions(e),this.setCallback(i),this.isReady&&this.init()}Vivus.LINEAR=function(t){return t},Vivus.EASE=function(t){return-Math.cos(t*Math.PI)/2+.5},Vivus.EASE_OUT=function(t){return 1-Math.pow(1-t,3)},Vivus.EASE_IN=function(t){return Math.pow(t,3)},Vivus.EASE_OUT_BOUNCE=function(t){var e=1-Math.cos(t*(.5*Math.PI)),e=Math.pow(e,1.5),t=Math.pow(1-t,2);return 1-t+(1-Math.abs(Math.cos(e*(2.5*Math.PI))))*t},Vivus.prototype.setElement=function(e,i){var n,t,s;if(void 0===e)throw new Error('Vivus [constructor]: "element" parameter is required');if(e.constructor===String&&!(e=document.getElementById(e)))throw new Error('Vivus [constructor]: "element" parameter is not related to an existing ID');if(this.parentEl=e,i&&i.file)n=this,t=function(){var t=document.createElement("div"),t=(t.innerHTML=this.responseText,t.querySelector("svg"));if(!t)throw new Error("Vivus [load]: Cannot find the SVG in the loaded file : "+i.file);n.el=t,n.el.setAttribute("width","100%"),n.el.setAttribute("height","100%"),n.parentEl.appendChild(n.el),n.isReady=!0,n.init(),n=null},(s=new window.XMLHttpRequest).addEventListener("load",t),s.open("GET",i.file),s.send();else switch(e.constructor){case window.SVGSVGElement:case window.SVGElement:case window.SVGGElement:this.el=e,this.isReady=!0;break;case window.HTMLObjectElement:n=this,(t=function(t){if(!n.isReady){if(n.el=e.contentDocument&&e.contentDocument.querySelector("svg"),!n.el&&t)throw new Error("Vivus [constructor]: object loaded does not contain any SVG");n.el&&(e.getAttribute("built-by-vivus")&&(n.parentEl.insertBefore(n.el,e),n.parentEl.removeChild(e),n.el.setAttribute("width","100%"),n.el.setAttribute("height","100%")),n.isReady=!0,n.init(),n=null)}})()||e.addEventListener("load",t);break;default:throw new Error('Vivus [constructor]: "element" parameter is not val
4id (or miss the "file" attribute)')}},Vivus.prototype.setOptions=function(t){var e=["delayed","sync","async","nsync","oneByOne","scenario","scenario-sync"],i=["inViewport","manual","autostart"];if(void 0!==t&&t.constructor!==Object)throw new Error('Vivus [constructor]: "options" parameter must be an object');if((t=t||{}).type&&-1===e.indexOf(t.type))throw new Error("Vivus [constructor]: "+t.type+" is not an existing animation `type`");if(this.type=t.type||e[0],t.start&&-1===i.indexOf(t.start))throw new Error("Vivus [constructor]: "+t.start+" is not an existing `start` option");if(this.start=t.start||i[0],this.isIE=-1!==window.navigator.userAgent.indexOf("MSIE")||-1!==window.navigator.userAgent.indexOf("Trident/")||-1!==window.navigator.userAgent.indexOf("Edge/"),this.duration=parsePositiveInt(t.duration,120),this.delay=parsePositiveInt(t.delay,null),this.dashGap=parsePositiveInt(t.dashGap,1),this.forceRender=t.hasOwnProperty("forceRender")?!!t.forceRender:this.isIE,this.reverseStack=!!t.reverseStack,this.selfDestroy=!!t.selfDestroy,this.onReady=t.onReady,this.map=[],this.frameLength=this.currentFrame=this.delayUnit=this.speed=this.handle=null,this.ignoreInvisible=!!t.hasOwnProperty("ignoreInvisible")&&!!t.ignoreInvisible,this.animTimingFunction=t.animTimingFunction||Vivus.LINEAR,this.pathTimingFunction=t.pathTimingFunction||Vivus.LINEAR,this.delay>=this.duration)throw new Error("Vivus [constructor]: delay must be shorter than duration")},Vivus.prototype.setCallback=function(t){if(t&&t.constructor!==Function)throw new Error('Vivus [constructor]: "callback" parameter must be a function');this.callback=t||function(){}},Vivus.prototype.mapping=function(){var t,e,i,n,s=i=n=0,r=this.el.querySelectorAll("path");for(h=!1,t=0;t<r.length;t++){var a,o,h,l,u=r[t];this.isInvisible(u)||(l={el:u,length:0,startAt:0,duration:0,isResizeSensitive:!1},"non-scaling-stroke"===u.getAttribute("vector-effect")?(o=u.getBoundingClientRect(),a=u.getBBox(),o=Math.max(o.width/a.width,o.height/a.height),h=l.isResizeSensitive=!0):o=1,l.length=Math.ceil(u.getTotalLength()*o),isNaN(l.length)?window.console&&console.warn&&console.warn("Vivus [mapping]: cannot retrieve a path element length",u):(this.map.push(l),u.style.strokeDasharray=l.length+" "+(l.length+2*this.dashGap),u.style.strokeDashoffset=l.length+this.dashGap,l.length+=this.dashGap,i+=l.length,this.renderPath(t)))}for(h&&console.warn("Vivus: this SVG contains non-scaling-strokes. You should call instance.recalc() when the SVG is resized or you will encounter unwanted behaviour. See https://github.com/maxwellito/vivus#non-scaling for more info."),i=0===i?1:i,this.delay=null===this.delay?this.duration/3:this.delay,this.delayUnit=this.delay/(1<r.length?r.length-1:1),this.reverseStack&&this.map.reverse(),t=0;t<this.map.length;t++){switch(l=this.map[t],this.type){case"delayed":l.startAt=this.delayUnit*t,l.duration=this.duration-this.delay;break;case"oneByOne":l.startAt=n/i*this.duration,l.duration=l.length/i*this.duration;break;case"sync":case"async":case"nsync":l.startAt=0,l.duration=this.duration;break;
vendor: 4,839 bytes, line 4
4case"scenario-sync":u=l.el,e=this.parseAttr(u),l.startAt=s+(parsePositiveInt(e["data-delay"],this.delayUnit)||0),l.duration=parsePositiveInt(e["data-duration"],this.duration),s=void 0!==e["data-async"]?l.startAt:l.startAt+l.duration,this.frameLength=Math.max(this.frameLength,l.startAt+l.duration);break;case"scenario":u=l.el,e=this.parseAttr(u),l.startAt=parsePositiveInt(e["data-start"],this.delayUnit)||0,l.duration=parsePositiveInt(e["data-duration"],this.duration),this.frameLength=Math.max(this.frameLength,l.startAt+l.duration)}n+=l.length,this.frameLength=this.frameLength||this.duration}},Vivus.prototype.recalc=function(){this.mustRecalcScale||(this.mustRecalcScale=requestAnimFrame(function(){this.performLineRecalc()}.bind(this)))},Vivus.prototype.performLineRecalc=function(){for(var t,e,i,n,s=0;s<this.map.length;s++)(t=this.map[s]).isResizeSensitive&&(n=(e=t.el).getBoundingClientRect(),i=e.getBBox(),n=Math.max(n.width/i.width,n.height/i.height),t.length=Math.ceil(e.getTotalLength()*n),e.style.strokeDasharray=t.length+" "+(t.length+2*this.dashGap));this.trace(),this.mustRecalcScale=null},Vivus.prototype.draw=function(){var t=this;if(this.currentFrame+=this.speed,this.currentFrame<=0)this.stop(),this.reset();else{if(!(this.currentFrame>=this.frameLength))return this.trace(),void(this.handle=requestAnimFrame(function(){t.draw()}));this.stop(),this.currentFrame=this.frameLength,this.trace(),this.selfDestroy&&this.destroy()}this.callback(this),this.instanceCallback&&(this.instanceCallback(this),this.instanceCallback=null)},Vivus.prototype.trace=function(){for(var t,e,i=this.animTimingFunction(this.currentFrame/this.frameLength)*this.frameLength,n=0;n<this.map.length;n++)t=(i-(e=this.map[n]).startAt)/e.duration,t=this.pathTimingFunction(Math.max(0,Math.min(1,t))),e.progress!==t&&(e.progress=t,e.el.style.strokeDashoffset=Math.floor(e.length*(1-t)),this.renderPath(n))},Vivus.prototype.renderPath=function(t){var e;this.forceRender&&this.map&&this.map[t]&&(e=(t=this.map[t]).el.cloneNode(!0),t.el.parentNode.replaceChild(e,t.el),t.el=e)},Vivus.prototype.init=function(){this.frameLength=0,this.currentFrame=0,this.map=[],new Pathformer(this.el),this.mapping(),this.starter(),this.onReady&&this.onReady(this)},Vivus.prototype.starter=function(){switch(this.start){case"manual":return;case"autostart":this.play();break;case"inViewport":var t=this,e=function(){t.isInViewport(t.parentEl,1)&&(t.play(),window.removeEventListener("scroll",e))};window.addEventListener("scroll",e),e()}},Vivus.prototype.getStatus=function(){return 0===this.currentFrame?"start":this.currentFrame===this.frameLength?"end":"progress"},Vivus.prototype.reset=function(){return this.setFrameProgress(0)},Vivus.prototype.finish=function(){return this.setFrameProgress(1)},Vivus.prototype.setFrameProgress=function(t){return t=Math.min(1,Math.max(0,t)),this.currentFrame=Math.round(this.frameLength*t),this.trace(),this},Vivus.prototype.play=function(t,e){if(this.instanceCallback=null,t&&"function"==typeof t)this.instanceCallback=t,t=null;else if(t&&"number"!=typeof t)throw new Error("Vivus [play]: invalid speed");return e&&"function"==typeof e&&!this.instanceCallback&&(this.instanceCallback=e),this.speed=t||1,this.handle||this.draw(),this},Vivus.prototype.stop=function(){return this.handle&&(cancelAnimFrame(this.handle),this.handle=null),this},Vivus.prototype.destroy=function(){var t,e;for(this.stop(),t=0;t<this.map.length;t++)(e=this.map[t]).el.style.strokeDashoffset=null,e.el.style.strokeDasharray=null,this.renderPath(t)},Vivus.prototype.isInvisible=function(t){var e=t.getAttribute("data-ignore");return null!==e?"false"!==e:!!this.ignoreInvisible&&!(e=t.getBoundingClientRect()).width&&!e.height},Vivus.prototype.parseAttr=function(t){var e,i={};if(t&&t.attributes)for(var n=0;n<t.attributes.length;n++)i[(e=t.attributes[n]).name]=e.value;return i},Vivus.prototype.isInViewport=function(t,e){var i=this.scrollY(),n=i+this.getViewportH(),t=t.getBoundingClientRect(),s=t.height,t=i+t.top;return t+s*(e=e||0)<=n&&i<=t+s},Vivus.prototype.getViewportH=function(){var t=this.docElem.clientHeight,e=window.innerHeight;return t<e?e:t},Vivus.prototype.scrollY=function(){return window.pageYOffset||this.docElem.scrollTop},setupEnv=function(){Vivus.prototype.docElem||(Vivus.prototype.docElem=window.document.documentElement,requestAnimFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},cancelAnimFrame=window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||window.msCancelAnimationFrame||function(t){return window.clearTimeout(t)})},parsePositiveInt=function(t,e){t=parseInt(t,10);return 0<=t?t:e};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.