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C,MAAO,wBAEf,E,YC5CJC,EAAOC,QAAUC,M,YCAjBF,EAAOC,QAAU5H,E","sources":["webpack://front-end-build-system/./src/smartpak/misc.js","webpack://front-end-build-system/./src/smartpak/modal.js","webpack://front-end-build-system/./src/views/piperquiz/piperquiz.js","webpack://front-end-build-system/./src/views/piperquiz/index.js","webpack://front-end-build-system/./src/views/productclasspage/wishlist.js","webpack://front-end-build-system/external var \"jQuery\"","webpack://front-end-build-system/external var \"ko\""],"sourcesContent":["export function cleanTitle(text, flag) {\n var output = text;\n if (flag === 'cm') {\n output = output.replace(/\\s/g, '_');\n output = output.replace(/<[A-Za-z0-9]+[^>]*>|<\\/[A-Za-z0-9]+[^>]*>/g, '');\n }\n // eslint-disable-next-line no-useless-escape\n output = output.replace(/|<\\/sup>|®|™|\\'|\\\"|<[A-Za-z0-9]+[^>]*>|<\\/[A-Za-z0-9]+[^>]*>/g, '');\n return output;\n}\n\nexport function reviewCountDisplay(reviews, isCapitalized) {\n var reviewTxt = isCapitalized ? ' Review' : ' review';\n return reviews == 1 ? reviewTxt : reviewTxt + 's';\n}\n\nexport function defaultImageName(data, defaultValue) {\n if (!data) {\n return !defaultValue ? '' : defaultValue;\n }\n\n if (\n data.IsWesternDefaultImage &&\n data.IsWesternDefaultImage === true &&\n smartPak.cdProfileCookie.isWesternDiscipline\n ) {\n return data.ImageWestern.length ? data.ImageWestern : data.ImagePath;\n }\n\n return data.ImagePath;\n}\n\nexport function possessiveName(name) {\n var hasPluralEnding = name.substr(name.length - 1).toLowerCase() === 's',\n hasEndingS = name + \"'\",\n hasNoEndingS = name + \"'s\";\n\n return hasPluralEnding ? hasEndingS : hasNoEndingS;\n}\n","/* eslint-disable switch-colon-spacing */\r\n// Add modal HTML here\r\n\r\n/* prevents unit tests from blowing up */\r\nconst Dialog = window.ds && window.ds.Dialog ? window.ds.Dialog : class Noop{};\r\nclass Modal extends Dialog{\r\n constructor(content, opts){\r\n super(content, opts);\r\n }\r\n}\r\nexport default function modal(content, options) {\r\n return new Modal(content, options);\r\n}","import {cleanTitle, defaultImageName} from '../../smartpak/misc.js';\nimport $ from 'jquery';\nimport ko from 'knockout';\nimport wishList from '../productclasspage/wishlist.js';\n\nvar utils = ko.utils;\n\nfunction PiperQuiz(obj) {\n var $refresh = $('#refresh'),\n $piper = $('#piperSections'),\n $footer = $('#footerMenu'),\n $visitedPage = $('#visitedPg'),\n // eslint-disable-next-line no-empty-function\n error = function() {},\n arr = [],\n win = window;\n\n this.sections = ko.observableArray(\n utils.arrayMap(obj.sections, function(section) {\n return section;\n })\n );\n\n this.hasProductsAvailable = ko.observable(false);\n this.products = ko.observableArray([]);\n\n this.getHash = function() {\n var hash = win.location.hash;\n\n hash = hash.replace(/#/gi, '');\n\n return hash === '' ? 'Home' : hash;\n };\n\n this.getSectionView = function() {\n var sectionID,\n hashId = 'Piper_' + this.getHash(),\n $section = $('.sectionName');\n\n $.each(\n $section,\n function(i, val) {\n sectionID = $(val).attr('id');\n if (sectionID === hashId) {\n this.loadProductView(sectionID);\n } else {\n $('#' + sectionID).addClass('jsHide');\n }\n }.bind(this)\n );\n };\n\n this.loadProductView = function(section) {\n var $piperID = $('#' + section),\n results = $piperID.find('.prodID');\n\n this.hasProductsAvailable(false);\n $piperID.removeClass('jsHide');\n this.threeAnswerLayout($piperID);\n\n if (results.length > 0) {\n this.hasProductsAvailable(true);\n $('#recentViewList li.jcarousel-item')\n .not(':first')\n .remove();\n this.getProductData(results);\n }\n };\n\n this.removeScripts = function(input) {\n var searchWord = new RegExp(input);\n\n $.each($('script'), function(i, val) {\n var valScript = $(val).attr('src');\n\n if (searchWord.test(valScript)) {\n $(val).remove();\n }\n });\n };\n\n this.threeAnswerLayout = function($sectionID) {\n var divLen = $sectionID.find('.answer div').length,\n $answer = $sectionID.find('.answer'),\n $layout = $sectionID.find('.btnLayout');\n\n if (divLen > 2) {\n $answer.addClass('answerThree');\n $layout.addClass('btnLayoutThree');\n }\n };\n\n this.formatProductReviews = function(data) {\n var prodData = this.grabProductData(data);\n\n this.products(prodData);\n this.initateMedia();\n this.multiplePiperResults();\n $('#productItem').removeClass('jsHide');\n };\n\n this.grabProductData = function(data) {\n var dataItems = $.map(data, function(item) {\n return $.extend(item, {\n Title: cleanTitle(item.Title),\n thumbnail: defaultImageName(item, item.ImagePath) + '?width=120',\n productId: item.Id,\n socialUrl: '//www.smartpakequine.com' + item.Url,\n Url: item.Url\n });\n });\n\n return dataItems;\n };\n\n this.initateMedia = function() {\n wishList.init();\n };\n\n this.multiplePiperResults = function() {\n var $recently = $('#recentViewList'),\n $recentViewList = $recently.find('li.jcarousel-item'),\n $socialLinks = $recently.find('.socialLinks'),\n $productItem = $('#productItem');\n\n if ($recentViewList.length > 1) {\n $recentViewList.addClass('multipleProduct');\n $socialLinks.find('#socialIcons').addClass('multipleProduct');\n $socialLinks.addClass('multipleProduct');\n $socialLinks.find('.socialAction').addClass('multipleProduct');\n $productItem.addClass('multipleProduct');\n } else {\n $recentViewList.removeClass('multipleProduct');\n $socialLinks.find('#socialIcons').removeClass('multipleProduct');\n $socialLinks.removeClass('multipleProduct');\n $socialLinks.find('.socialAction').removeClass('multipleProduct');\n $productItem.removeClass('multipleProduct');\n }\n };\n\n this.successProductReviews = function(data) {\n if (data && data.length) {\n this.formatProductReviews(data);\n smartPak.recentlyViewedProducts.loadBvReviewStars('.quizReviewStars');\n }\n };\n\n\n\n this.getProductData = function(productIDs) {\n var DELIMITER = '!',\n ids = $(productIDs).val();\n\n return smartPak.api.product\n .getProductClassDTOList(ids.split(DELIMITER))\n .done(this.successProductReviews.bind(this))\n .fail(error);\n };\n\n this.hideOnHomePage = function() {\n if (this.getHash() === 'Home') {\n $refresh.addClass('jsHide');\n $piper.removeClass('lineupRefresh');\n $footer.addClass('jsHide');\n arr = [];\n } else {\n $refresh.removeClass('jsHide');\n $piper.addClass('lineupRefresh');\n }\n };\n\n this.removeFromArray = function(array, section) {\n var total = array.length,\n spot = $.inArray(section, array),\n leftover;\n\n if (spot >= 0) {\n leftover = total - spot;\n array.splice(spot, leftover);\n }\n\n return array;\n };\n\n this.checkForPiperDistinction = function(piper) {\n var hashedValue = 'Piper_' + piper,\n\n selectedOption = obj.sections.find(option =>{\n return option.name === hashedValue;\n }),\n response = selectedOption.response;\n\n return response;\n };\n\n this.replacePiperType = function(type, copy, piper) {\n var removeContent = new RegExp(piper);\n\n return type > 0 ? copy.replace(removeContent, '') : copy;\n };\n\n this.populateVisitedLinks = function() {\n var backBtn = '',\n hash = this.getHash();\n\n arr = this.removeFromArray(arr, hash);\n arr.push(hash);\n\n $.grep(\n arr,\n function(val) {\n var btnText = this.checkForPiperDistinction(val);\n backBtn +=\n '' + btnText.replace(/_/gi, ' ') + '';\n }.bind(this)\n );\n\n $visitedPage.html('');\n $(backBtn).appendTo('#visitedPg');\n $footer.removeClass('jsHide');\n };\n\n $(win).on(\n 'popstate',\n function() {\n this.populateVisitedLinks();\n this.hideOnHomePage();\n this.getSectionView();\n }.bind(this)\n );\n}\n\nexport default PiperQuiz;\n","/* eslint-disable max-lines */\nimport PiperQuiz from './piperquiz.js';\nimport ko from 'knockout';\n\nconst data = {\n sections: [\n {\n name: 'Piper_Home',\n response: 'Home',\n result: false,\n question:\n '
Not sure which Piper or Hadley Breeches are right for you? Answer a few quick questions and we’ll match you with your perfect pair!
Let\\'s get started!

Are you looking for girls or ladies breeches?',\n answer: [\n {\n response: 'Girls',\n link: '#Girls',\n image: ''\n },\n {\n response: 'Ladies',\n link: '#Ladies',\n image: ''\n }\n ],\n productId: '',\n showSection: 'sectionName'\n },\n {\n name: 'Piper_Girls',\n response: 'Girls',\n result: true,\n question: '',\n answer: [],\n productId: '24401!24956!24990!24988',\n showSection: 'sectionName jsHide'\n },\n {\n name: 'Piper_Ladies',\n response: 'Ladies',\n result: false,\n question: 'Do you prefer full seat, knee patch or boot cut breeches?',\n answer: [\n {\n response: 'Full Seat',\n link: '#Full_Seat',\n image: ''\n },\n {\n response: 'Knee Patch',\n link: '#Knee_Patch',\n image: ''\n },\n {\n response: 'Boot Cut',\n link: '#Boot_Cut',\n image: ''\n }\n ],\n productId: '',\n showSection: 'sectionName jsHide'\n },\n {\n name: 'Piper_Full_Seat',\n response: 'Full Seat',\n result: false,\n question: 'Are you looking for schooling breeches or showing breeches?',\n answer: [\n {\n response: 'Schooling',\n link: '#Full_Seat_Schooling',\n image: ''\n },\n {\n response: 'Showing',\n link: '#Full_Seat_Showing',\n image: ''\n }\n ],\n productId: '',\n showSection: 'sectionName jsHide'\n },\n {\n name: 'Piper_Full_Seat_Showing',\n response: 'Showing',\n result: false,\n question:\n 'Do you prefer the classic look and feel of a traditional woven material or the performance of a technical fabric?',\n answer: [\n {\n response: 'Traditional Woven',\n link: '#Full_Seat_Showing_Woven',\n image: '/images/PiperQuiz/answer_4b.jpg'\n },\n {\n response: 'Technical',\n link: '#Full_Seat_Showing_Technical',\n image: '/images/PiperQuiz/technical.jpg'\n }\n ],\n productId: '',\n showSection: 'sectionName jsHide'\n },\n {\n name: 'Piper_Full_Seat_Showing_Woven',\n response: 'Woven',\n result: false,\n question:\n 'Do you prefer a low-rise fit that hits below the belly button, a mid-rise fit that hits at the belly button, or a high-rise fit that hits at the natural waist?',\n answer: [\n {\n response: 'Low-Rise',\n link: '#Full_Seat_Showing_Woven_Low_Rise',\n image: '/images/PiperQuiz/Low_Rise.jpg?width=150'\n },\n {\n response: 'Mid-Rise',\n link: '#Full_Seat_Showing_Woven_Mid_Rise',\n image: '/images/PiperQuiz/Mid_Rise.jpg?width=150'\n },\n {\n response: 'High-Rise',\n link: '#Full_Seat_Showing_Woven_High_Rise',\n image: '/images/PiperQuiz/High_Rise.jpg?width=150'\n }\n // {\n // response: 'Curvy',\n // link: '#Curvy_Full_Seat_Showing_Woven',\n // image: '/images/PiperQuiz/High_Rise.jpg?width=150'\n // }\n ],\n productId: '',\n showSection: 'sectionName jsHide'\n },\n {\n name: 'Piper_Full_Seat_Showing_Woven_Low_Rise',\n response: 'Low-Rise',\n result: true,\n question: '',\n answer: [],\n productId: '23064',\n showSection: 'sectionName jsHide'\n },\n {\n name: 'Piper_Full_Seat_Showing_Woven_Mid_Rise',\n response: 'Mid-Rise',\n result: true,\n question: '',\n answer: [],\n productId: '24028',\n showSection: 'sectionName jsHide'\n },\n {\n name: 'Piper_Full_Seat_Showing_Woven_High_Rise',\n response: 'High-Rise',\n result: true,\n question: '',\n answer: [],\n productId: '24028!23429!25578',\n showSection: 'sectionName jsHide'\n },\n // {\n // name: 'Piper_Curvy_Full_Seat_Showing_Woven',\n // response: 'Curvy_Full_Seat_Showing_Woven',\n // result: true,\n // question: '',\n // answer: [],\n // productId: '24028',\n // showSection: 'sectionName jsHide'\n // },\n {\n name: 'Piper_Full_Seat_Showing_Technical',\n response: 'Technical',\n result: false,\n question:\n 'Do you prefer a low-rise fit that hits below the belly button, a mid-rise fit that hits at the belly button, or a high-rise fit that hits at the natural waist?',\n answer: [\n {\n response: 'Low-Rise',\n link: '#Full_Seat_Showing_Technical_Low_Rise',\n image: '/images/PiperQuiz/Low_Rise.jpg?width=150'\n },\n {\n response: 'Mid-Rise',\n link: '#Full_Seat_Showing_Technical_Mid_Rise',\n image: '/images/PiperQuiz/Mid_Rise.jpg?width=150'\n },\n {\n response: 'High-Rise',\n link: '#Full_Seat_Showing_Technical_High_Rise',\n image: '/images/PiperQuiz/High_Rise.jpg?width=150'\n }\n // {\n // response: 'Curvy',\n // link: '#Curvy_Showing_Technical_Full_Seat',\n // image: '/images/PiperQuiz/High_Rise.jpg?width=150'\n // }\n ],\n productId: '',\n showSection: 'sectionName jsHide'\n },\n {\n name: 'Piper_Full_Seat_Showing_Technical_Low_Rise',\n response: 'Low-Rise',\n result: true,\n question: '',\n answer: [],\n productId: '23064',\n showSection: 'sectionName jsHide'\n },\n {\n name: 'Piper_Full_Seat_Showing_Technical_Mid_Rise',\n response: 'Mid-Rise',\n result: true,\n question: '',\n answer: [],\n productId: '14690',\n showSection: 'sectionName jsHide'\n },\n {\n name: 'Piper_Full_Seat_Showing_Technical_High_Rise',\n response: 'High-Rise',\n result: true,\n question: '',\n answer: [],\n productId: '24028!23429!25578',\n showSection: 'sectionName jsHide'\n },\n // {\n // name: 'Piper_Curvy_Showing_Technical_Full_Seat',\n // response: 'Curvy_Showing_Technical_Full_Seat',\n // result: true,\n // question: '',\n // answer: [],\n // productId: '24028',\n // showSection: 'sectionName jsHide'\n // },\n {\n name: 'Piper_Full_Seat_Schooling',\n response: 'Schooling',\n result: false,\n question:\n 'Do you prefer the classic look and feel of a traditional woven material, the comfort of a stretchy knit, or the performance of a technical fabric?',\n answer: [\n {\n response: 'Traditional Woven',\n link: '#Full_Seat_Schooling_Woven',\n image: '/images/PiperQuiz/answer_4b.jpg'\n },\n {\n response: 'Stretchy Knit/Tight',\n link: '#Full_Seat_Schooling_Knit',\n image: '/images/PiperQuiz/answer_4a.jpg'\n },\n {\n response: 'Technical',\n link: '#Full_Seat_Schooling_Technical',\n image: '/images/PiperQuiz/technical.jpg'\n }\n ],\n productId: '',\n showSection: 'sectionName jsHide'\n },\n {\n name: 'Piper_Full_Seat_Schooling_Knit',\n response: 'Knit',\n result: false,\n question:\n 'Do you prefer a low-rise fit that hits below the belly button, or a mid-rise fit that hits at the belly button?',\n answer: [\n// {\n// response: 'Low-Rise',\n// link: '#Full_Seat_Schooling_Knit_Low_Rise',\n// image: '/images/PiperQuiz/Low_Rise.jpg?width=150'\n// },\n {\n response: 'Mid-Rise',\n link: '#Full_Seat_Schooling_Knit_Mid_Rise',\n image: '/images/PiperQuiz/Mid_Rise.jpg?width=150'\n },\n {\n response: 'High-Rise',\n link: '#Full_Seat_Schooling_Knit_High_Rise',\n image: '/images/PiperQuiz/High_Rise.jpg?width=150'\n }\n ],\n productId: '',\n showSection: 'sectionName jsHide'\n },\n// {\n// name: 'Piper_Full_Seat_Schooling_Knit_Low_Rise',\n// response: 'Low-Rise',\n// result: true,\n// question: '',\n// answer: [],\n// productId: '24987',\n// showSection: 'sectionName jsHide'\n// },\n {\n name: 'Piper_Full_Seat_Schooling_Knit_Mid_Rise',\n response: 'Mid-Rise',\n result: true,\n question: '',\n answer: [],\n productId: '26120!26128!26107',\n showSection: 'sectionName jsHide'\n },\n {\n name: 'Piper_Full_Seat_Schooling_Knit_High_Rise',\n response: 'High-Rise',\n result: true,\n question: '',\n answer: [],\n productId: '26121',\n showSection: 'sectionName jsHide'\n },\n {\n name: 'Piper_Full_Seat_Schooling_Woven',\n response: 'Woven',\n result: false,\n question:\n 'Do you prefer a low-rise fit that hits below the belly button, or a mid-rise fit that hits at the belly button?',\n answer: [\n {\n response: 'Low-Rise',\n link: '#Full_Seat_Schooling_Woven_Low_Rise',\n image: '/images/PiperQuiz/Low_Rise.jpg?width=150'\n },\n {\n response: 'Mid-Rise',\n link: '#Full_Seat_Schooling_Woven_Mid_Rise',\n image: '/images/PiperQuiz/Mid_Rise.jpg?width=150'\n },\n {\n response: 'High-Rise',\n link: '#Full_Seat_Schooling_Woven_High_Rise',\n image: '/images/PiperQuiz/High_Rise.jpg?width=150'\n }\n // {\n // response: 'Curvy',\n // link: '#Curvy_Woven_Full_Seat',\n // image: '/images/PiperQuiz/High_Rise.jpg?width=150'\n // }\n ],\n productId: '',\n showSection: 'sectionName jsHide'\n },\n {\n name: 'Piper_Full_Seat_Schooling_Woven_Mid_Rise',\n response: 'Mid-Rise',\n result: true,\n question: '',\n answer: [],\n productId: '14690',\n showSection: 'sectionName jsHide'\n },\n {\n name: 'Piper_Full_Seat_Schooling_Woven_High_Rise',\n response: 'High-Rise',\n result: true,\n question: '',\n answer: [],\n productId: '23429!24028!25578!25567',\n showSection: 'sectionName jsHide'\n },\n // {\n // name: 'Curvy_Rise_Woven_Full_Seat',\n // result: true,\n // question: '',\n // answer: [],\n // productId: '24028',\n // showSection: 'sectionName jsHide'\n // },\n {\n name: 'Piper_Full_Seat_Schooling_Woven_Low_Rise',\n response: 'Low-Rise',\n result: true,\n question: '',\n answer: [],\n productId: '24033!23064',\n showSection: 'sectionName jsHide'\n },\n {\n name: 'Piper_Full_Seat_Schooling_Technical',\n response: 'Technical',\n result: false,\n question:\n 'Do you prefer a low-rise fit that hits below the belly button, a mid-rise fit that hits at the belly button, or a high-rise fit that hits at the natural waist?',\n answer: [\n {\n response: 'Low-Rise',\n link: '#Full_Seat_Schooling_Technical_Low_Rise',\n image: '/images/PiperQuiz/Low_Rise.jpg?width=150'\n },\n {\n response: 'Mid-Rise',\n link: '#Full_Seat_Schooling_Technical_Mid_Rise',\n image: '/images/PiperQuiz/Mid_Rise.jpg?width=150'\n },\n {\n response: 'High-Rise',\n link: '#Full_Seat_Schooling_Technical_High_Rise',\n image: '/images/PiperQuiz/High_Rise.jpg?width=150'\n }\n // {\n // response: 'Curvy',\n // link: '#Curvy_Full_Seat_Schooling_Technical',\n // image: '/images/PiperQuiz/High_Rise.jpg?width=150'\n // }\n ],\n productId: '',\n showSection: 'sectionName jsHide'\n },\n\n {\n name: 'Piper_Full_Seat_Schooling_Technical_Low_Rise',\n response: 'Low-Rise',\n result: true,\n question: '',\n answer: [],\n productId: '23064',\n showSection: 'sectionName jsHide'\n },\n\n {\n name: 'Piper_Full_Seat_Schooling_Technical_Mid_Rise',\n response: 'Mid-Rise',\n result: true,\n question: '',\n answer: [],\n productId: '14690!22381!24398!24985',\n showSection: 'sectionName jsHide'\n },\n\n {\n name: 'Piper_Full_Seat_Schooling_Technical_High_Rise',\n response: 'High-Rise',\n result: true,\n question: '',\n answer: [],\n productId: '23429!24028!25578',\n showSection: 'sectionName jsHide'\n },\n // {\n // name: 'Piper_Curvy_Full_Seat_Schooling_Technical',\n // response: 'Curvy_Full_Seat_Schooling_Technical',\n // result: true,\n // question: '',\n // answer: [],\n // productId: '24028',\n // showSection: 'sectionName jsHide'\n // },\n {\n name: 'Piper_Knee_Patch',\n response: 'Knee Patch',\n result: false,\n question: 'Are you looking for schooling breeches or showing breeches?',\n answer: [\n {\n response: 'Schooling',\n link: '#Knee_Patch_Schooling',\n image: ''\n },\n {\n response: 'Showing',\n link: '#Knee_Patch_Showing',\n image: ''\n }\n ],\n productId: '',\n showSection: 'sectionName jsHide'\n },\n {\n name: 'Piper_Knee_Patch_Showing',\n response: 'Showing',\n result: false,\n question:\n 'Do you prefer the classic look and feel of a traditional woven material or the performance of a technical fabric?',\n answer: [\n {\n response: 'Traditional Woven',\n link: '#Knee_Patch_Showing_Woven',\n image: '/images/PiperQuiz/answer_4b.jpg'\n },\n {\n response: 'Technical',\n link: '#Knee_Patch_Showing_Technical',\n image: '/images/PiperQuiz/technical.jpg'\n }\n ],\n productId: '',\n showSection: 'sectionName jsHide'\n },\n {\n name: 'Piper_Knee_Patch_Showing_Woven',\n response: 'Woven',\n result: false,\n question:\n 'Do you prefer a low-rise fit that hits below the belly button, a mid-rise fit that hits at the belly button, or a high-rise fit that hits at the natural waist?',\n answer: [\n {\n response: 'Low-Rise',\n link: '#Knee_Patch_Showing_Woven_Low_Rise',\n image: '/images/PiperQuiz/Low_Rise.jpg?width=150'\n },\n// {\n// response: 'Mid-Rise',\n// link: '#Knee_Patch_Showing_Woven_Mid_Rise',\n// image: '/images/PiperQuiz/Mid_Rise.jpg?width=150'\n// },\n {\n response: 'High-Rise',\n link: '#Knee_Patch_Showing_Woven_High_Rise',\n image: '/images/PiperQuiz/High_Rise.jpg?width=150'\n }\n // {\n // response: 'Curvy',\n // link: '#Curvy_Knee_Patch_Woven_Showing',\n // image: '/images/PiperQuiz/High_Rise.jpg?width=150'\n // }\n ],\n productId: '',\n showSection: 'sectionName jsHide'\n },\n {\n name: 'Piper_Knee_Patch_Showing_Woven_Low_Rise',\n response: 'Low-Rise',\n result: true,\n question: '',\n answer: [],\n productId: '23063',\n showSection: 'sectionName jsHide'\n },\n// {\n// name: 'Piper_Knee_Patch_Showing_Woven_Mid_Rise',\n// response: 'Mid-Rise',\n// result: true,\n// question: '',\n// answer: [],\n// productId: '24035!23430',\n// showSection: 'sectionName jsHide'\n// },\n {\n name: 'Piper_Knee_Patch_Showing_Woven_High_Rise',\n response: 'High-Rise',\n result: true,\n question: '',\n answer: [],\n productId: '24030!23431!25579',\n showSection: 'sectionName jsHide'\n },\n // {\n // name: 'Piper_Curvy_Knee_Patch_Woven_Showing',\n // response: 'Curvy_Knee_Patch_Woven_Showing',\n // result: true,\n // question: '',\n // answer: [],\n // productId: '24030',\n // showSection: 'sectionName jsHide'\n // },\n {\n name: 'Piper_Knee_Patch_Showing_Technical',\n response: 'Technical',\n result: false,\n question:\n 'Do you prefer a low-rise fit that hits below the belly button, a mid-rise fit that hits at the belly button, or a high-rise fit that hits at the natural waist?',\n answer: [\n {\n response: 'Low-Rise',\n link: '#Knee_Patch_Showing_Technical_Low_Rise',\n image: '/images/PiperQuiz/Low_Rise.jpg?width=150'\n },\n {\n response: 'Mid-Rise',\n link: '#Knee_Patch_Showing_Technical_Mid_Rise',\n image: '/images/PiperQuiz/Mid_Rise.jpg?width=150'\n },\n {\n response: 'High-Rise',\n link: '#Knee_Patch_Showing_Technical_High_Rise',\n image: '/images/PiperQuiz/High_Rise.jpg?width=150'\n }\n // {\n // response: 'Curvy',\n // link: '#Curvy_Knee_Patch_Technical_Showing',\n // image: '/images/PiperQuiz/High_Rise.jpg?width=150'\n // }\n ],\n productId: '',\n showSection: 'sectionName jsHide'\n },\n {\n name: 'Piper_Knee_Patch_Showing_Technical_Low_Rise',\n response: 'Low-Rise',\n result: true,\n question: '',\n answer: [],\n productId: '23063',\n showSection: 'sectionName jsHide'\n },\n {\n name: 'Piper_Knee_Patch_Showing_Technical_Mid_Rise',\n response: 'Mid-Rise',\n result: true,\n question: '',\n answer: [],\n productId: '14691!20517!23065',\n showSection: 'sectionName jsHide'\n },\n {\n name: 'Piper_Knee_Patch_Showing_Technical_High_Rise',\n response: 'High-Rise',\n result: true,\n question: '',\n answer: [],\n productId: '24030!23431!25579',\n showSection: 'sectionName jsHide'\n },\n // {\n // name: 'Piper_Curvy_Knee_Patch_Technical_Showing',\n // response: 'Curvy_Knee_Patch_Technical_Showing',\n // result: true,\n // question: '',\n // answer: [],\n // productId: '24030',\n // showSection: 'sectionName jsHide'\n // },\n\n {\n name: 'Piper_Knee_Patch_Schooling',\n response: 'Schooling',\n result: false,\n question:\n 'Do you prefer the classic look and feel of a traditional woven material, the comfort of a stretchy knit, or the performance of a technical fabric?',\n answer: [\n {\n response: 'Traditional Woven',\n link: '#Knee_Patch_Schooling_Woven',\n image: '/images/PiperQuiz/answer_4b.jpg'\n },\n {\n response: 'Stretchy Knit/Tight',\n link: '#Knee_Patch_Schooling_Knit',\n image: '/images/PiperQuiz/answer_4a.jpg'\n },\n {\n response: 'Technical',\n link: '#Knee_Patch_Schooling_Technical',\n image: '/images/PiperQuiz/technical.jpg'\n }\n ],\n productId: '',\n showSection: 'sectionName jsHide'\n },\n {\n name: 'Piper_Knee_Patch_Schooling_Technical',\n response: 'Technical',\n result: false,\n question:\n 'Do you prefer a low-rise fit that hits below the belly button, a mid-rise fit that hits at the belly button, or a high-rise fit that hits at the natural waist?',\n answer: [\n {\n response: 'Low-Rise',\n link: '#Knee_Patch_Schooling_Technical_Low_Rise',\n image: '/images/PiperQuiz/Low_Rise.jpg?width=150'\n },\n {\n response: 'Mid-Rise',\n link: '#Knee_Patch_Schooling_Technical_Mid_Rise',\n image: '/images/PiperQuiz/Mid_Rise.jpg?width=150'\n },\n {\n response: 'High-Rise',\n link: '#Knee_Patch_Schooling_Technical_High_Rise',\n image: '/images/PiperQuiz/High_Rise.jpg?width=150'\n }\n // {\n // response: 'Curvy',\n // link: '#Curvy_Knee_Patch_Technical_Schooling',\n // image: '/images/PiperQuiz/High_Rise.jpg?width=150'\n // }\n ],\n productId: '',\n showSection: 'sectionName jsHide'\n },\n {\n name: 'Piper_Knee_Patch_Schooling_Technical_Low_Rise',\n response: 'Low-Rise',\n result: true,\n question: '',\n answer: [],\n productId: '23063',\n showSection: 'sectionName jsHide'\n },\n {\n name: 'Piper_Knee_Patch_Schooling_Technical_Mid_Rise',\n response: 'Mid-Rise',\n result: true,\n question: '',\n answer: [],\n productId: '14691!22382!24400!24986',\n showSection: 'sectionName jsHide'\n },\n {\n name: 'Piper_Knee_Patch_Schooling_Technical_High_Rise',\n response: 'High-Rise',\n result: true,\n question: '',\n answer: [],\n productId: '24030!23431!25579',\n showSection: 'sectionName jsHide'\n },\n // {\n // name: 'Piper_Curvy_Knee_Patch_Technical_Schooling',\n // response: 'Curvy_Knee_Patch_Technical_Schooling',\n // result: true,\n // question: '',\n // answer: [],\n // productId: '24030',\n // showSection: 'sectionName jsHide'\n // },\n {\n name: 'Piper_Knee_Patch_Schooling_Knit',\n response: 'Knit',\n result: false,\n question:\n 'Do you prefer a low-rise fit that hits below the belly button, or a mid-rise fit that hits at the belly button?',\n answer: [\n// {\n// response: 'Low-Rise',\n// link: '#Knee_Patch_Schooling_Knit_Low_Rise',\n// image: '/images/PiperQuiz/Low_Rise.jpg?width=150'\n// },\n {\n response: 'Mid-Rise',\n link: '#Knee_Patch_Schooling_Knit_Mid_Rise',\n image: '/images/PiperQuiz/Mid_Rise.jpg?width=150'\n },\n {\n response: 'High-Rise',\n link: '#Knee_Patch_Schooling_Knit_High_Rise',\n image: '/images/PiperQuiz/High_Rise.jpg?width=150'\n }\n ],\n productId: '',\n showSection: 'sectionName jsHide'\n },\n// {\n// name: 'Piper_Knee_Patch_Schooling_Knit_Low_Rise',\n// response: 'Low-Rise',\n// result: true,\n// question: '',\n// answer: [],\n// productId: '24987',\n// showSection: 'sectionName jsHide'\n// },\n {\n name: 'Piper_Knee_Patch_Schooling_Knit_Mid_Rise',\n response: 'Mid-Rise',\n result: true,\n question: '',\n answer: [],\n productId: '26125!26129',\n showSection: 'sectionName jsHide'\n },\n {\n name: 'Piper_Knee_Patch_Schooling_Knit_High_Rise',\n response: 'High-Rise',\n result: true,\n question: '',\n answer: [],\n productId: '26126',\n showSection: 'sectionName jsHide'\n },\n {\n name: 'Piper_Knee_Patch_Schooling_Woven',\n response: 'Woven',\n result: false,\n question:\n 'Do you prefer a low-rise fit that hits below the belly button, a mid-rise fit that hits at the belly button, or a high-rise fit that hits at the natural waist?',\n answer: [\n {\n response: 'Low-Rise',\n link: '#Knee_Patch_Schooling_Woven_Low_Rise',\n image: '/images/PiperQuiz/Low_Rise.jpg?width=150'\n },\n {\n response: 'Mid-Rise',\n link: '#Knee_Patch_Schooling_Woven_Mid_Rise',\n image: '/images/PiperQuiz/Mid_Rise.jpg?width=150'\n },\n {\n response: 'High-Rise',\n link: '#Knee_Patch_Schooling_Woven_High_Rise',\n image: '/images/PiperQuiz/High_Rise.jpg?width=150'\n }\n // {\n // response: 'Curvy',\n // link: '#Curvy_Woven_Knee_Patch',\n // image: '/images/PiperQuiz/High_Rise.jpg?width=150'\n // }\n ],\n productId: '',\n showSection: 'sectionName jsHide'\n },\n {\n name: 'Piper_Knee_Patch_Schooling_Woven_Mid_Rise',\n response: 'Mid-Rise',\n result: true,\n question: '',\n answer: [],\n productId: '14691!23065',\n showSection: 'sectionName jsHide'\n },\n {\n name: 'Piper_Knee_Patch_Schooling_Woven_High_Rise',\n response: 'High-Rise',\n result: true,\n question: '',\n answer: [],\n productId: '24030!23431!25579!25568',\n showSection: 'sectionName jsHide'\n },\n // {\n // name: 'Piper_Curvy_Woven_Knee_Patch',\n // response: 'Curvy_Woven_Knee_Patch',\n // result: true,\n // question: '',\n // answer: [],\n // productId: '24030',\n // showSection: 'sectionName jsHide'\n // },\n {\n name: 'Piper_Knee_Patch_Schooling_Woven_Low_Rise',\n response: 'Low-Rise',\n result: true,\n question: '',\n answer: [],\n productId: '24034!23063',\n showSection: 'sectionName jsHide'\n },\n {\n name: 'Piper_Boot_Cut',\n response: 'Boot_Cut',\n result: true,\n question: '',\n answer: [],\n productId: '26123!26124!26122',\n showSection: 'sectionName jsHide'\n }\n ]\n};\n\nko.applyBindings(new PiperQuiz(data), document.getElementById('piperSections'));\n","import $ from 'jquery';\r\nimport modal from '../../smartpak/modal.js';\r\n\r\nlet $wishList;\r\n\r\nconst wishList = {\r\n init: function() {\r\n this._bindUIEvents();\r\n },\r\n\r\n _loadResults: function(html) {\r\n $wishList.html(html);\r\n },\r\n\r\n _bindUIEvents: function() {\r\n $('.wishlistLink').on(\r\n 'click',\r\n 'a',\r\n function(e) {\r\n e.preventDefault();\r\n this._addToWishList($(e.currentTarget));\r\n }.bind(this)\r\n );\r\n },\r\n\r\n _addToWishList: function(element) {\r\n var productclassId = element.attr('data-productclassid'),\r\n productid = element.attr('data-productid'),\r\n url = element.attr('data-posturl'),\r\n data = $.param({\r\n productclassId: productclassId,\r\n selectedProductId: productid\r\n });\r\n\r\n $.post(url, data).done(this._show.bind(this));\r\n },\r\n\r\n _show: function(html) {\r\n $wishList = $('#wishListContent');\r\n this._loadResults(html);\r\n modal($wishList.get(0), {\r\n width: '450px',\r\n title: 'Added to My Wishlist'\r\n });\r\n }\r\n};\r\n\r\nexport default wishList;\r\n","module.exports = jQuery;","module.exports = ko;"],"names":["cleanTitle","text","flag","output","replace","defaultImageName","data","defaultValue","IsWesternDefaultImage","smartPak","cdProfileCookie","isWesternDiscipline","ImageWestern","length","ImagePath","possessiveName","name","substr","toLowerCase","Modal","_Dialog","content","opts","_classCallCheck","_callSuper","_inherits","_createClass","window","ds","Dialog","Noop","modal","options","utils","ko","obj","$refresh","$","$piper","$footer","$visitedPage","error","arr","win","this","sections","arrayMap","section","hasProductsAvailable","products","getHash","hash","location","getSectionView","sectionID","hashId","$section","i","val","attr","loadProductView","addClass","bind","$piperID","results","find","removeClass","threeAnswerLayout","not","remove","getProductData","removeScripts","input","searchWord","RegExp","valScript","test","$sectionID","divLen","$answer","$layout","formatProductReviews","prodData","grabProductData","initateMedia","multiplePiperResults","item","Title","thumbnail","productId","Id","socialUrl","Url","wishList","init","$recently","$recentViewList","$socialLinks","$productItem","successProductReviews","recentlyViewedProducts","loadBvReviewStars","productIDs","ids","api","product","getProductClassDTOList","split","done","fail","hideOnHomePage","removeFromArray","array","leftover","total","spot","splice","checkForPiperDistinction","piper","hashedValue","option","response","replacePiperType","type","copy","removeContent","populateVisitedLinks","backBtn","push","btnText","html","appendTo","on","result","question","answer","link","image","showSection","document","getElementById","$wishList","_bindUIEvents","_loadResults","e","preventDefault","_addToWishList","currentTarget","element","productclassId","productid","url","selectedProductId","_show","get","width","title","module","exports","jQuery"],"sourceRoot":""}