{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///../storefront-reference-architecture/cartridges/app_storefront_base/cartridge/client/default/js/util.js","webpack:///../app_common/cartridges/app_common/cartridge/client/default/js/components/security.js","webpack:///./cartridges/app_custom/cartridge/client/default/js/search.js","webpack:///./cartridges/app_custom/cartridge/client/default/js/search/search.js","webpack:///../storefront-reference-architecture/cartridges/app_storefront_base/cartridge/client/default/js/search/search.js","webpack:///./cartridges/app_custom/cartridge/client/default/js/product/wishlist.js","webpack:///../plugin_wishlists/cartridges/plugin_wishlists/cartridge/client/default/js/product/wishlist.js","webpack:///./cartridges/app_custom/cartridge/client/default/js/tny_main.js","webpack:///../sswd_base/cartridges/sswd_base/cartridge/client/default/js/util/XStringUtils.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","include","keys","forEach","getCsrfObject","$","data","processInclude","document","ready","wishlist","search","tnyMain","encodeHtml","updateDom","$results","selector","$updates","find","empty","html","handleRefinements","each","this","removeClass","activeDiv","className","replace","addClass","attr","parseResults","response","specialHandlers","closeSlide","toggleClass","remove","exportsSearch","extend","showSlideRefineBar","on","e","preventDefault","append","closeSlideRefineBar","applyFilter","stopPropagation","button","message","errorHtml","setTimeout","removeAttr","createErrorNotification","spinner","start","trigger","attributeId","last","hasClass","ajax","url","page","selectedUrl","method","success","addObserverFadeIn","stop","parent","focus","error","closeFilterButton","filterButton","closest","filterHref","filterInList","showMore","showMoreUrl","replaceWith","options","option","id","val","updateSortOptions","sort","addToWishlist","getContent","$element","$target","filter","show","siblings","closeRefinements","hide","resize","window","showContentTab","displayMessage","$button","msg","csrfError","$messages","length","$alert","exportWishlist","async","pid","optionId","optionVal","csrfObject","csrfTokenName","tokenName","csrfTokenValue","token","postdata","type","dataType","err","responseJSON","status","beforePos","areaTop","resetAreaTop","submenu","getElementById","offset","width","top","scroll","scrollTop","height","$submenu","$brand","$header","$taneyaImg","$tnychImg","$harieImg","pos","readyInit","intersectionOptions","root","rootMargin","threshold","observerfadeIn","IntersectionObserver","entries","entry","isIntersecting","target","unobserve","querySelectorAll","observe","observerfadeUp","observerfadeDown","observerfadeLeft","observerfadeRight","addEventListener","hash","location","tab","relatedTarget","$parent","$fadeInEffects","index","elem","str","match","convertToHyphen","convertToHalfWidthDigit","String","fromCharCode","charCodeAt","convertToPSM","convertToFullWidth","katakanaMap","�カ��","�キ��","�ク��","�ケ��","�コ��","�サ��","�シ��","�ス��","�セ��","�ソ��","���","��セ�","�ゑセ�","��セ�","��セ�","�奇セ�","�具セ�","�鯉セ�","�搾セ�","�趣セ�","�奇セ�","�具セ�","�鯉セ�","�搾セ�","�趣セ�","�ウ��","�懶セ�","�ヲ��","�ア","�イ","�ウ","�エ","�オ","�カ","�キ","�ク","�ケ","�コ","�サ","�シ","�ス","�セ","�ソ","�","��","��","��","��","��","��","��","��","��","��","��","��","��","��","��","��","��","��","��","��","��","��","��","��","��","��","��","��","�ヲ","��","�ァ","�ィ","�ゥ","�ェ","�ォ","�ッ","�ャ","�ュ","�ョ","�ー","��","��","katakanaRegExp","RegExp","join","normalize","char","convertFullWidthKatakanaToHalfWidthKatakana","繧ャ","繧ョ","繧ー","繧イ","繧エ","繧カ","繧ク","繧コ","繧シ","繧セ","繝","繝�","繝�","繝�","繝�","繝�","繝�","繝�","繝�","繝�","繝�","繝�","繝�","繝�","繝�","繝エ","繝キ","繝コ","繧「","繧、","繧ヲ","繧ィ","繧ェ","繧ォ","繧ュ","繧ッ","繧ア","繧ウ","繧オ","繧キ","繧ケ","繧サ","繧ス","繧ソ","繝�","繝�","繝�","繝�","繝�","繝�","繝�","繝�","繝�","繝�","繝�","繝�","繝�","繝�","繝�","繝�","繝�","繝。","繝「","繝、","繝ヲ","繝ィ","繝ゥ","繝ェ","繝ォ","繝ャ","繝ュ","繝ッ","繝イ","繝ウ","繧。","繧」","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EAAY2F,IAASA","file":"default\\js\\search.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 162);\n","'use strict';\n\nmodule.exports = function (include) {\n if (typeof include === 'function') {\n include();\n } else if (typeof include === 'object') {\n Object.keys(include).forEach(function (key) {\n if (typeof include[key] === 'function') {\n include[key]();\n }\n });\n }\n};\n","'use strict';\n\n/**\n * 繧サ繧ュ繝・繝ェ繝�ぅ繝シ縺ォ髢「縺吶k蜃ヲ逅�↓蠢�ヲ√↑諠��ア繧呈�シ邏阪☆繧九◆繧√�繧ソ繧ー繧貞叙蠕励@縺ヲ霑斐☆縲�\n * 縲慶omponents/security.isml縲阪′繧、繝ウ繧ッ繝ォ繝シ繝峨&繧後※縺�k縺薙→繧貞燕謠舌→縺吶k縲�\n *\n * @returns {JQuery<Element>} id縺圭"secInfo\"縺ョspan繧ソ繧ー繧定。ィ縺冕Query繧ェ繝悶ず繧ァ繧ッ繝�\n */\nfunction getSecInfo() {\n const $secInfo = $('#secInfo');\n return $secInfo;\n}\n\n/**\n * CSRF繝医�繧ッ繝ウ繧貞性繧繧ェ繝悶ず繧ァ繧ッ繝医r霑斐☆縲�\n *\n * @returns {object} CSRF繝医�繧ッ繝ウ繧貞性繧繧ェ繝悶ず繧ァ繧ッ繝�\n * - tokenName: 'CSRF繝医�繧ッ繝ウ蜷�'\n * - token: 'CSRF繝医�繧ッ繝ウ蛟、'\n * 萓�:\n * ```js\n * {\n * tokenName: 'csrf_token',\n * token: 'lSb3zUKYcM2Q3TXQiqrtvQvEENcg7eJ5lgqUMw-2k5ZiQLpFENIUsd4LUAWEKF7BboUkovZ8F-1tBBgZNqYG6ulLL7Epkta2GRc_9IpCvRaS_soWu0TRWMm83-hkOSjq5_wdtQ5zifwS_qaYRtE9A9YfmnWmmz_7gx7U21PWEX4TV3Sme44='\n * }\n * ```\n */\nfunction getCsrfObject() {\n const $secInfo = getSecInfo();\n const csrf = $secInfo.data('csrf');\n return csrf;\n}\n\nmodule.exports = {\n getCsrfObject,\n};\n","'use strict';\n\nconst processInclude = require('base/util');\n\n$(document).ready(function () {\n //processInclude(require('base/search'));\n processInclude(require('./search/search'));\n});\n","'use strict';\n\nconst wishlist = require('../product/wishlist');\nconst search = require('base/search/search');\nconst tnyMain = require('../tny_main');\nconst {encodeHtml} = require('sswd_base/util/XStringUtils');\n\n/**\n * Ajax縺ョ邨先棡縺ァDOM隕∫エ�繧呈峩譁ー縺吶k\n *\n * @param {object} $results - jQuery DOM element\n * @param {string} selector - DOM element to look up in the $results\n */\nfunction updateDom($results, selector) {\n let $updates = $results.find(selector);\n $(selector).empty().html($updates.html());\n}\n\n/**\n * Ajax繝ェ繝輔Ξ繝�す繝・蠕後b邨槭j霎シ縺ソ繝壹う繝ウ縺ョ螻暮幕/謚倥j縺溘◆縺ソ繧堤カュ謖√☆繧欺n *\n * @param {object} $results - jQuery DOM element\n * @returns {undefined}\n */\nfunction handleRefinements($results) {\n $('.refinement.active').each(function () {\n $(this).removeClass('active');\n let activeDiv = $results.find('.' + $(this)[0].className.replace(/ /g, '.'));\n activeDiv.addClass('active');\n activeDiv.find('button.title').attr('aria-expanded', 'true');\n });\n\n updateDom($results, '.refinements');\n}\n\n/**\n * Ajax縺ョ邨先棡繧定ァ」譫舌@縲�∈謚槭@縺櫂OM隕∫エ�繧呈峩譁ー縺吶k\n *\n * @param {string} response - Ajax response HTML code\n * @returns {undefined}\n */\nfunction parseResults(response) {\n let $results = $(response);\n let specialHandlers = {\n '.refinements': handleRefinements,\n };\n\n // 迚ケ蛻・縺ェ蜃ヲ逅�r蠢�ヲ√→縺励↑縺ДOM隕∫エ�縺ョ譖エ譁ー\n [\n '.grid-header',\n '.header-bar',\n '.header.page-title',\n '.product-grid',\n '.show-more',\n '.filter-bar',\n '.refinements-checked',\n ].forEach(function (selector) {\n updateDom($results, selector);\n });\n\n Object.keys(specialHandlers).forEach(function (selector) {\n specialHandlers[selector]($results);\n });\n}\n\n/**\n * Ajax蠢懃ュ斐°繧峨た繝シ繝医が繝励す繝ァ繝ウ URL 繧呈峩譁ー縺励∪縺兔n *\n * @param {string} response - Ajax response HTML code\n * @returns {undefined}\n */\nfunction updateSortOptions(response) {\n let $tempDom = $('<div>').append($(response));\n let sortOptions = $tempDom.find('.grid-footer').data('sort-options').options;\n sortOptions.forEach(function (option) {\n $('option.' + option.id).val(option.url);\n });\n}\n\n/**\n * 繧ィ繝ゥ繝シ繝。繝�そ繝シ繧ク繧定。ィ遉コ縺吶k繝昴ャ繝励い繝��繧剃ス懈�縺吶k\n * @param {Object} message - 繧ィ繝ゥ繝シ繝。繝�そ繝シ繧ク\n */\nfunction createErrorNotification(message, button) {\n const errorHtml =\n '<div class=\"alert alert-danger alert-dismissible valid-cart-error ' +\n 'fade show\" role=\"alert\">' +\n '<button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-label=\"Close\">' +\n '<span aria-hidden=\"true\">×</span>' +\n '</button>' +\n encodeHtml(message) +\n '</div>';\n\n // 繧ォ繝シ繝医Γ繝�そ繝シ繧ク縺ョCSS繧貞茜逕ィ\n $('body').append('<div class=\"add-to-cart-messages\"></div>');\n $('.add-to-cart-messages').append(errorHtml);\n setTimeout(function () {\n $('.add-to-cart-messages').remove();\n button.removeAttr('disabled');\n }, 5e3);\n}\n\n/**\n * 邨櫁セシ縺ソ繝舌�繧帝哩縺倥∪縺吶�\n */\nfunction closeSlide() {\n $('.slide-bar').toggleClass('is-active');\n $('.search-overlay').remove();\n}\n\n// SFRA縺ョsearch繧堤カ呎価\nlet exportsSearch = $.extend({}, search, {\n // module.exports = {\n showSlideRefineBar: function () {\n // 邨槭j霎シ縺ソ繝舌�縺ョ陦ィ遉コ\n $(document).on('click', '.slide-btn', function (e) {\n e.preventDefault();\n $('.slide-bar').toggleClass('is-active');\n $('body').append('<div class=\"search-overlay\"></div>');\n // 邨槭j霎シ縺ソ繝。繝九Η繝シ莉・螟悶�逕サ髱「謚シ荳九〒髢峨§繧欺n $('.search-overlay').on('click', closeSlide);\n });\n },\n\n closeSlideRefineBar: function () {\n // 邨槭j霎シ縺ソ繝舌�繧偵◆縺溘�\n $(document).on('click', '.slide-close', function (e) {\n e.preventDefault();\n closeSlide();\n });\n },\n\n // applyRefine: function () {\n applyFilter: function () {\n // 邨槭j霎シ縺ソ蛟、縺ョ驕ク謚槭→繝ェ繧サ繝�ヨ繧ッ繝ェ繝�け縺ョ謫堺ス彌n $('.container').on(\n 'click',\n '.refinements li button, .refinement-bar1 button.reset',\n function (e) {\n e.preventDefault();\n\n // 隕ェ隕∫エ�縺ョ繧ッ繝ェ繝�け繧、繝吶Φ繝医′逋コ逕溘&縺帙↑縺Ыn e.stopPropagation();\n\n // 0莉カ邨櫁セシ縺ソ縺ョ蝣エ蜷医�繧「繝ゥ繝シ繝郁。ィ遉コ\n let refinelimit = $(this).data('refinelimit');\n if (refinelimit) {\n let button = $(this);\n button.attr('disabled', true);\n let message = $(this).data('refinelimitmessage');\n createErrorNotification(message, button);\n return;\n }\n\n $.spinner().start();\n $(this).trigger('search:filter', e);\n let attributeId = $(this).find('span').last().attr('id');\n\n if ($(this).hasClass('reset')) {\n // 縺吶∋縺ヲ縺ョ繝輔ぅ繝ォ繧ソ繝シ繝懊ち繝ウ繧貞炎髯、縺吶k\n $('.filter-button').remove();\n }\n\n $.ajax({\n url: $(this).data('href'),\n data: {\n page: $('.grid-footer').data('page-number'),\n selectedUrl: $(this).data('href'),\n },\n method: 'GET',\n success: function (response) {\n parseResults(response);\n tnyMain.addObserverFadeIn();\n $.spinner().stop();\n $('#' + attributeId)\n .parent('button')\n .focus();\n },\n error: function () {\n $.spinner().stop();\n $('#' + attributeId)\n .parent('button')\n .focus();\n },\n });\n }\n );\n },\n\n closeFilterButton: function () {\n $(document).on('click', '.filter-button .close-button', function (e) {\n // 隕ェ隕∫エ�縺ョ繧ッ繝ェ繝�け繧、繝吶Φ繝医′逋コ逕溘&縺帙↑縺Ыn e.stopPropagation();\n $.spinner().start();\n\n // 繝輔ぅ繝ォ繧ソ繝シ繝懊ち繝ウ蜿門セ予n let filterButton = $(this).closest('.filter-button');\n\n // 繝輔ぅ繝ォ繧ソ縺ョURL繧貞叙蠕予n let filterHref = filterButton.data('href');\n\n // 繝輔ぅ繝ォ繧ソ繝シ鬆伜沺縺ァ隧イ蠖薙☆繧九ヵ繧」繝ォ繧ソ繝シ縺ョ繝√ぉ繝�け繧貞、悶☆\n let filterInList = $('.refinements li button[data-href=\"' + filterHref + '\"]');\n if (filterInList) {\n filterInList.find('i').removeClass('fa-check-square-o').addClass('fa-square-o');\n }\n\n // 繝輔ぅ繝ォ繧ソ繝シ繝懊ち繝ウ繧貞、悶☆\n filterButton.remove();\n\n $.ajax({\n url: filterHref,\n method: 'GET',\n success: function (response) {\n parseResults(response);\n tnyMain.addObserverFadeIn();\n $.spinner().stop();\n },\n error: function () {\n $.spinner().stop();\n },\n });\n });\n },\n\n showMore: function () {\n // Show more products\n $('.container').on('click', '.show-more button', function (e) {\n e.stopPropagation();\n let showMoreUrl = $(this).data('url');\n e.preventDefault();\n\n $.spinner().start();\n $(this).trigger('search:showMore', e);\n $.ajax({\n url: showMoreUrl,\n data: {selectedUrl: showMoreUrl},\n method: 'GET',\n success: function (response) {\n $('.grid-footer').replaceWith(response);\n updateSortOptions(response);\n tnyMain.addObserverFadeIn();\n $.spinner().stop();\n },\n error: function () {\n $.spinner().stop();\n },\n });\n });\n },\n\n sort: function () {\n // 繧ス繝シ繝�\n $('.container').on('change', '[name=sort-order]', function (e) {\n e.preventDefault();\n // 隕ェ隕∫エ�縺ョ繧ッ繝ェ繝�け繧、繝吶Φ繝医′逋コ逕溘&縺帙↑縺Ыn e.stopPropagation();\n $.spinner().start();\n $(this).trigger('search:sort', this.value);\n $.ajax({\n url: this.value,\n data: {selectedUrl: this.value},\n method: 'GET',\n success: function (response) {\n $('.product-grid').empty().html(response);\n tnyMain.addObserverFadeIn();\n $.spinner().stop();\n },\n error: function () {\n $.spinner().stop();\n },\n });\n });\n },\n});\n\nmodule.exports = exportsSearch;\n\nmodule.exports.addToWishlist = wishlist.addToWishlist();\n\nmodule.exports.addObserverFadeIn = tnyMain.addObserverFadeIn();\n","'use strict';\n\n/**\n * Update DOM elements with Ajax results\n *\n * @param {Object} $results - jQuery DOM element\n * @param {string} selector - DOM element to look up in the $results\n * @return {undefined}\n */\nfunction updateDom($results, selector) {\n var $updates = $results.find(selector);\n $(selector).empty().html($updates.html());\n}\n\n/**\n * Keep refinement panes expanded/collapsed after Ajax refresh\n *\n * @param {Object} $results - jQuery DOM element\n * @return {undefined}\n */\nfunction handleRefinements($results) {\n $('.refinement.active').each(function () {\n $(this).removeClass('active');\n var activeDiv = $results.find('.' + $(this)[0].className.replace(/ /g, '.'));\n activeDiv.addClass('active');\n activeDiv.find('button.title').attr('aria-expanded', 'true');\n });\n\n updateDom($results, '.refinements');\n}\n\n/**\n * Parse Ajax results and updated select DOM elements\n *\n * @param {string} response - Ajax response HTML code\n * @return {undefined}\n */\nfunction parseResults(response) {\n var $results = $(response);\n var specialHandlers = {\n '.refinements': handleRefinements\n };\n\n // Update DOM elements that do not require special handling\n [\n '.grid-header',\n '.header-bar',\n '.header.page-title',\n '.product-grid',\n '.show-more',\n '.filter-bar'\n ].forEach(function (selector) {\n updateDom($results, selector);\n });\n\n Object.keys(specialHandlers).forEach(function (selector) {\n specialHandlers[selector]($results);\n });\n}\n\n/**\n * This function retrieves another page of content to display in the content search grid\n * @param {JQuery} $element - the jquery element that has the click event attached\n * @param {JQuery} $target - the jquery element that will receive the response\n * @return {undefined}\n */\nfunction getContent($element, $target) {\n var showMoreUrl = $element.data('url');\n $.spinner().start();\n $.ajax({\n url: showMoreUrl,\n method: 'GET',\n success: function (response) {\n $target.append(response);\n $.spinner().stop();\n },\n error: function () {\n $.spinner().stop();\n }\n });\n}\n\n/**\n * Update sort option URLs from Ajax response\n *\n * @param {string} response - Ajax response HTML code\n * @return {undefined}\n */\nfunction updateSortOptions(response) {\n var $tempDom = $('<div>').append($(response));\n var sortOptions = $tempDom.find('.grid-footer').data('sort-options').options;\n sortOptions.forEach(function (option) {\n $('option.' + option.id).val(option.url);\n });\n}\n\nmodule.exports = {\n filter: function () {\n // Display refinements bar when Menu icon clicked\n $('.container').on('click', 'button.filter-results', function () {\n $('.refinement-bar, .modal-background').show();\n $('.refinement-bar').siblings().attr('aria-hidden', true);\n $('.refinement-bar').closest('.row').siblings().attr('aria-hidden', true);\n $('.refinement-bar').closest('.tab-pane.active').siblings().attr('aria-hidden', true);\n $('.refinement-bar').closest('.container.search-results').siblings().attr('aria-hidden', true);\n $('.refinement-bar .close').focus();\n });\n },\n\n closeRefinements: function () {\n // Refinements close button\n $('.container').on('click', '.refinement-bar button.close, .modal-background', function () {\n $('.refinement-bar, .modal-background').hide();\n $('.refinement-bar').siblings().attr('aria-hidden', false);\n $('.refinement-bar').closest('.row').siblings().attr('aria-hidden', false);\n $('.refinement-bar').closest('.tab-pane.active').siblings().attr('aria-hidden', false);\n $('.refinement-bar').closest('.container.search-results').siblings().attr('aria-hidden', false);\n $('.btn.filter-results').focus();\n });\n },\n\n resize: function () {\n // Close refinement bar and hide modal background if user resizes browser\n $(window).resize(function () {\n $('.refinement-bar, .modal-background').hide();\n $('.refinement-bar').siblings().attr('aria-hidden', false);\n $('.refinement-bar').closest('.row').siblings().attr('aria-hidden', false);\n $('.refinement-bar').closest('.tab-pane.active').siblings().attr('aria-hidden', false);\n $('.refinement-bar').closest('.container.search-results').siblings().attr('aria-hidden', false);\n });\n },\n\n sort: function () {\n // Handle sort order menu selection\n $('.container').on('change', '[name=sort-order]', function (e) {\n e.preventDefault();\n\n $.spinner().start();\n $(this).trigger('search:sort', this.value);\n $.ajax({\n url: this.value,\n data: { selectedUrl: this.value },\n method: 'GET',\n success: function (response) {\n $('.product-grid').empty().html(response);\n $.spinner().stop();\n },\n error: function () {\n $.spinner().stop();\n }\n });\n });\n },\n\n showMore: function () {\n // Show more products\n $('.container').on('click', '.show-more button', function (e) {\n e.stopPropagation();\n var showMoreUrl = $(this).data('url');\n e.preventDefault();\n\n $.spinner().start();\n $(this).trigger('search:showMore', e);\n $.ajax({\n url: showMoreUrl,\n data: { selectedUrl: showMoreUrl },\n method: 'GET',\n success: function (response) {\n $('.grid-footer').replaceWith(response);\n updateSortOptions(response);\n $.spinner().stop();\n },\n error: function () {\n $.spinner().stop();\n }\n });\n });\n },\n\n applyFilter: function () {\n // Handle refinement value selection and reset click\n $('.container').on(\n 'click',\n '.refinements li button, .refinement-bar button.reset, .filter-value button, .swatch-filter button',\n function (e) {\n e.preventDefault();\n e.stopPropagation();\n\n $.spinner().start();\n $(this).trigger('search:filter', e);\n var attributeId = '#' + $(this).find('span').last().attr('id');\n $.ajax({\n url: $(this).data('href'),\n data: {\n page: $('.grid-footer').data('page-number'),\n selectedUrl: $(this).data('href')\n },\n method: 'GET',\n success: function (response) {\n parseResults(response);\n $.spinner().stop();\n $(attributeId).parent('button').focus();\n },\n error: function () {\n $.spinner().stop();\n $(attributeId).parent('button').focus();\n }\n });\n });\n },\n\n showContentTab: function () {\n // Display content results from the search\n $('.container').on('click', '.content-search', function () {\n if ($('#content-search-results').html() === '') {\n getContent($(this), $('#content-search-results'));\n }\n });\n\n // Display the next page of content results from the search\n $('.container').on('click', '.show-more-content button', function () {\n getContent($(this), $('#content-search-results'));\n $('.show-more-content').remove();\n });\n }\n};\n","'use strict';\n\nconst wishlist = require('wishlist/product/wishlist');\nconst {getCsrfObject} = require('app_common/components/security');\n\n/**\n * 縺頑ー励↓蜈・繧顔匳骭イ譎ゅ�AJAX騾壻ソ。縺ョ邨先棡蛹コ蛻�\n *\n * @protected\n * @constant {string}\n * @author SCSK 荳ュ譚大享邏\n */\nconst AJAX_RESPONSE_ERR_EXIST = 'errExist';\nconst AJAX_RESPONSE_ERR_AT_MAX = 'errAtMax';\nconst AJAX_RESPONSE_ERR_OTHER = 'errOther';\n\n/**\n * 縺頑ー励↓蜈・繧顔匳骭イ譎ゅ�繝。繝�そ繝シ繧ク陦ィ遉コ繧ウ繝ウ繝医Ο繝シ繝ォ\n *\n * @param {object} data 縺頑ー励↓蜈・繧顔匳骭イAjax繧オ繝シ繝薙せ繧貞他縺ウ蜃コ縺励◆邨先棡\n * (逋サ骭イ謌仙粥譎�)\n * ```js\n * {\n * success: true,\n * pid: '<蝠�刀ID>',\n * msg: '<繝。繝�そ繝シ繧クID'>\n * }\n * ```\n * (逋サ骭イ螟ア謨玲凾)\n * ```js\n * {\n * error: true,\n * pid: '<蝠�刀ID>',\n * msg: '<繝。繝�そ繝シ繧クID>'\n * }\n * ```\n * - 縲悟膚蜩!D縲阪�縲√♀豌励↓蜈・繧顔匳骭イ譎ゅ↓騾∽ソ。縺励◆蝠�刀ID縺ォ隧イ蠖薙☆繧九�\n * -縲後Γ繝�そ繝シ繧クID縲阪�莉・荳九〒螳夂セゥ縺吶k縺�★繧後°縺ォ隧イ蠖薙☆繧九�\n * - AJAX_RESPONSE_ERR_EXIST\n * - AJAX_RESPONSE_ERR_AT_MAX\n * - AJAX_RESPONSE_ERR_OTHER\n * @param {jQuery<Element>} $button - 縲後♀豌励↓蜈・繧翫↓霑ス蜉�縲阪�繧ソ繝ウ繧定。ィ縺冕Query繧ェ繝悶ず繧ァ繧ッ繝�\n * @returns {void}\n * @author SCSK 荳ュ譚大享邏\n */\nfunction displayMessage(data, $button) {\n // 繧ケ繝斐リ繝シ逕サ髱「蛛懈ュ「\n $.spinner().stop();\n\n let message = '';\n let status = 'alert-success';\n\n // AJAX縺ョ邨先棡縺ァ陦ィ遉コ縺吶k繝。繝�そ繝シ繧ク繧定ェソ謨エ\n if (data.success) {\n // 縺頑ー励↓蜈・繧翫↓霑ス蜉�縺ァ縺阪◆蝣エ蜷�\n message = $('.add-to-wishlist-popup .add-to-wishlist-first').html();\n } else if (data.msg === AJAX_RESPONSE_ERR_EXIST) {\n // 縺吶〒縺ォ逋サ骭イ縺輔l縺ヲ縺�◆蝣エ蜷�\n message = $('.add-to-wishlist-popup .add-to-wishlist-error-exist').html();\n } else if (data.msg === AJAX_RESPONSE_ERR_AT_MAX) {\n // 荳企剞縺ォ驕斐@縺ヲ縺�k蝣エ蜷�\n message = $('.add-to-wishlist-popup .add-to-wishlist-error-atmax').html();\n } else if (data.msg === AJAX_RESPONSE_ERR_OTHER) {\n // 莉悶�繧ィ繝ゥ繝シ縺檎匱逕溘@縺溷�エ蜷�\n message = $('.add-to-wishlist-popup .add-to-wishlist-error-other').html();\n } else if (data.csrfError) {\n // CSRF繝医�繧ッ繝ウ繧ィ繝ゥ繝シ縺ョ蝣エ蜷�\n message = $('.add-to-wishlist-popup .add-to-wishlist-error-csrf').html();\n } else {\n // 莠域悄縺帙〓繧ィ繝ゥ繝シ縺ョ蝣エ蜷�\n message = $('.add-to-wishlist-popup .add-to-wishlist-error-system').html();\n }\n\n let $messages = $('.add-to-cart-messages');\n if ($messages.length === 0) {\n $messages = $('<div class=\"add-to-cart-messages\"></div>');\n $('body').append($messages);\n }\n\n // 繧ッ繝ゥ繧ケ霑ス蜉�\n const $alert = $(\n `<div class=\"alert ${status} add-to-basket-alert text-center\" role=\"alert\">${message}</div>`\n );\n $messages.append($alert);\n\n // 繧「繧、繧ウ繝ウCSS\n if (data.success) {\n if (!$button.hasClass('tny-heart-on')) {\n $button.addClass('tny-heart-on');\n }\n }\n // 繧ソ繧、繝�繧「繧ヲ繝医そ繝�ヨ��5遘抵シ噂n setTimeout(function () {\n $alert.remove();\n $messages.remove();\n $button.removeAttr('disabled');\n }, 5000);\n}\n\n/**\n * 縺頑ー励↓蜈・繧翫↓霑ス蜉�\n * plugin_wishlist縺九i遘サ讀構n * AJAX騾壻ソ。蠕後�蜃ヲ逅��縺ソ謾ケ菫ョ\n *\n * @returns {void}\n * @author 荳ュ譚大享邏\n */\nfunction addToWishlist() {\n $(document).on('click', '.add-to-wish-list', async function (e) {\n e.preventDefault();\n\n // html縺九i諠��ア蜿門セ予n let url = $(this).data('href');\n let $button = $(this);\n // TODO�嗔id縺ョ蜿悶j譁ケ縺ォ縺、縺�※taneya-store�亥膚蜩∫ウサ讖溯��峨→隱ソ謨エ縺悟ソ�ヲ―n let pid =\n $(this).closest('.product-detail').find('.product-id').html() ||\n $(this).data('product-id');\n let optionId = $(this)\n .closest('.product-detail')\n .find('.product-option')\n .attr('data-option-id');\n let optionVal = $(this)\n .closest('.product-detail')\n .find('.options-select option:selected')\n .attr('data-value-id');\n\n optionId = optionId || null;\n optionVal = optionVal || null;\n if (!url || !pid) {\n return;\n }\n\n // 繧ケ繝斐リ繝シ逕サ髱「縺ョ繧ケ繧ソ繝シ繝�\n $.spinner().start();\n\n $(this).attr('disabled', true);\n\n const csrfObject = getCsrfObject();\n const csrfTokenName = csrfObject.tokenName;\n const csrfTokenValue = csrfObject.token;\n const postdata = {\n pid,\n optionId,\n optionVal,\n };\n postdata[csrfTokenName] = csrfTokenValue;\n\n // AJAX騾壻ソ。\n $.ajax({\n url: url,\n type: 'post',\n dataType: 'json',\n data: postdata,\n success: function (data) {\n displayMessage(data, $button);\n },\n error: function (err) {\n displayMessage(err.responseJSON || {}, $button);\n },\n });\n });\n}\n\nconst exportWishlist = $.extend({}, wishlist, {\n addToWishlist,\n});\n\nmodule.exports = exportWishlist;\n","'use strict';\n\n\n/**\n * appends params to a url\n * @param {string} data - data returned from the server's ajax call\n * @param {Object} button - button that was clicked to add a product to the wishlist\n */\nfunction displayMessage(data, button) {\n $.spinner().stop();\n var status;\n if (data.success) {\n status = 'alert-success';\n } else {\n status = 'alert-danger';\n }\n\n if ($('.add-to-wishlist-messages').length === 0) {\n $('body').append(\n '<div class=\"add-to-wishlist-messages \"></div>'\n );\n }\n $('.add-to-wishlist-messages')\n .append('<div class=\"add-to-wishlist-alert text-center ' + status + '\">' + data.msg + '</div>');\n\n setTimeout(function () {\n $('.add-to-wishlist-messages').remove();\n button.removeAttr('disabled');\n }, 5000);\n}\n\nmodule.exports = {\n addToWishlist: function () {\n $('.add-to-wish-list').on('click', function (e) {\n e.preventDefault();\n var url = $(this).data('href');\n var button = $(this);\n var pid = $(this).closest('.product-detail').find('.product-id').html();\n var optionId = $(this).closest('.product-detail').find('.product-option').attr('data-option-id');\n var optionVal = $(this).closest('.product-detail').find('.options-select option:selected').attr('data-value-id');\n optionId = optionId || null;\n optionVal = optionVal || null;\n if (!url || !pid) {\n return;\n }\n\n $.spinner().start();\n $(this).attr('disabled', true);\n $.ajax({\n url: url,\n type: 'post',\n dataType: 'json',\n data: {\n pid: pid,\n optionId: optionId,\n optionVal: optionVal\n },\n success: function (data) {\n displayMessage(data, button);\n },\n error: function (err) {\n displayMessage(err, button);\n }\n });\n });\n }\n};\n","'use strict';\n\n/**\n * 繝倥ャ繝繝。繝九Η繝シ縲√ヶ繝ゥ繝ウ繝峨ヰ繝シ縺ョ繧ケ繧ッ繝ュ繝シ繝ォ譎ゅ�蜍穂ス彌n */\nfunction readyInit() {\n let beforePos = 0; // 繧ケ繧ッ繝ュ繝シ繝ォ縺ョ蛟、縺ョ豈碑シ�畑縺ョ險ュ螳喀n let elemTop = 120; // 繧「繝九Γ繝シ繧キ繝ァ繝ウ髢句ァ倶ス咲スョ\n let areaTop = 0;\n\n const resetAreaTop = function () {\n const submenu = document.getElementById('submenu');\n if (submenu) {\n const offset = $(submenu).offset();\n if ($(window).width() < 768) {\n areaTop = offset.top - 45;\n } else {\n areaTop = offset.top - 75;\n }\n }\n };\n resetAreaTop();\n\n // 繝ェ繧オ繧、繧コ逶」隕暴n $(window).on('resize', () => {\n resetAreaTop();\n });\n\n // 繧ケ繧ッ繝ュ繝シ繝ォ逶」隕暴n $(window).on('scroll', () => {\n const scroll = $(window).scrollTop();\n\n $('.effect').each(function () {\n // 繧ィ繝輔ぉ繧ッ繝育屮隕暴n const effectTop = $(this).offset().top;\n const wHeight = $(window).height();\n if (effectTop + 100 < wHeight + scroll) {\n $(this).addClass('fadeUp');\n }\n });\n\n const $submenu = $('#submenu');\n if (scroll > areaTop) {\n $submenu.addClass('fixed');\n $submenu.removeClass('active');\n } else {\n $submenu.addClass('active');\n $submenu.removeClass('fixed');\n }\n\n const $brand = $('#brand');\n const $header = $('#header');\n const $taneyaImg = $('#taneya-img');\n const $tnychImg = $('#tnych-img');\n const $harieImg = $('#harie-img');\n\n const pos = beforePos;\n beforePos = scroll; // 迴セ蝨ィ縺ョ繧ケ繧ッ繝ュ繝シ繝ォ蛟、繧呈ッ碑シ�畑縺ョbeforePos縺ォ譬シ邏構n\n if (scroll === 0) {\n $header.removeClass('UpMove').addClass('DownMove');\n $brand.addClass('BrandTop').removeClass('DownBrand DownBrandMini');\n $taneyaImg.addClass('ImgTop').removeClass('DownImg');\n $harieImg.addClass('ImgTop').removeClass('DownImg');\n $tnychImg.addClass('ImgTop').removeClass('DownImg');\n return;\n }\n if (scroll === pos) {\n return;\n }\n if (scroll < pos) {\n $header.removeClass('UpMove').addClass('DownMove');\n if (elemTop < scroll) {\n // 荳翫せ繧ッ繝ュ繝シ繝ォ\n $brand.addClass('UpBrand').removeClass('DownBrand');\n $taneyaImg.removeClass('ImgInit ImgTop');\n $tnychImg.removeClass('ImgInit ImgTop');\n $harieImg.removeClass('ImgInit ImgTop');\n } else {\n $brand.addClass('BrandTop').removeClass('DownBrand');\n $taneyaImg.addClass('ImgTop').removeClass('DownImg');\n $tnychImg.addClass('ImgTop').removeClass('DownImg');\n $harieImg.addClass('ImgTop').removeClass('DownImg');\n }\n return;\n }\n if (elemTop < scroll) {\n // 荳九せ繧ッ繝ュ繝シ繝ォ\n $header.addClass('UpMove').removeClass('DownMove');\n if ($brand.hasClass('DownBrandMini')) {\n $brand.removeClass('BrandInit BrandTop UpBrand');\n $taneyaImg.addClass('DownImg').removeClass('ImgInit ImgTop');\n $tnychImg.addClass('DownImg').removeClass('ImgInit ImgTop');\n $harieImg.addClass('DownImg').removeClass('ImgInit ImgTop');\n } else {\n $brand\n .addClass('DownBrand DownBrandMini')\n .removeClass('BrandInit BrandTop UpBrand');\n $taneyaImg.addClass('DownImg').removeClass('ImgInit ImgTop');\n $tnychImg.addClass('DownImg').removeClass('ImgInit ImgTop');\n $harieImg.addClass('DownImg').removeClass('ImgInit ImgTop');\n }\n }\n });\n}\nreadyInit();\n\n//\n// Intersection Observer縺ョ險ュ螳喀n//\nconst intersectionOptions = {\n root: null,\n rootMargin: '0px',\n threshold: 0.5,\n};\n\n/**\n * 莠、蟾ョ縺励◆縺ィ縺阪↓FadeIn繧ィ繝輔ぉ繧ッ繝郁。ィ遉コ\n *\n * @param {*} entries Html驛ィ蜩―n */\nfunction intersectfadeIn(entries) {\n entries.forEach((entry) => {\n if (entry.isIntersecting) {\n $(entry.target).addClass('fadeIn');\n observerfadeIn.unobserve(entry.target);\n }\n });\n}\n// FadeIn繧ェ繝悶じ繝シ繝舌�\nconst observerfadeIn = new IntersectionObserver(intersectfadeIn, intersectionOptions);\n\n// 繧ィ繝輔ぉ繧ッ繝郁。ィ遉コ\n$(function () {\n // fadeIn\n const targetsfadeIn = document.querySelectorAll('.fadeInEffect');\n // 蟇セ雎。縺ョ隕∫エ�繧偵◎繧後◇繧檎屮隕悶☆繧欺n targetsfadeIn.forEach((target) => {\n observerfadeIn.observe(target);\n });\n\n // fadeUp\n const observerfadeUp = new IntersectionObserver(intersectfadeUp, intersectionOptions);\n const targetsfadeUp = document.querySelectorAll('.fadeUpEffect');\n // 蟇セ雎。縺ョ隕∫エ�繧偵◎繧後◇繧檎屮隕悶☆繧欺n targetsfadeUp.forEach((target) => {\n observerfadeUp.observe(target);\n });\n // 莠、蟾ョ縺励◆縺ィ縺阪↓繧ィ繝輔ぉ繧ッ繝郁。ィ遉コ\n function intersectfadeUp(entries) {\n entries.forEach((entry) => {\n if (entry.isIntersecting) {\n $(entry.target).addClass('fadeUp');\n observerfadeUp.unobserve(entry.target);\n }\n });\n }\n\n // fadeDown\n const observerfadeDown = new IntersectionObserver(intersectfadeDown, intersectionOptions);\n const targetsfadeDown = document.querySelectorAll('.fadeDownEffect');\n // 蟇セ雎。縺ョ隕∫エ�繧偵◎繧後◇繧檎屮隕悶☆繧欺n targetsfadeDown.forEach((target) => {\n observerfadeDown.observe(target);\n });\n // 莠、蟾ョ縺励◆縺ィ縺阪↓繧ィ繝輔ぉ繧ッ繝郁。ィ遉コ\n function intersectfadeDown(entries) {\n entries.forEach((entry) => {\n if (entry.isIntersecting) {\n $(entry.target).addClass('fadeDown');\n observerfadeDown.unobserve(entry.target);\n }\n });\n }\n\n // fadeLeft\n const observerfadeLeft = new IntersectionObserver(intersectfadeLeft, intersectionOptions);\n const targetsfadeLeft = document.querySelectorAll('.fadeLeftEffect');\n // 蟇セ雎。縺ョ隕∫エ�繧偵◎繧後◇繧檎屮隕悶☆繧欺n targetsfadeLeft.forEach((target) => {\n observerfadeLeft.observe(target);\n });\n // 莠、蟾ョ縺励◆縺ィ縺阪↓繧ィ繝輔ぉ繧ッ繝郁。ィ遉コ\n function intersectfadeLeft(entries) {\n entries.forEach((entry) => {\n if (entry.isIntersecting) {\n $(entry.target).addClass('fadeLeft');\n observerfadeLeft.unobserve(entry.target);\n }\n });\n }\n\n // fadeRight\n const observerfadeRight = new IntersectionObserver(intersectfadeRight, intersectionOptions);\n const targetsfadeRight = document.querySelectorAll('.fadeRightEffect');\n // 蟇セ雎。縺ョ隕∫エ�繧偵◎繧後◇繧檎屮隕悶☆繧欺n targetsfadeRight.forEach((target) => {\n observerfadeRight.observe(target);\n });\n // 莠、蟾ョ縺励◆縺ィ縺阪↓繧ィ繝輔ぉ繧ッ繝郁。ィ遉コ\n function intersectfadeRight(entries) {\n entries.forEach((entry) => {\n if (entry.isIntersecting) {\n $(entry.target).addClass('fadeRight');\n observerfadeRight.unobserve(entry.target);\n }\n });\n }\n});\n\n//\n// 繝「繝舌う繝ォ繝。繝九Η繝シ繧「繧ッ繧サ繧キ繝薙Μ繝�ぅ\n//\n$(function () {\n $('#js-hamburger').on('click', function () {\n $('.gnavi_inner_sp').toggleClass('is-drawer-active');\n if ($(this).attr('aria-expanded') === 'false') {\n $(this).attr('aria-expanded', true);\n $('#js-drawer').attr('area-hidden', false);\n } else {\n $(this).attr('aria-expanded', false);\n $('#js-drawer').attr('area-hidden', true);\n }\n });\n});\n\n//\n// 繧ソ繝門�譛滄∈謚杤n//\nwindow.addEventListener('DOMContentLoaded', function () {\n // #(繝上ャ繧キ繝・)謖�ョ壹&繧後◆繧ソ繝悶r陦ィ遉コ縺吶k\n const hash = location.hash;\n if (hash) {\n $('.nav-tabs a[href=\"' + hash + '\"]').tab('show');\n }\n $('a[data-toggle=\"tab\"]').on('shown.bs.tab', function (e) {\n e.target; // newly activated tab\n e.relatedTarget; // previous active tab\n });\n});\n\nmodule.exports = {\n /**\n * FadeIn逶」隕門ッセ雎。縺ョ霑ス蜉�縲�\n *\n * 縲後b縺」縺ィ隕九k縲阪�繧ソ繝ウ縺ォ繧医jAjax繧貞茜逕ィ縺励※陦ィ遉コ蟇セ雎。繧定ソス蜉�縺励◆髫帙↓縲~FadeIn`縺ョ逶」隕門ッセ雎。繧定ソス蜉�縺吶k縲�\n * 蠑墓焚縺ョ繧サ繝ャ繧ッ繧ソ繝シ繧�、懃エ「遽�峇繧呈欠螳壹@縺ェ縺��エ蜷医�縲~.fadeInEffect`縺ォ隧イ蠖薙☆繧九お繝ャ繝。繝ウ繝医r蜈ィ莉カ蜃ヲ逅�☆繧九◆繧∵ウィ諢上☆繧九%縺ィ縲�\n *\n * @param {string} [selector='.fadeInEffect'] - 霑ス蜉�蟇セ雎。繧呈、懃エ「縺吶k繧サ繝ャ繧ッ繧ソ繝シ 萓具シ啻'._unobserved-fade-in'`\n * @param {(jQuery|null|undefined)} $parent - 霑ス蜉�蟇セ雎。繧呈、懃エ「縺吶k遽�峇 萓具シ啻$('#productGrid')`\n * @returns {jQuery} 霑ス蜉�蟇セ雎。繧定。ィ縺冕Query繧ェ繝悶ず繧ァ繧ッ繝� 萓具シ啻$('.fadeInEffect')`\n * - 蜻シ縺ウ蜃コ縺怜�縺ァ`_unobserved-fade-in`縺ィ縺�▲縺溘�繝シ繧ォ繝シ繧貞炎髯、縺吶k髫帙↓蛻ゥ逕ィ縺吶k縺薙→縺後〒縺阪k縲�\n * @example\n * const tnyMain = require('../tny_main');\n * const $newItemGrid = $('#newItemGrid');\n * const $newTiles = tnyMain.addObserverFadeIn('._unobserved-fade-in', $newItemGrid);\n * $newTiles.removeClass('_unobserved-fade-in');\n */\n addObserverFadeIn: function (selector = '.fadeInEffect', $parent) {\n const $fadeInEffects = $(selector, $parent);\n // 蟇セ雎。縺ョ隕∫エ�繧偵◎繧後◇繧檎屮隕悶☆繧欺n $fadeInEffects.each(function (index, elem) {\n observerfadeIn.observe(elem);\n });\n return $fadeInEffects;\n },\n};\n","'use strict';\n\n/**\n * HTML迚ケ谿頑枚蟄励r繧ィ繝ウ繧ウ繝シ繝峨@縺ヲ霑斐☆縲�\n *\n * @param {string} str - 繧ィ繝ウ繧ウ繝シ繝峨@縺溘>譁�ュ怜�縲� 萓�: <span class=\"foo\">hoge</span>\n * @returns {string} 繧ィ繝ウ繧ウ繝シ繝画ク医∩縺ョ譁�ュ怜�縲� 萓�: &lt;span class=&quot;foo&quot;&gt;hoge&lt;/span&gt;\n */\nfunction encodeHtml(str) {\n if (!str) {\n return str;\n }\n const encoded = str.replace(/[<>&\"'`]/g, (match) => {\n const encodeMap = {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": ''',\n '`': '`',\n };\n return encodeMap[match];\n });\n return encoded;\n}\n\n/**\n * 縲瑚ヲ九◆逶ョ縺後ワ繧、繝輔Φ縺ォ隕九∴繧区枚蟄怜�縲阪r蜊願ァ偵ワ繧、繝輔Φ/繝槭う繝翫せ(\\u002d)縺ォ螟画鋤縺励※霑斐☆縲�\n * 蠑墓焚縺ォ隕九◆逶ョ縺後ワ繧、繝輔Φ縺ォ隕九∴繧区枚蟄怜�縺悟性縺セ繧後↑縺��エ蜷医�縲∝シ墓焚縺ィ蜷後§譁�ュ怜�繧定ソ斐☆縲�\n *\n * 縺薙%縺ァ縲瑚ヲ九◆逶ョ縺後ワ繧、繝輔Φ縺ォ隕九∴繧区枚蟄怜�縲阪�莉・荳九→縺吶k縲�\n * - \\uff0d ... 蜈ィ隗偵ワ繧、繝輔Φ/繝槭う繝翫せ\n * - \\u30fc ... 蟒カ髟キ繧オ繧ヲ繝ウ繝峨�繝シ繧ッ(蜈ィ隗偵き繧ソ繧ォ繝�/蜈ィ隗偵�繧峨′縺ェ)\n * - \\u2010 ... 繝上う繝輔Φ\n * - \\u2011 ... 謾ケ陦後�縺ェ縺�ワ繧、繝輔Φ\n * - \\u2013 ... 繧「繝ウ繝繝�す繝・\n * - \\u2014 ... 蜈ィ隗偵ム繝�す繝・\n * - \\u2015 ... 豌エ蟷ウ繝舌�/蠑慕畑隨ヲ繝繝�す繝・\n * - \\u2212 ... 繝槭う繝翫せ險伜捷\n * - \\uff70 ... 蟒カ髟キ繧オ繧ヲ繝ウ繝峨�繝シ繧ッ(蜊願ァ偵き繧ソ繧ォ繝�)\n *\n * @param {string} str - 螟画鋤蟇セ雎。縺ョ譁�ュ怜�\n * @returns {string} 螟画鋤蠕後�譁�ュ怜�\n */\nfunction convertToHyphen(str) {\n if (!str) {\n return str;\n }\n const converted = str.replace(/[\\uff0d\\u30fc\\u2010\\u2011\\u2013\\u2014\\u2015\\u2212\\uff70]/g, '-');\n return converted;\n}\n\n/**\n * 蜈ィ隗呈焚蟄励r蜊願ァ呈焚蟄励↓螟画鋤縺励※霑斐☆縲�\n * 蠑墓焚縺ォ蜈ィ隗呈焚蟄励′蜷ォ縺セ繧後↑縺��エ蜷医�縲∝シ墓焚縺ィ蜷後§譁�ュ怜�繧定ソ斐☆縲�\n *\n * @param {string} str - 螟画鋤蟇セ雎。縺ョ譁�ュ怜�\n * @returns {string} 螟画鋤蠕後�譁�ュ怜�\n */\nfunction convertToHalfWidthDigit(str) {\n if (!str) {\n return str;\n }\n const converted = str.replace(/[\\uff10-\\uff19]/g, (s) => {\n return String.fromCharCode(s.charCodeAt(0) - 0xfee0);\n });\n return converted;\n}\n\n/**\n * 縲瑚ヲ九◆逶ョ縺悟�隗偵�蟒カ髟キ繧オ繧ヲ繝ウ繝峨�繝シ繧ッ縺ォ隕九∴繧区枚蟄怜�縲阪r蜈ィ隗偵�蟒カ髟キ繧オ繧ヲ繝ウ繝峨�繝シ繧ッ(\\u30fc)縺ォ螟画鋤縺励※霑斐☆縲�\n * 蠑墓焚縺ォ隕九◆逶ョ縺悟�隗偵�蟒カ髟キ繧オ繧ヲ繝ウ繝峨�繝シ繧ッ縺ォ隕九∴繧区枚蟄怜�縺悟性縺セ繧後↑縺��エ蜷医�縲∝シ墓焚縺ィ蜷後§譁�ュ怜�繧定ソ斐☆縲�\n * 縺ェ縺翫√訓SM縲阪�縲訓rolonged Sound Mark縲阪�逡・險倥〒縺ゅk縲�\n *\n * 縺薙%縺ァ縲瑚ヲ九◆逶ョ縺悟�隗偵�蟒カ髟キ繧オ繧ヲ繝ウ繝峨�繝シ繧ッ縺ォ隕九∴繧区枚蟄怜�縲阪�莉・荳九→縺吶k縲�\n * - \\u2010 ... 縲娯舌� (繝上う繝輔Φ)\n * - \\u2011 ... 縲娯代� (謾ケ陦後�縺ェ縺�ワ繧、繝輔Φ)\n * - \\u2013 ... 縲娯薙� (繧「繝ウ繝繝�す繝・/繧ィ繝ウ繝繝�す繝・)\n * - \\u2014 ... 縲娯斐� (蜈ィ隗偵ム繝�す繝・/繧ィ繝�繝繝�す繝・)\n * - \\u2015 ... 縲娯輔� (豌エ蟷ウ繝舌�/蠑慕畑隨ヲ繝繝�す繝・)\n * - \\u2212 ... 縲娯�縲� (繝槭う繝翫せ險伜捷)\n * - \\uff0d ... 縲鯉シ阪� (蜈ィ隗偵ワ繧、繝輔Φ/蜈ィ隗偵�繧、繝翫せ)\n * - \\u002d ... 縲�-縲� (蜊願ァ偵ワ繧、繝輔Φ/繝上う繝輔Φ繝槭う繝翫せ)\n * - \\uff70 ... 縲鯉スー縲� (蟒カ髟キ繧オ繧ヲ繝ウ繝峨�繝シ繧ッ(蜊願ァ偵き繧ソ繧ォ繝�))\n *\n * @param {string} str - 螟画鋤蟇セ雎。縺ョ譁�ュ怜�\n * @returns {string} 螟画鋤蠕後�譁�ュ怜�\n */\nfunction convertToPSM(str) {\n if (!str) {\n return str;\n }\n const converted = str.replace(\n /[\\u2010\\u2011\\u2013\\u2014\\u2015\\u2212\\uff0d\\u002d\\uff70]/g,\n '繝シ'\n );\n return converted;\n}\n\n/**\n * 蜊願ァ呈枚蟄怜�繧貞�隗呈枚蟄怜�縺ォ螟画鋤縺励※霑斐☆縲�\n *\n * 縺ェ縺翫∝、画鋤縺吶k蜊願ァ呈枚蟄怜�縺ッ谺。縺ョ騾壹j縺ァ縺ゅk縲ゅく繝シ繝懊�繝峨〒蜈・蜉帙&繧後k荳闊ャ逧�↑蜊願ァ呈枚蟄怜�繧呈Φ螳壹@縺ヲ縺�k縲�\n * 縺薙l繧我サ・螟悶�蜊願ァ呈枚蟄怜�縺ッ螟画鋤縺輔l縺ェ縺��\n *\n * | 螟画鋤蜑� | 螟画鋤蠕� | 蛯呵� |\n * |:-----------------------------------|:----------------------------------------|:--------------------------------------------------|\n * | 蜊願ァ偵き繝� | 蜈ィ隗偵き繝� | 縲渓atakanaMap縲阪↓遉コ縺吶�繝�ヴ繝ウ繧ー縺ォ蝓コ縺・縺� |\n * | `\\u0021\\u0023-\\u0026\\u0028-\\u007E` | Unicode縺ョ繧「繝峨Ξ繧ケ繧�0xFEE0縺�縺醍ァサ蜍輔@縺溷、 | - |\n * | `\\u0022` | `\\u201D` | `\\u0022`: `\"`, `\\u201D`: `窶拜 |\n * | `\\u0027` | `\\u2019` | `\\u0027`: `'`, `\\u2019`: `窶兪 |\n * | `\\u0020` | `\\u3000` | `\\u0020`: ` `(蜊願ァ堤ゥコ逋ス), `\\u3000`: `縲`(蜈ィ隗堤ゥコ逋ス) |\n *\n * @param {string} str - 螟画鋤蟇セ雎。縺ョ譁�ュ怜�\n * @returns {string} 螟画鋤蠕後�譁�ュ怜�\n */\nfunction convertToFullWidth(str) {\n if (!str) {\n return str;\n }\n const katakanaMap = {\n �カ��: '繧ャ',\n �キ��: '繧ョ',\n �ク��: '繧ー',\n �ケ��: '繧イ',\n �コ��: '繧エ',\n �サ��: '繧カ',\n �シ��: '繧ク',\n �ス��: '繧コ',\n �セ��: '繧シ',\n �ソ��: '繧セ',\n ���: '繝',\n ��セ�: '繝�',\n �ゑセ�: '繝�',\n ��セ�: '繝�',\n ��セ�: '繝�',\n �奇セ�: '繝�',\n �具セ�: '繝�',\n �鯉セ�: '繝�',\n �搾セ�: '繝�',\n �趣セ�: '繝�',\n �奇セ�: '繝�',\n �具セ�: '繝�',\n �鯉セ�: '繝�',\n �搾セ�: '繝�',\n �趣セ�: '繝�',\n �ウ��: '繝エ',\n �懶セ�: '繝キ',\n �ヲ��: '繝コ',\n �ア: '繧「',\n �イ: '繧、',\n �ウ: '繧ヲ',\n �エ: '繧ィ',\n �オ: '繧ェ',\n �カ: '繧ォ',\n �キ: '繧ュ',\n �ク: '繧ッ',\n �ケ: '繧ア',\n �コ: '繧ウ',\n �サ: '繧オ',\n �シ: '繧キ',\n �ス: '繧ケ',\n �セ: '繧サ',\n �ソ: '繧ス',\n �: '繧ソ',\n ��: '繝�',\n ��: '繝�',\n ��: '繝�',\n ��: '繝�',\n ��: '繝�',\n ��: '繝�',\n ��: '繝�',\n ��: '繝�',\n ��: '繝�',\n ��: '繝�',\n ��: '繝�',\n ��: '繝�',\n ��: '繝�',\n ��: '繝�',\n ��: '繝�',\n ��: '繝�',\n ��: '繝�',\n ��: '繝。',\n ��: '繝「',\n ��: '繝、',\n ��: '繝ヲ',\n ��: '繝ィ',\n ��: '繝ゥ',\n ��: '繝ェ',\n ��: '繝ォ',\n ��: '繝ャ',\n ��: '繝ュ',\n ��: '繝ッ',\n �ヲ: '繝イ',\n ��: '繝ウ',\n �ァ: '繧。',\n �ィ: '繧」',\n �ゥ: '繧・',\n �ェ: '繧ァ',\n �ォ: '繧ゥ',\n �ッ: '繝�',\n �ャ: '繝」',\n �ュ: '繝・',\n �ョ: '繝ァ',\n '�。': '縲�',\n '�、': '縲�',\n �ー: '繝シ',\n '�「': '縲�',\n '�」': '縲�',\n '�・': '繝サ',\n ��: '繧�',\n ��: '繧�',\n };\n const katakanaRegExp = new RegExp(`(?:${Object.keys(katakanaMap).join('|')})`, 'g');\n const fullWidth = str\n .normalize()\n .replace(katakanaRegExp, function (char) {\n return katakanaMap[char] || char;\n })\n .replace(/[\\u0021\\u0023-\\u0026\\u0028-\\u007E]/g, function (char) {\n return String.fromCharCode(char.charCodeAt(0) + 0xfee0);\n })\n .replace(/\\u0022/g, '\\u201D')\n .replace(/\\u0027/g, '\\u2019')\n .replace(/\\u0020/g, '\\u3000');\n return fullWidth;\n}\n\n/**\n * 蜈ィ隗偵き繝頑枚蟄怜�繧貞濠隗偵き繝頑枚蟄怜�縺ォ螟画鋤縺励※霑斐☆縲�\n * 蜈ィ隗偵き繝贋サ・螟悶�譁�ュ怜�縺ッ螟画鋤縺輔l縺ェ縺��\n *\n * | 螟画鋤蜑� | 螟画鋤蠕� | 蛯呵� |\n * |:---------|:---------|:----------------------------------------|\n * | 蜈ィ隗偵き繝� | 蜊願ァ偵き繝� | 縲渓atakanaMap縲阪↓遉コ縺吶�繝�ヴ繝ウ繧ー縺ォ蝓コ縺・縺� |\n *\n * @param {string} str - 螟画鋤蟇セ雎。縺ョ譁�ュ怜�\n * @returns {string} 螟画鋤蠕後�譁�ュ怜�\n */\nfunction convertFullWidthKatakanaToHalfWidthKatakana(str) {\n if (!str) {\n return str;\n }\n const katakanaMap = {\n 繧ャ: '�カ��',\n 繧ョ: '�キ��',\n 繧ー: '�ク��',\n 繧イ: '�ケ��',\n 繧エ: '�コ��',\n 繧カ: '�サ��',\n 繧ク: '�シ��',\n 繧コ: '�ス��',\n 繧シ: '�セ��',\n 繧セ: '�ソ��',\n 繝: '���',\n 繝�: '��セ�',\n 繝�: '�ゑセ�',\n 繝�: '��セ�',\n 繝�: '��セ�',\n 繝�: '�奇セ�',\n 繝�: '�具セ�',\n 繝�: '�鯉セ�',\n 繝�: '�搾セ�',\n 繝�: '�趣セ�',\n 繝�: '�奇セ�',\n 繝�: '�具セ�',\n 繝�: '�鯉セ�',\n 繝�: '�搾セ�',\n 繝�: '�趣セ�',\n 繝エ: '�ウ��',\n 繝キ: '�懶セ�',\n 繝コ: '�ヲ��',\n 繧「: '�ア',\n 繧、: '�イ',\n 繧ヲ: '�ウ',\n 繧ィ: '�エ',\n 繧ェ: '�オ',\n 繧ォ: '�カ',\n 繧ュ: '�キ',\n 繧ッ: '�ク',\n 繧ア: '�ケ',\n 繧ウ: '�コ',\n 繧オ: '�サ',\n 繧キ: '�シ',\n 繧ケ: '�ス',\n 繧サ: '�セ',\n 繧ス: '�ソ',\n 繧ソ: '�',\n 繝�: '��',\n 繝�: '��',\n 繝�: '��',\n 繝�: '��',\n 繝�: '��',\n 繝�: '��',\n 繝�: '��',\n 繝�: '��',\n 繝�: '��',\n 繝�: '��',\n 繝�: '��',\n 繝�: '��',\n 繝�: '��',\n 繝�: '��',\n 繝�: '��',\n 繝�: '��',\n 繝�: '��',\n 繝。: '��',\n 繝「: '��',\n 繝、: '��',\n 繝ヲ: '��',\n 繝ィ: '��',\n 繝ゥ: '��',\n 繝ェ: '��',\n 繝ォ: '��',\n 繝ャ: '��',\n 繝ュ: '��',\n 繝ッ: '��',\n 繝イ: '�ヲ',\n 繝ウ: '��',\n 繧。: '�ァ',\n 繧」: '�ィ',\n 繧・: '�ゥ',\n 繧ァ: '�ェ',\n 繧ゥ: '�ォ',\n 繝�: '�ッ',\n 繝」: '�ャ',\n 繝・: '�ュ',\n 繝ァ: '�ョ',\n '縲�': '�。',\n '縲�': '�、',\n 繝シ: '�ー',\n '縲�': '�「',\n '縲�': '�」',\n '繝サ': '�・',\n '繧�': '��',\n '繧�': '��',\n };\n const katakanaRegExp = new RegExp(`(?:${Object.keys(katakanaMap).join('|')})`, 'g');\n const halfWidth = str.normalize().replace(katakanaRegExp, function (char) {\n return katakanaMap[char] || char;\n });\n return halfWidth;\n}\n\nmodule.exports = {\n encodeHtml,\n convertToHyphen,\n convertToHalfWidthDigit,\n convertToPSM,\n convertToFullWidth,\n convertFullWidthKatakanaToHalfWidthKatakana,\n};\n"],"sourceRoot":""}