d2728a5.js.map 32 KB

1
  1. {"version":3,"sources":["webpack:///./node_modules/lodash.throttle/index.js","webpack:///./pages/article/_type.vue?a3cb","webpack:///./assets/img/article/About.png","webpack:///./assets/img/article/Advantage.png","webpack:///./assets/img/article/Capability.png","webpack:///./assets/img/article/Compliance.png","webpack:///./pages/article/_type.vue?9971","webpack:///./pages/article/_type.vue","webpack:///./pages/article/_type.vue?8205","webpack:///./pages/article/_type.vue?9d8a"],"names":["FUNC_ERROR_TEXT","reTrim","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","parseInt","freeGlobal","global","Object","freeSelf","self","root","Function","objectToString","prototype","toString","nativeMax","Math","max","nativeMin","min","now","Date","debounce","func","wait","options","lastArgs","lastThis","maxWait","result","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","TypeError","invokeFunc","time","args","thisArg","undefined","apply","shouldInvoke","timeSinceLastCall","timerExpired","trailingEdge","setTimeout","remainingWait","debounced","isInvoking","arguments","this","leadingEdge","toNumber","isObject","cancel","clearTimeout","flush","value","type","isObjectLike","call","isSymbol","other","valueOf","replace","isBinary","test","slice","module","exports","data","articleLists","src","require","n","nav","listLoading","navMenuVisible","isScrollingToTarget","watch","newValue","oldValue","window","scrollTo","top","behavior","created","a","$route","params","getList","mounted","addEventListener","$_resizeHandler","$_handleScroll","beforeDestroy","removeEventListener","methods","_this","hyphensTitle","$axios","post","page","limit","then","res","_res$result$data","code","$set","map","item","replaceSpacesWithHyphens","title","content","match","attributes","newAttributes","includes","concat","catch","smoothScroll","event","target","_this2","preventDefault","escapedSelector","CSS","escape","element","document","querySelector","selNav","offsetPosition","getBoundingClientRect","scrollY","str","toggle","items","show","replaceHyphensWithSpaces","throttle","width","body","clientWidth","_step","anchors","querySelectorAll","scrollTop","currentAnchor","_iterator","_createForOfIteratorHelper","s","done","anchor","err","e","f","anchorId","getAttribute","component","_vm$articleLists$_vm$","_vm$articleLists$_vm$4","_vm","_c","_self","staticClass","on","$event","_v","directives","name","rawName","expression","_l","opt","i","key","class","active","attrs","_s","_vm$articleLists$_vm$2","id","stopPropagation","label_ids","_vm$articleLists$_vm$3","logo","_e","description","domProps","length"],"mappings":"+EAAA,YAUA,IAAIA,EAAkB,sBASlBC,EAAS,aAGTC,EAAa,qBAGbC,EAAa,aAGbC,EAAY,cAGZC,EAAeC,SAGfC,EAA8B,iBAAVC,GAAsBA,GAAUA,EAAOC,SAAWA,QAAUD,EAGhFE,EAA0B,iBAARC,MAAoBA,MAAQA,KAAKF,SAAWA,QAAUE,KAGxEC,EAAOL,GAAcG,GAAYG,SAAS,cAATA,GAUjCC,EAPcL,OAAOM,UAOQC,SAG7BC,EAAYC,KAAKC,IACjBC,EAAYF,KAAKG,IAkBjBC,EAAM,WACR,OAAOV,EAAKW,KAAKD,KACnB,EAwDA,SAASE,EAASC,EAAMC,EAAMC,GAC5B,IAAIC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EAAiB,EACjBC,GAAU,EACVC,GAAS,EACTC,GAAW,EAEf,GAAmB,mBAARZ,EACT,MAAM,IAAIa,UAAUtC,GAUtB,SAASuC,EAAWC,MAClB,IAAIC,EAAOb,EACPc,EAAUb,EAKd,OAHAD,EAAWC,OAAWc,EACtBT,EAAiBM,KACjBT,EAASN,EAAKmB,MAAMF,EAASD,EAE/B,CAmBA,SAASI,EAAaL,MACpB,IAAIM,EAAoBN,KAAOP,EAM/B,YAAyBU,IAAjBV,GAA+Ba,GAAqBpB,GACzDoB,EAAoB,GAAOV,GANJI,KAAON,GAM8BJ,CACjE,CAEA,SAASiB,IACP,IAAIP,KAAOlB,IACX,GAAIuB,EAAaL,MACf,OAAOQ,EAAaR,MAGtBR,EAAUiB,WAAWF,EAzBvB,SAAuBP,MACrB,IAEIT,EAASL,GAFWc,KAAOP,GAI/B,OAAOG,EAAShB,EAAUW,EAAQD,GAHRU,KAAON,IAGkCH,CACrE,CAmBqCmB,CAAcV,MACnD,CAEA,SAASQ,EAAaR,MAKpB,OAJAR,OAAUW,EAINN,GAAY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`lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors <https://jquery.org/>\n * Released under MIT license <https://lodash.com/license>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n result = wait - timeSinceLastCall;\n\n return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\n/**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\nfunction throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = throttle;\n","// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","module.exports = __webpack_public_path__ + \"img/About.c316d55.png\";","module.exports = __webpack_public_path__ + \"img/Advantage.cff9a4c.png\";","module.exports = __webpack_public_path__ + \"img/Capability.f9d3ed9.png\";","module.exports = __webpack_public_path__ + \"img/Compliance.d2864d5.png\";","export * from \"-!../../node_modules/extract-css-chunks-webpack-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??ref--7-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_type.vue?vue&type=style&index=0&id=747a0ff2&prod&lang=scss&scoped=true\"","\nimport throttle from 'lodash.throttle'\nexport default {\n data() {\n return {\n articleLists: [\n {\n src: require('@/assets/img/article/About.png'),\n n: 'About Us',\n nav: '',\n },\n {\n src: require('@/assets/img/article/Advantage.png'),\n n: 'Our Advantage',\n nav: '',\n },\n {\n src: require('@/assets/img/article/Capability.png'),\n n: 'Capability',\n nav: '',\n },\n {\n src: require('@/assets/img/article/Compliance.png'),\n n: 'Compliance',\n nav: '',\n },\n ],\n type: 1,\n listLoading: true,\n navMenuVisible: true,\n isScrollingToTarget: false,\n }\n },\n watch: {\n type(newValue, oldValue) {\n if (process.client && newValue !== oldValue) {\n window.scrollTo({\n top: 0,\n behavior: 'smooth',\n })\n }\n },\n },\n created() {\n let a\n switch (this.$route.params.type) {\n case 'About-Us':\n a = 0\n break\n\n case 'Our-Advantage':\n a = 1\n break\n\n case 'Capability':\n a = 2\n break\n\n case 'Compliance':\n a = 3\n break\n default:\n a = 0\n }\n this.getList(a)\n },\n mounted() {\n window.addEventListener('resize', this.$_resizeHandler)\n window.addEventListener('scroll', this.$_handleScroll) // 监听滚动事件\n },\n beforeDestroy() {\n window.removeEventListener('resize', this.$_resizeHandler)\n window.removeEventListener('scroll', this.$_handleScroll) // 解绑滚动事件\n },\n methods: {\n getList(type) {\n this.type = type\n if (this.articleLists[type].data) {\n this.articleLists[type].nav =\n this.articleLists[type].data[0].hyphensTitle\n window.scrollTo({\n top: 0,\n behavior: 'smooth',\n })\n return\n }\n this.listLoading = true\n\n this.$axios\n .post('/uk-api/home/articleList', {\n type: this.type + 1,\n page: 1,\n limit: 1000, // 旧接口迭代,后端不去掉分页\n })\n .then(res => {\n if (res.code === 1) {\n this.$set(this.articleLists[type], 'data', [])\n this.articleLists[type].data = res.result.data?.map(item => {\n this.$set(item, 'show', true)\n item.hyphensTitle = this.replaceSpacesWithHyphens(item.title)\n item.content = item.content.replace(\n /<img([^>]*)>/g,\n (match, attributes) => {\n let newAttributes = attributes\n // 如果已有 style 属性\n if (attributes.includes('style=')) {\n // 提取原有的 style 属性值\n const style =\n (attributes.match(/style=\"([^\"]*)\"/) || [])[1] || ''\n // 检查是否已经包含 max-width\n if (!style.includes('max-width')) {\n // 如果没有 max-width,则添加 max-width: 100%;\n newAttributes = attributes.replace(\n /style=\"([^\"]*)\"/,\n `style=\"$1;max-width:100%;\"`\n )\n }\n } else {\n // 如果没有 style 属性,则添加 style=\"max-width:100%;\"\n newAttributes = `${attributes} style=\"max-width:100%;\"`\n }\n return `<img${newAttributes}>`\n }\n )\n return item\n })\n this.articleLists[type].nav =\n this.articleLists[type].data[0].hyphensTitle\n this.listLoading = false\n }\n })\n .catch(() => {\n this.listLoading = false\n })\n },\n smoothScroll(event, target) {\n if (process.client) {\n event && event.preventDefault()\n const escapedSelector = CSS.escape(target)\n const element = document.querySelector(`#${escapedSelector}`)\n\n if (element) {\n this.isScrollingToTarget = true // 设置标志\n this.selNav(target) // 立即更新选中状态\n\n const elementPosition =\n element.getBoundingClientRect().top + window.scrollY\n const offsetPosition = elementPosition - 230\n\n window.scrollTo({\n top: offsetPosition,\n behavior: 'smooth',\n })\n\n // 等待滚动动画完成后重置标志\n setTimeout(() => {\n this.isScrollingToTarget = false\n }, 1000) // 设置稍长于滚动动画的时间\n }\n }\n },\n selNav(str) {\n this.articleLists[this.type].nav = str\n },\n toggle(items) {\n this.$set(items, 'show', !items.show)\n },\n replaceSpacesWithHyphens(str) {\n return str.replace(/\\s+/g, '-')\n },\n replaceHyphensWithSpaces(str) {\n return str.replace(/-/g, ' ')\n },\n $_resizeHandler: throttle(function () {\n const width = window.document.body.clientWidth\n this.navMenuVisible = width >= 1200\n }, 500),\n\n $_handleScroll: throttle(function () {\n // 如果是点击导航触发的滚动,不处理滚动监听\n if (this.isScrollingToTarget) return\n\n const anchors = document.querySelectorAll('article a[id]')\n const scrollTop = window.scrollY\n const buffer = 230\n\n let currentAnchor = null\n\n for (const anchor of anchors) {\n const rect = anchor.getBoundingClientRect()\n const elementTop = rect.top + window.scrollY\n\n if (elementTop <= scrollTop + buffer) {\n currentAnchor = anchor\n } else {\n break\n }\n }\n\n if (currentAnchor) {\n const anchorId = currentAnchor.getAttribute('id')\n this.selNav(anchorId)\n }\n }, 200),\n },\n}\n","import mod from \"-!../../node_modules/babel-loader/lib/index.js??ref--2-0!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_type.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/babel-loader/lib/index.js??ref--2-0!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./_type.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./_type.vue?vue&type=template&id=747a0ff2&scoped=true\"\nimport script from \"./_type.vue?vue&type=script&lang=js\"\nexport * from \"./_type.vue?vue&type=script&lang=js\"\nimport style0 from \"./_type.vue?vue&type=style&index=0&id=747a0ff2&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"747a0ff2\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}