-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.ab953cea.map
1 lines (1 loc) · 41.3 KB
/
app.ab953cea.map
1
{"version":3,"sources":["js/app.js","../node_modules/sweet-scroll/sweet-scroll.js","js/sweet-scroll.js","js/translate.js"],"names":["sweetScroll","SweetScroll","duration","trigger","easing","select","document","getElementById","onchange","translate","options","selectedIndex","value","ja","getElementsByClassName","en","i","length","addEventListener","toEN","toJP","lang","children","item","innerHTML"],"mappings":";;;;;ACirBA,IAAA,EAAA,EAAA,UAAA,IAhrBA,SAAA,EAAA,GACA,iBAAA,SAAA,oBAAA,OAAA,OAAA,QAAA,IACA,mBAAA,GAAA,EAAA,IAAA,EAAA,GACA,EAAA,YAAA,IAHA,CAIA,KAAA,WAAA,aAiBA,IAAA,EAAA,OAAA,QAAA,SAAA,GACA,IAAA,IAAA,EAAA,EAAA,EAAA,EAAA,UAAA,OAAA,EAAA,EAAA,IAEA,IAAA,IAAA,KADA,EAAA,UAAA,GACA,OAAA,UAAA,eAAA,KAAA,EAAA,KAAA,EAAA,GAAA,EAAA,IAEA,OAAA,GAIA,IAAA,oBAAA,SACA,OAAA,WACA,OAAA,SAAA,eACA,IAAA,IAEA,OAAA,SACA,cAAA,OAAA,SACA,UAAA,OAAA,SAAA,UACA,EAAA,WACA,IAAA,GAAA,EACA,IAAA,EACA,OAAA,EAGA,IACA,OAAA,iBAAA,OAAA,KAAA,OAAA,eAAA,GAAA,UAAA,CACA,IAAA,WACA,GAAA,MAIA,MAAA,IAEA,OAAA,EAfA,GAkBA,EAAA,SAAA,GAAA,MAAA,iBAAA,GACA,EAAA,SAAA,GAAA,MAAA,mBAAA,GACA,EAAA,SAAA,GAAA,OAAA,MAAA,QAAA,IAEA,EAAA,SAAA,GAAA,OAAA,aAAA,SACA,EAAA,SAAA,EAAA,GAAA,OAAA,GAAA,EAAA,eAAA,IAEA,EAAA,EAAA,OAAA,sBAAA,KAAA,QAAA,KACA,EAAA,EAAA,OAAA,qBAAA,KAA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PV,EAAU,MAGZ,SAASW,IACPX,EAAU,MAGZ,SAASA,EAAUY,GACT,MAANA,IAAWf,SAASC,eAAe,SAASe,SAASC,KAAK,GAAGC,UAC7D,4QAEM,MAANH,IAAWf,SAASC,eAAe,SAASe,SAASC,KAAK,GAAGC,UAC7D,2LAGJf,EAAU;;;;AHjCV,aADA,QAAA,sBACA,QAAA","file":"app.ab953cea.map","sourceRoot":"../src","sourcesContent":["import '../style/main.sass'\nimport '../js/*.js'\n","/*! @preserve sweet-scroll v3.0.1 - tsuyoshiwada | MIT License */\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :\n typeof define === 'function' && define.amd ? define(factory) :\n (global.SweetScroll = factory());\n}(this, (function () { 'use strict';\n\n /*! *****************************************************************************\r\n Copyright (c) Microsoft Corporation. All rights reserved.\r\n Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\n this file except in compliance with the License. You may obtain a copy of the\r\n License at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\n THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\n WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\n MERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\n See the Apache Version 2.0 License for specific language governing permissions\r\n and limitations under the License.\r\n ***************************************************************************** */\r\n\r\n var __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n };\n\n // @link https://github.com/JedWatson/exenv/blob/master/index.js\n var canUseDOM = !!(typeof window !== 'undefined' &&\n window.document &&\n window.document.createElement);\n var canUseHistory = !canUseDOM\n ? false\n : (window.history &&\n 'pushState' in window.history &&\n window.location.protocol !== 'file:');\n var canUsePassiveOption = (function () {\n var support = false;\n if (!canUseDOM) {\n return support;\n }\n /* tslint:disable:no-empty */\n try {\n window.addEventListener('test', null, Object.defineProperty({}, 'passive', {\n get: function () {\n support = true;\n },\n }));\n }\n catch (e) { }\n /* tslint:enable */\n return support;\n })();\n\n var isString = function (obj) { return typeof obj === 'string'; };\n var isFunction = function (obj) { return typeof obj === 'function'; };\n var isArray = function (obj) { return Array.isArray(obj); };\n var isNumeric = function (obj) { return !isArray(obj) && ((obj - parseFloat(obj)) + 1) >= 0; };\n var isElement = function (obj) { return obj instanceof Element; };\n var hasProp = function (obj, key) { return (obj && obj.hasOwnProperty(key)); };\n\n var raf = canUseDOM ? window.requestAnimationFrame.bind(window) : null;\n var caf = canUseDOM ? window.cancelAnimationFrame.bind(window) : null;\n\n /* tslint:disable:curly */\n /* tslint:disable:no-conditional-assignment */\n var cos = Math.cos, sin = Math.sin, pow = Math.pow, sqrt = Math.sqrt, PI = Math.PI;\n var easings = {\n linear: function (p) { return p; },\n easeInQuad: function (_, t, b, c, d) { return (c * (t /= d) * t + b); },\n easeOutQuad: function (_, t, b, c, d) { return (-c * (t /= d) * (t - 2) + b); },\n easeInOutQuad: function (_, t, b, c, d) { return ((t /= d / 2) < 1 ? c / 2 * t * t + b : -c / 2 * ((--t) * (t - 2) - 1) + b); },\n easeInCubic: function (_, t, b, c, d) { return (c * (t /= d) * t * t + b); },\n easeOutCubic: function (_, t, b, c, d) { return (c * ((t = t / d - 1) * t * t + 1) + b); },\n easeInOutCubic: function (_, t, b, c, d) { return ((t /= d / 2) < 1 ? c / 2 * t * t * t + b : c / 2 * ((t -= 2) * t * t + 2) + b); },\n easeInQuart: function (_, t, b, c, d) { return (c * (t /= d) * t * t * t + b); },\n easeOutQuart: function (_, t, b, c, d) { return (-c * ((t = t / d - 1) * t * t * t - 1) + b); },\n easeInOutQuart: function (_, t, b, c, d) { return ((t /= d / 2) < 1 ? c / 2 * t * t * t * t + b : -c / 2 * ((t -= 2) * t * t * t - 2) + b); },\n easeInQuint: function (_, t, b, c, d) { return (c * (t /= d) * t * t * t * t + b); },\n easeOutQuint: function (_, t, b, c, d) { return (c * ((t = t / d - 1) * t * t * t * t + 1) + b); },\n easeInOutQuint: function (_, t, b, c, d) { return ((t /= d / 2) < 1 ? c / 2 * t * t * t * t * t + b : c / 2 * ((t -= 2) * t * t * t * t + 2) + b); },\n easeInSine: function (_, t, b, c, d) { return (-c * cos(t / d * (PI / 2)) + c + b); },\n easeOutSine: function (_, t, b, c, d) { return (c * sin(t / d * (PI / 2)) + b); },\n easeInOutSine: function (_, t, b, c, d) { return (-c / 2 * (cos(PI * t / d) - 1) + b); },\n easeInExpo: function (_, t, b, c, d) { return ((t === 0) ? b : c * pow(2, 10 * (t / d - 1)) + b); },\n easeOutExpo: function (_, t, b, c, d) { return ((t === d) ? b + c : c * (-pow(2, -10 * t / d) + 1) + b); },\n easeInOutExpo: function (_, t, b, c, d) {\n if (t === 0)\n return b;\n if (t === d)\n return b + c;\n if ((t /= d / 2) < 1)\n return c / 2 * pow(2, 10 * (t - 1)) + b;\n return c / 2 * (-pow(2, -10 * --t) + 2) + b;\n },\n easeInCirc: function (_, t, b, c, d) { return (-c * (sqrt(1 - (t /= d) * t) - 1) + b); },\n easeOutCirc: function (_, t, b, c, d) { return (c * sqrt(1 - (t = t / d - 1) * t) + b); },\n easeInOutCirc: function (_, t, b, c, d) { return ((t /= d / 2) < 1 ? -c / 2 * (sqrt(1 - t * t) - 1) + b : c / 2 * (sqrt(1 - (t -= 2) * t) + 1) + b); },\n };\n\n var directionMethodMap = {\n y: 'scrollTop',\n x: 'scrollLeft',\n };\n var directionPropMap = {\n y: 'pageYOffset',\n x: 'pageXOffset',\n };\n var getScroll = function ($el, direction) { return ($el[directionMethodMap[direction]]); };\n var setScroll = function ($el, offset, direction) {\n $el[directionMethodMap[direction]] = offset;\n };\n var getOffset = function ($el, $context) {\n var rect = $el.getBoundingClientRect();\n if (rect.width || rect.height) {\n var scroll_1 = { top: 0, left: 0 };\n var $ctx = void 0;\n if (isRootContainer($context)) {\n $ctx = document.documentElement;\n scroll_1.top = window[directionPropMap.y];\n scroll_1.left = window[directionPropMap.x];\n }\n else {\n $ctx = $context;\n var cRect = $ctx.getBoundingClientRect();\n scroll_1.top = (cRect.top * -1) + $ctx[directionMethodMap.y];\n scroll_1.left = (cRect.left * -1) + $ctx[directionMethodMap.x];\n }\n return {\n top: (rect.top + scroll_1.top) - $ctx.clientTop,\n left: (rect.left + scroll_1.left) - $ctx.clientLeft,\n };\n }\n return rect;\n };\n\n var $$ = function (selector) { return (Array.prototype.slice.call((!selector ? [] : document.querySelectorAll(selector)))); };\n var $ = function (selector) { return ($$(selector).shift() || null); };\n var matches = function ($el, selector) {\n if (isElement(selector)) {\n return $el === selector;\n }\n var results = $$(selector);\n var i = results.length;\n // tslint:disable-next-line no-empty\n while (--i >= 0 && results[i] !== $el) { }\n return i > -1;\n };\n var isRootContainer = function ($el) { return ($el === document.documentElement || $el === document.body); };\n var findScrollable = function (selectors, direction) {\n var method = directionMethodMap[direction];\n var $elements = isElement(selectors) ? [selectors] : $$(selectors);\n var $div = document.createElement('div');\n for (var i = 0; i < $elements.length; i += 1) {\n var $el = $elements[i];\n var $result = null;\n if ($el[method] > 0) {\n $result = $el;\n }\n else {\n var outerWidth_1 = window.outerWidth, innerWidth_1 = window.innerWidth;\n var zoom = outerWidth_1 ? outerWidth_1 / innerWidth_1 : 1;\n $div.style.width = $el.clientWidth + 1 + \"px\";\n $div.style.height = $el.clientHeight + 1 + \"px\";\n $el.appendChild($div);\n $el[method] = Math.max(1, 1.5 / zoom);\n if ($el[method] > 0) {\n $result = $el;\n }\n $el[method] = 0;\n $el.removeChild($div);\n }\n if ($result) {\n return $result;\n }\n }\n return null;\n };\n\n var getHeight = function ($el) { return (Math.max($el.scrollHeight, $el.clientHeight, $el.offsetHeight)); };\n var getWidth = function ($el) { return (Math.max($el.scrollWidth, $el.clientWidth, $el.offsetWidth)); };\n var getSize = function ($el) { return ({\n width: getWidth($el),\n height: getHeight($el),\n }); };\n var getViewportAndElementSizes = function ($el) {\n var isRoot = isRootContainer($el);\n return {\n viewport: {\n width: isRoot\n ? Math.min(window.innerWidth, document.documentElement.clientWidth)\n : $el.clientWidth,\n height: isRoot ? window.innerHeight : $el.clientHeight,\n },\n size: isRoot\n ? {\n width: Math.max(getWidth(document.body), getWidth(document.documentElement)),\n height: Math.max(getHeight(document.body), getHeight(document.documentElement)),\n }\n : getSize($el),\n };\n };\n\n var wheelEventName = (function () {\n if (!canUseDOM) {\n return 'wheel';\n }\n return 'onwheel' in document ? 'wheel' : 'mousewheel';\n })();\n var eventName = function (name) { return (name === 'wheel' ? wheelEventName : name); };\n var apply = function ($el, method, event, listener, passive) {\n event.split(' ').forEach(function (name) {\n $el[method](eventName(name), listener, canUsePassiveOption ? { passive: passive } : false);\n });\n };\n var addEvent = function ($el, event, listener, passive) {\n apply($el, 'addEventListener', event, listener, passive);\n };\n var removeEvent = function ($el, event, listener, passive) {\n apply($el, 'removeEventListener', event, listener, passive);\n };\n\n var reRelativeToken = /^(\\+|-)=(\\d+(?:\\.\\d+)?)$/;\n var parseCoordinate = function (coordinate, enableVertical) {\n var res = { top: 0, left: 0, relative: false };\n // Object ({ top: {n}, left: {n} })\n if (hasProp(coordinate, 'top') || hasProp(coordinate, 'left')) {\n res = __assign({}, res, coordinate);\n // Array ([{n}, [{n}])\n }\n else if (isArray(coordinate)) {\n if (coordinate.length > 1) {\n res.top = coordinate[0];\n res.left = coordinate[1];\n }\n else if (coordinate.length === 1) {\n res.top = enableVertical ? coordinate[0] : 0;\n res.left = !enableVertical ? coordinate[0] : 0;\n }\n else {\n return null;\n }\n // Number\n }\n else if (isNumeric(coordinate)) {\n if (enableVertical) {\n res.top = coordinate;\n }\n else {\n res.left = coordinate;\n }\n // String ('+={n}', '-={n}')\n }\n else if (isString(coordinate)) {\n var m = coordinate.trim().match(reRelativeToken);\n if (!m) {\n return null;\n }\n var op = m[1];\n var val = parseInt(m[2], 10);\n if (op === '+') {\n res.top = enableVertical ? val : 0;\n res.left = !enableVertical ? val : 0;\n }\n else {\n res.top = enableVertical ? -val : 0;\n res.left = !enableVertical ? -val : 0;\n }\n res.relative = true;\n }\n else {\n return null;\n }\n return res;\n };\n\n var defaultOptions = {\n trigger: '[data-scroll]',\n header: '[data-scroll-header]',\n duration: 1000,\n easing: 'easeOutQuint',\n offset: 0,\n vertical: true,\n horizontal: false,\n cancellable: true,\n updateURL: false,\n preventDefault: true,\n stopPropagation: true,\n quickMode: false,\n // Callbacks\n before: null,\n after: null,\n cancel: null,\n complete: null,\n step: null,\n };\n\n var CONTAINER_CLICK_EVENT = 'click';\n var CONTAINER_STOP_EVENT = 'wheel touchstart touchmove';\n var SweetScroll = /** @class */ (function () {\n /**\n * Constructor\n */\n function SweetScroll(options, container) {\n var _this = this;\n this.ctx = {\n $trigger: null,\n opts: null,\n progress: false,\n pos: null,\n startPos: null,\n easing: null,\n start: 0,\n id: 0,\n cancel: false,\n hash: null,\n };\n /**\n * Handle each frame of the animation.\n */\n this.loop = function (time) {\n var _a = _this, $el = _a.$el, ctx = _a.ctx;\n if (!ctx.start) {\n ctx.start = time;\n }\n if (!ctx.progress || !$el) {\n _this.stop();\n return;\n }\n var options = ctx.opts;\n var offset = ctx.pos;\n var start = ctx.start;\n var startOffset = ctx.startPos;\n var easing = ctx.easing;\n var duration = options.duration;\n var directionMap = { top: 'y', left: 'x' };\n var timeElapsed = time - start;\n var t = Math.min(1, Math.max(timeElapsed / duration, 0));\n Object.keys(offset).forEach(function (key) {\n var value = offset[key];\n var initial = startOffset[key];\n var delta = value - initial;\n if (delta !== 0) {\n var val = easing(t, duration * t, 0, 1, duration);\n setScroll($el, Math.round(initial + delta * val), directionMap[key]);\n }\n });\n if (timeElapsed <= duration) {\n _this.hook(options, 'step', t);\n ctx.id = SweetScroll.raf(_this.loop);\n }\n else {\n _this.stop(true);\n }\n };\n /**\n * Handling of container click event.\n */\n this.handleClick = function (e) {\n var opts = _this.opts;\n var $el = e.target;\n for (; $el && $el !== document; $el = $el.parentNode) {\n if (!matches($el, opts.trigger)) {\n continue;\n }\n var dataOptions = JSON.parse($el.getAttribute('data-scroll-options') || '{}');\n var data = $el.getAttribute('data-scroll');\n var to = data || $el.getAttribute('href');\n var options = __assign({}, opts, dataOptions);\n var preventDefault = options.preventDefault, stopPropagation = options.stopPropagation, vertical = options.vertical, horizontal = options.horizontal;\n if (preventDefault) {\n e.preventDefault();\n }\n if (stopPropagation) {\n e.stopPropagation();\n }\n // Passes the trigger element to callback\n _this.ctx.$trigger = $el;\n if (horizontal && vertical) {\n _this.to(to, options);\n }\n else if (vertical) {\n _this.toTop(to, options);\n }\n else if (horizontal) {\n _this.toLeft(to, options);\n }\n }\n };\n /**\n * Handling of container stop events.\n */\n this.handleStop = function (e) {\n var ctx = _this.ctx;\n var opts = ctx.opts;\n if (opts && opts.cancellable) {\n ctx.cancel = true;\n _this.stop();\n }\n else {\n e.preventDefault();\n }\n };\n var opts = __assign({}, defaultOptions, (options || {}));\n var vertical = opts.vertical, horizontal = opts.horizontal;\n var selector = container === undefined ? 'body,html' : container;\n var $container = null;\n if (canUseDOM) {\n if (vertical) {\n $container = findScrollable(selector, 'y');\n }\n if (!$container && horizontal) {\n $container = findScrollable(selector, 'x');\n }\n }\n if ($container) {\n this.opts = opts;\n this.$el = $container;\n this.bind(true, false);\n }\n }\n /**\n * SweetScroll instance factory.\n */\n SweetScroll.create = function (options, container) {\n return new SweetScroll(options, container);\n };\n /**\n * Scroll animation to the specified position.\n */\n SweetScroll.prototype.to = function (distance, options) {\n if (!canUseDOM) {\n return;\n }\n var _a = this, $el = _a.$el, ctx = _a.ctx, currentOptions = _a.opts;\n var $trigger = ctx.$trigger;\n var opts = __assign({}, currentOptions, options || {});\n var optOffset = opts.offset, vertical = opts.vertical, horizontal = opts.horizontal;\n var $header = isElement(opts.header) ? opts.header : $(opts.header);\n var hash = isString(distance) && /^#/.test(distance) ? distance : null;\n ctx.opts = opts; // Temporary options\n ctx.cancel = false; // Disable the call flag of `cancel`\n ctx.hash = hash;\n // Stop current animation\n this.stop();\n // Does not move if the container is not found\n if (!$el) {\n return;\n }\n // Get scroll offset\n var offset = parseCoordinate(optOffset, vertical);\n var coordinate = parseCoordinate(distance, vertical);\n var scroll = { top: 0, left: 0 };\n if (coordinate) {\n if (coordinate.relative) {\n var current = getScroll($el, vertical ? 'y' : 'x');\n scroll.top = vertical ? current + coordinate.top : coordinate.top;\n scroll.left = !vertical ? current + coordinate.left : coordinate.left;\n }\n else {\n scroll = coordinate;\n }\n }\n else if (isString(distance) && distance !== '#') {\n var $target = $(distance);\n if (!$target) {\n return;\n }\n scroll = getOffset($target, $el);\n }\n if (offset) {\n scroll.top += offset.top;\n scroll.left += offset.left;\n }\n if ($header) {\n scroll.top = Math.max(0, scroll.top - getSize($header).height);\n }\n // Normalize scroll offset\n var _b = getViewportAndElementSizes($el), viewport = _b.viewport, size = _b.size;\n scroll.top = vertical\n ? Math.max(0, Math.min(size.height - viewport.height, scroll.top))\n : getScroll($el, 'y');\n scroll.left = horizontal\n ? Math.max(0, Math.min(size.width - viewport.width, scroll.left))\n : getScroll($el, 'x');\n // Call `before`\n // Stop scrolling when it returns false\n if (this.hook(opts, 'before', scroll, $trigger) === false) {\n ctx.opts = null;\n return;\n }\n // Set offset\n ctx.pos = scroll;\n // Run animation!!\n this.start(opts);\n // Bind stop events\n this.bind(false, true);\n };\n /**\n * Scroll animation to specified left position.\n */\n SweetScroll.prototype.toTop = function (distance, options) {\n this.to(distance, __assign({}, options || {}, { vertical: true, horizontal: false }));\n };\n /**\n * Scroll animation to specified top position.\n */\n SweetScroll.prototype.toLeft = function (distance, options) {\n this.to(distance, __assign({}, options || {}, { vertical: false, horizontal: true }));\n };\n /**\n * Scroll animation to specified element.\n */\n SweetScroll.prototype.toElement = function ($element, options) {\n var $el = this.$el;\n if (!canUseDOM || !$el) {\n return;\n }\n this.to(getOffset($element, $el), options || {});\n };\n /**\n * Stop the current scroll animation.\n */\n SweetScroll.prototype.stop = function (gotoEnd) {\n if (gotoEnd === void 0) { gotoEnd = false; }\n var _a = this, $el = _a.$el, ctx = _a.ctx;\n var pos = ctx.pos;\n if (!$el || !ctx.progress) {\n return;\n }\n SweetScroll.caf(ctx.id);\n ctx.progress = false;\n ctx.start = 0;\n ctx.id = 0;\n if (gotoEnd && pos) {\n setScroll($el, pos.left, 'x');\n setScroll($el, pos.top, 'y');\n }\n this.complete();\n };\n /**\n * Update options.\n */\n SweetScroll.prototype.update = function (options) {\n if (this.$el) {\n var opts = __assign({}, this.opts, options);\n this.stop();\n this.unbind(true, true);\n this.opts = opts;\n this.bind(true, false);\n }\n };\n /**\n * Destroy instance.\n */\n SweetScroll.prototype.destroy = function () {\n if (this.$el) {\n this.stop();\n this.unbind(true, true);\n this.$el = null;\n }\n };\n /**\n * Callback methods.\n */\n /* tslint:disable:no-empty */\n SweetScroll.prototype.onBefore = function (_, __) { return true; };\n SweetScroll.prototype.onStep = function (_) { };\n SweetScroll.prototype.onAfter = function (_, __) { };\n SweetScroll.prototype.onCancel = function () { };\n SweetScroll.prototype.onComplete = function (_) { };\n /* tslint:enable */\n /**\n * Start scrolling animation.\n */\n SweetScroll.prototype.start = function (opts) {\n var ctx = this.ctx;\n ctx.opts = opts;\n ctx.progress = true;\n ctx.easing = isFunction(opts.easing)\n ? opts.easing\n : easings[opts.easing];\n // Update start offset.\n var $container = this.$el;\n var offset = ctx.pos;\n var start = {\n top: getScroll($container, 'y'),\n left: getScroll($container, 'x'),\n };\n if (opts.quickMode) {\n var _a = getViewportAndElementSizes($container).viewport, width = _a.width, height = _a.height;\n if (Math.abs(start.top - offset.top) > height) {\n start.top = start.top > offset.top ? offset.top + height : offset.top - height;\n }\n if (Math.abs(start.left - offset.left) > width) {\n start.left = start.left > offset.left ? offset.left + width : offset.left - width;\n }\n }\n ctx.startPos = start;\n // Loop\n ctx.id = SweetScroll.raf(this.loop);\n };\n /**\n * Handle the completion of scrolling animation.\n */\n SweetScroll.prototype.complete = function () {\n var _a = this, $el = _a.$el, ctx = _a.ctx;\n var hash = ctx.hash, cancel = ctx.cancel, opts = ctx.opts, pos = ctx.pos, $trigger = ctx.$trigger;\n if (!$el || !opts) {\n return;\n }\n if (hash != null && hash !== window.location.hash) {\n var updateURL = opts.updateURL;\n if (canUseDOM && canUseHistory && updateURL !== false) {\n window.history[updateURL === 'replace' ? 'replaceState' : 'pushState'](null, '', hash);\n }\n }\n this.unbind(false, true);\n ctx.opts = null;\n ctx.$trigger = null;\n if (cancel) {\n this.hook(opts, 'cancel');\n }\n else {\n this.hook(opts, 'after', pos, $trigger);\n }\n this.hook(opts, 'complete', cancel);\n };\n /**\n * Callback function and method call.\n */\n SweetScroll.prototype.hook = function (options, type) {\n var args = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n args[_i - 2] = arguments[_i];\n }\n var callback = options[type];\n var callbackResult;\n var methodResult;\n // callback\n if (isFunction(callback)) {\n callbackResult = callback.apply(this, args.concat([this]));\n }\n // method\n methodResult = this[\"on\" + (type[0].toUpperCase() + type.slice(1))].apply(this, args);\n return callbackResult !== undefined ? callbackResult : methodResult;\n };\n /**\n * Bind events of container element.\n */\n SweetScroll.prototype.bind = function (click, stop) {\n var _a = this, $el = _a.$el, opts = _a.ctx.opts;\n if ($el) {\n if (click) {\n addEvent($el, CONTAINER_CLICK_EVENT, this.handleClick, false);\n }\n if (stop) {\n addEvent($el, CONTAINER_STOP_EVENT, this.handleStop, opts ? opts.cancellable : true);\n }\n }\n };\n /**\n * Unbind events of container element.\n */\n SweetScroll.prototype.unbind = function (click, stop) {\n var _a = this, $el = _a.$el, opts = _a.ctx.opts;\n if ($el) {\n if (click) {\n removeEvent($el, CONTAINER_CLICK_EVENT, this.handleClick, false);\n }\n if (stop) {\n removeEvent($el, CONTAINER_STOP_EVENT, this.handleStop, opts ? opts.cancellable : true);\n }\n }\n };\n /**\n * You can set Polyfill (or Ponyfill) for browsers that do not support requestAnimationFrame.\n */\n SweetScroll.raf = raf;\n SweetScroll.caf = caf;\n return SweetScroll;\n }());\n\n return SweetScroll;\n\n})));\n","import SweetScroll from 'sweet-scroll'\nconst sweetScroll = new SweetScroll({ // eslint-disable-line\n // offset: -50,\n duration: 700,\n trigger: 'a[href^=\"#\"]',\n easing: \"easeOutQuint\"\n})","var select = document.getElementById( 'langList' );\n\nif(select!= null){\n select.onchange = function()\n {\n var selectedItem = this.options[ this.selectedIndex ];\n translate(selectedItem.value );\n }\n}\nvar ja = document.getElementsByClassName('ja');\nvar en = document.getElementsByClassName('en');\n\nfor(var i = 0 ; i < ja.length ; i++){\n en[i].addEventListener('click', toEN, false);\n ja[i].addEventListener('click', toJP, false);\n}\n\n\nfunction toEN() {\n translate(\"en\");\n}\n\nfunction toJP() {\n translate(\"ja\");\n}\n\nfunction translate(lang){\n\tif(lang==\"en\")document.getElementById(\"about\").children.item(1).innerHTML\n\t = '<div class=\"contentArea\"><h2>ABOUT</h2><p>SHITCOIN was born in 2019.</p><p>SHITCOIN is based on MONACOIN, and the function of NAMECOIN has been added.</p><p>Merge mining with MONACOIN is possible.</p><p>Let`s enjoy the playful Internet with .shit domain.</p></div>';\n\n\tif(lang==\"ja\")document.getElementById(\"about\").children.item(1).innerHTML\n\t = '<div class=\"contentArea\"><h2>ABOUT</h2><p>SHITCOINは2019年に誕生しました。</p><p>MONACOINをベースにNAMECOINの機能を追加してあります。</p><p>MONACOINとのマージマイニングが可能です。</p><p>おバカなインターネットを.shitドメインで楽しみましょう。</p></div>';\n}\n\ntranslate(\"en\")\n"]}