{"version":3,"sources":["wheeparam.js","common.js"],"names":["Wheeparam","version","init","onDocuemntReady","fn","document","attachEvent","readyState","addEventListener","Easing","easeInQuad","t","b","c","d","easeOutQuad","easeInOutQuad","easeInCubic","easeOutCubic","easeInOutCubic","easeInQuart","easeOutQuart","easeInOutQuart","easeInQuint","easeOutQuint","easeInOutQuint","easeInSine","Math","cos","PI","easeOutSine","sin","easeInOutSine","easeInExpo","pow","easeOutExpo","easeInOutExpo","easeInCirc","sqrt","easeOutCirc","easeInOutCirc","easeInElastic","s","p","a","abs","asin","easeOutElastic","easeInOutElastic","easeInBack","undefined","easeOutBack","easeInOutBack","easeInBounce","easeOutBounce","easeInOutBounce","global","factory","define","amd","exports","module","mod","autosize","this","keys","values","map","Map","has","key","indexOf","get","set","value","push","delete","index","splice","createEvent","name","Event","bubbles","e","evt","initEvent","assign","ta","nodeName","style","heightOffset","clientWidth","cachedHeight","pageResize","update","destroy","window","removeEventListener","Object","forEach","bind","height","resize","overflowY","overflowX","wordWrap","getComputedStyle","boxSizing","parseFloat","paddingTop","paddingBottom","borderTopWidth","borderBottomWidth","isNaN","changeOverflow","width","offsetWidth","scrollHeight","overflows","el","arr","parentNode","Element","scrollTop","node","getParentOverflows","docTop","documentElement","styleHeight","round","computed","actualHeight","offsetHeight","dispatchEvent","err","methods","options","Array","prototype","call","length","x","default","Number","numberFormat","reg","n","test","replace","String","unNumberFormat","str","returnStr","Date","dateFormat","f","valueOf","weekName","shortWeekName","$1","getFullYear","zf","getMonth","getDate","getDay","getHours","h","getMinutes","getSeconds","string","len","i","toString","toKorean","hanA","danA","num","result","han","charAt","regex","regexType","transNum","c2","remander","checkID","chkSum","bizID","substring","floor","ScrollTo","elementSelector","animation","duration","start","pageYOffset","body","to","querySelector","offsetTop","change","currentTime","animateScroll","scrollTo","setTimeout","extend","out","arguments","obj","hasOwnProperty","popup","defaults","title","url","onFailed","alert","option","cw","screen","availWidth","ch","availHeight","sw","sh","opt","win","open","outerWidth","outerHeight","shareSNS","provider","imgSrc","getAttribute","innerText","location","href","encodeURIComponent","loc","checkboxs","querySelectorAll","event","is_all","checked","$allCheck","checks","k","is_all_check","$input","which","preventDefault","$socialParentElement","providers"],"mappings":"AAAA,IAAIA,UAAY,CACZC,QAAS,QAGbC,KAAiB,aACjBC,gBAA4B,SAASC,IAC7BC,SAASC,YAAsC,aAAxBD,SAASE,WAAoD,YAAxBF,SAASE,YACrEH,IAEAC,SAASG,iBAAiB,mBAAoBJ,KAGtDJ,UAAUS,OAAS,CACfC,WAAY,SAAUC,EAAGC,EAAGC,EAAGC,GAC3B,OAAOD,GAAGF,GAAGG,GAAGH,EAAIC,GAExBG,YAAa,SAAUJ,EAAGC,EAAGC,EAAGC,GAC5B,OAAQD,GAAIF,GAAGG,IAAIH,EAAE,GAAKC,GAE9BI,cAAe,SAAUL,EAAGC,EAAGC,EAAGC,GAC9B,OAAKH,GAAGG,EAAE,GAAK,EAAUD,EAAE,EAAEF,EAAEA,EAAIC,GAC3BC,EAAE,KAAQF,GAAIA,EAAE,GAAK,GAAKC,GAEtCK,YAAa,SAAUN,EAAGC,EAAGC,EAAGC,GAC5B,OAAOD,GAAGF,GAAGG,GAAGH,EAAEA,EAAIC,GAE1BM,aAAc,SAAUP,EAAGC,EAAGC,EAAGC,GAC7B,OAAOD,IAAIF,EAAEA,EAAEG,EAAE,GAAGH,EAAEA,EAAI,GAAKC,GAEnCO,eAAgB,SAAUR,EAAGC,EAAGC,EAAGC,GAC/B,OAAKH,GAAGG,EAAE,GAAK,EAAUD,EAAE,EAAEF,EAAEA,EAAEA,EAAIC,EAC9BC,EAAE,IAAIF,GAAG,GAAGA,EAAEA,EAAI,GAAKC,GAElCQ,YAAa,SAAUT,EAAGC,EAAGC,EAAGC,GAC5B,OAAOD,GAAGF,GAAGG,GAAGH,EAAEA,EAAEA,EAAIC,GAE5BS,aAAc,SAAUV,EAAGC,EAAGC,EAAGC,GAC7B,OAAQD,IAAMF,EAAEA,EAAEG,EAAE,GAAGH,EAAE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E,EAAO3G,OAAQ+B,IAE3B4E,EAAO5E,GAAGnK,iBAAiB,QAAS,WAChCuD,SAASC,UASzBhE,UAAUG,gBAAgB,WACtB,IAAIuP,EAAuBrP,SAAS0O,iBAAiB,oBACrD,GAAGW,EAAqB9G,OAAS,EAE7B,IAAI,IAAI+B,EAAG,EAAGA,EAAE+E,EAAqB9G,OAAQ+B,IAUzC,IARA,IAAIpD,EAAKmI,EAAqB/E,GAC1ByC,EAAQ7F,EAAGiH,aAAa,cAAgBjH,EAAGiH,aAAa,cAAgB,GACxEnB,EAAM9F,EAAGiH,aAAa,YAAcjH,EAAGiH,aAAa,YAAc,GAClED,EAAShH,EAAGiH,aAAa,gBAAkBjH,EAAGiH,aAAa,gBAAkB,GAC7ErH,EAAQI,EAAGiH,aAAa,cAAgBjH,EAAGiH,aAAa,cAAgB,IACxEnI,EAASkB,EAAGiH,aAAa,eAAiBjH,EAAGiH,aAAa,eAAiB,IAC3EmB,EAAYpI,EAAGwH,iBAAiB,uBAE5BM,EAAE,EAAGA,EAAEM,EAAU/G,OAAQyG,IAE7BM,EAAUN,GAAG7O,iBAAiB,QAAS,WACnC,IAAI8N,EAAWtK,KAAKwK,aAAa,qBAAwBxK,KAAKwK,aAAa,qBAAuB,GAClG,IAAKF,EAAU,OAAO,EAEtBtO,UAAUqO,SAAS,CACfjB,MAAQA,EACRkB,SAAWA,EACXjB,IAAMA,EACNkB,OAAQA,EACRpH,MAAOA,EACPd,OAAQA","sourcesContent":["var Wheeparam = {\r\n version: '0.0.1'\r\n};\r\n\r\nWheeparam.init = function() {};\r\nWheeparam.onDocuemntReady = function(fn) {\r\n if (document.attachEvent ? document.readyState === \"complete\" : document.readyState !== \"loading\"){\r\n fn();\r\n } else {\r\n document.addEventListener('DOMContentLoaded', fn);\r\n }\r\n};\r\nWheeparam.Easing = {\r\n easeInQuad: function (t, b, c, d) {\r\n return c*(t/=d)*t + b;\r\n },\r\n easeOutQuad: function (t, b, c, d) {\r\n return -c *(t/=d)*(t-2) + b;\r\n },\r\n easeInOutQuad: function (t, b, c, d) {\r\n if ((t/=d/2) < 1) return c/2*t*t + b;\r\n return -c/2 * ((--t)*(t-2) - 1) + b;\r\n },\r\n easeInCubic: function (t, b, c, d) {\r\n return c*(t/=d)*t*t + b;\r\n },\r\n easeOutCubic: function (t, b, c, d) {\r\n return c*((t=t/d-1)*t*t + 1) + b;\r\n },\r\n easeInOutCubic: function (t, b, c, d) {\r\n if ((t/=d/2) < 1) return c/2*t*t*t + b;\r\n return c/2*((t-=2)*t*t + 2) + b;\r\n },\r\n easeInQuart: function (t, b, c, d) {\r\n return c*(t/=d)*t*t*t + b;\r\n },\r\n easeOutQuart: function (t, b, c, d) {\r\n return -c * ((t=t/d-1)*t*t*t - 1) + b;\r\n },\r\n easeInOutQuart: function (t, b, c, d) {\r\n if ((t/=d/2) < 1) return c/2*t*t*t*t + b;\r\n return -c/2 * ((t-=2)*t*t*t - 2) + b;\r\n },\r\n easeInQuint: function (t, b, c, d) {\r\n return c*(t/=d)*t*t*t*t + b;\r\n },\r\n easeOutQuint: function (t, b, c, d) {\r\n return c*((t=t/d-1)*t*t*t*t + 1) + b;\r\n },\r\n easeInOutQuint: function (t, b, c, d) {\r\n if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;\r\n return c/2*((t-=2)*t*t*t*t + 2) + b;\r\n },\r\n easeInSine: function (t, b, c, d) {\r\n return -c * Math.cos(t/d * (Math.PI/2)) + c + b;\r\n },\r\n easeOutSine: function (t, b, c, d) {\r\n return c * Math.sin(t/d * (Math.PI/2)) + b;\r\n },\r\n easeInOutSine: function (t, b, c, d) {\r\n return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b;\r\n },\r\n easeInExpo: function (t, b, c, d) {\r\n return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;\r\n },\r\n easeOutExpo: function (t, b, c, d) {\r\n return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;\r\n },\r\n easeInOutExpo: function (t, b, c, d) {\r\n if (t==0) return b;\r\n if (t==d) return b+c;\r\n if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;\r\n return c/2 * (-Math.pow(2, -10 * --t) + 2) + b;\r\n },\r\n easeInCirc: function (t, b, c, d) {\r\n return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b;\r\n },\r\n easeOutCirc: function (t, b, c, d) {\r\n return c * Math.sqrt(1 - (t=t/d-1)*t) + b;\r\n },\r\n easeInOutCirc: function (t, b, c, d) {\r\n if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b;\r\n return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b;\r\n },\r\n easeInElastic: function (t, b, c, d) {\r\n var s=1.70158;var p=0;var a=c;\r\n if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;\r\n if (a < Math.abs(c)) { a=c; var s=p/4; }\r\n else var s = p/(2*Math.PI) * Math.asin (c/a);\r\n return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;\r\n },\r\n easeOutElastic: function (t, b, c, d) {\r\n var s=1.70158;var p=0;var a=c;\r\n if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;\r\n if (a < Math.abs(c)) { a=c; var s=p/4; }\r\n else var s = p/(2*Math.PI) * Math.asin (c/a);\r\n return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b;\r\n },\r\n easeInOutElastic: function (t, b, c, d) {\r\n var s=1.70158;var p=0;var a=c;\r\n if (t==0) return b; if ((t/=d/2)==2) return b+c; if (!p) p=d*(.3*1.5);\r\n if (a < Math.abs(c)) { a=c; var s=p/4; }\r\n else var s = p/(2*Math.PI) * Math.asin (c/a);\r\n if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;\r\n return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;\r\n },\r\n easeInBack: function (t, b, c, d, s) {\r\n if (s == undefined) s = 1.70158;\r\n return c*(t/=d)*t*((s+1)*t - s) + b;\r\n },\r\n easeOutBack: function (t, b, c, d, s) {\r\n if (s == undefined) s = 1.70158;\r\n return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;\r\n },\r\n easeInOutBack: function (t, b, c, d, s) {\r\n if (s == undefined) s = 1.70158;\r\n if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;\r\n return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;\r\n },\r\n easeInBounce: function (t, b, c, d) {\r\n return c - Wheeparam.Easing.easeOutBounce (d-t, 0, c, d) + b;\r\n },\r\n easeOutBounce: function (t, b, c, d) {\r\n if ((t/=d) < (1/2.75)) {\r\n return c*(7.5625*t*t) + b;\r\n } else if (t < (2/2.75)) {\r\n return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;\r\n } else if (t < (2.5/2.75)) {\r\n return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;\r\n } else {\r\n return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;\r\n }\r\n },\r\n easeInOutBounce: function (t, b, c, d) {\r\n if (t < d/2) return Wheeparam.Easing.easeInBounce (t*2, 0, c, d) * .5 + b;\r\n return Wheeparam.Easing.easeOutBounce (t*2-d, 0, c, d) * .5 + c*.5 + b;\r\n }\r\n};\r\n/*!\r\n\tautosize 4.0.2\r\n\tlicense: MIT\r\n\thttp://www.jacklmoore.com/autosize\r\n*/\r\n(function (global, factory) {\r\n if (typeof define === \"function\" && define.amd) {\r\n define(['module', 'exports'], factory);\r\n } else if (typeof exports !== \"undefined\") {\r\n factory(module, exports);\r\n } else {\r\n var mod = {\r\n exports: {}\r\n };\r\n factory(mod, mod.exports);\r\n global.autosize = mod.exports;\r\n }\r\n})(this, function (module, exports) {\r\n 'use strict';\r\n\r\n var map = typeof Map === \"function\" ? new Map() : function () {\r\n var keys = [];\r\n var values = [];\r\n\r\n return {\r\n has: function has(key) {\r\n return keys.indexOf(key) > -1;\r\n },\r\n get: function get(key) {\r\n return values[keys.indexOf(key)];\r\n },\r\n set: function set(key, value) {\r\n if (keys.indexOf(key) === -1) {\r\n keys.push(key);\r\n values.push(value);\r\n }\r\n },\r\n delete: function _delete(key) {\r\n var index = keys.indexOf(key);\r\n if (index > -1) {\r\n keys.splice(index, 1);\r\n values.splice(index, 1);\r\n }\r\n }\r\n };\r\n }();\r\n\r\n var createEvent = function createEvent(name) {\r\n return new Event(name, { bubbles: true });\r\n };\r\n try {\r\n new Event('test');\r\n } catch (e) {\r\n // IE does not support `new Event()`\r\n createEvent = function createEvent(name) {\r\n var evt = document.createEvent('Event');\r\n evt.initEvent(name, true, false);\r\n return evt;\r\n };\r\n }\r\n\r\n function assign(ta) {\r\n if (!ta || !ta.nodeName || ta.nodeName !== 'TEXTAREA' || map.has(ta)) return;\r\n\r\n var heightOffset = null;\r\n var clientWidth = null;\r\n var cachedHeight = null;\r\n\r\n function init() {\r\n var style = window.getComputedStyle(ta, null);\r\n\r\n if (style.resize === 'vertical') {\r\n ta.style.resize = 'none';\r\n } else if (style.resize === 'both') {\r\n ta.style.resize = 'horizontal';\r\n }\r\n\r\n if (style.boxSizing === 'content-box') {\r\n heightOffset = -(parseFloat(style.paddingTop) + parseFloat(style.paddingBottom));\r\n } else {\r\n heightOffset = parseFloat(style.borderTopWidth) + parseFloat(style.borderBottomWidth);\r\n }\r\n // Fix when a textarea is not on document body and heightOffset is Not a Number\r\n if (isNaN(heightOffset)) {\r\n heightOffset = 0;\r\n }\r\n\r\n update();\r\n }\r\n\r\n function changeOverflow(value) {\r\n {\r\n // Chrome/Safari-specific fix:\r\n // When the textarea y-overflow is hidden, Chrome/Safari do not reflow the text to account for the space\r\n // made available by removing the scrollbar. The following forces the necessary text reflow.\r\n var width = ta.style.width;\r\n ta.style.width = '0px';\r\n // Force reflow:\r\n /* jshint ignore:start */\r\n ta.offsetWidth;\r\n /* jshint ignore:end */\r\n ta.style.width = width;\r\n }\r\n\r\n ta.style.overflowY = value;\r\n }\r\n\r\n function getParentOverflows(el) {\r\n var arr = [];\r\n\r\n while (el && el.parentNode && el.parentNode instanceof Element) {\r\n if (el.parentNode.scrollTop) {\r\n arr.push({\r\n node: el.parentNode,\r\n scrollTop: el.parentNode.scrollTop\r\n });\r\n }\r\n el = el.parentNode;\r\n }\r\n\r\n return arr;\r\n }\r\n\r\n function resize() {\r\n if (ta.scrollHeight === 0) {\r\n // If the scrollHeight is 0, then the element probably has display:none or is detached from the DOM.\r\n return;\r\n }\r\n\r\n var overflows = getParentOverflows(ta);\r\n var docTop = document.documentElement && document.documentElement.scrollTop; // Needed for Mobile IE (ticket #240)\r\n\r\n ta.style.height = '';\r\n ta.style.height = ta.scrollHeight + heightOffset + 'px';\r\n\r\n // used to check if an update is actually necessary on window.resize\r\n clientWidth = ta.clientWidth;\r\n\r\n // prevents scroll-position jumping\r\n overflows.forEach(function (el) {\r\n el.node.scrollTop = el.scrollTop;\r\n });\r\n\r\n if (docTop) {\r\n document.documentElement.scrollTop = docTop;\r\n }\r\n }\r\n\r\n function update() {\r\n resize();\r\n\r\n var styleHeight = Math.round(parseFloat(ta.style.height));\r\n var computed = window.getComputedStyle(ta, null);\r\n\r\n // Using offsetHeight as a replacement for computed.height in IE, because IE does not account use of border-box\r\n var actualHeight = computed.boxSizing === 'content-box' ? Math.round(parseFloat(computed.height)) : ta.offsetHeight;\r\n\r\n // The actual height not matching the style height (set via the resize method) indicates that\r\n // the max-height has been exceeded, in which case the overflow should be allowed.\r\n if (actualHeight < styleHeight) {\r\n if (computed.overflowY === 'hidden') {\r\n changeOverflow('scroll');\r\n resize();\r\n actualHeight = computed.boxSizing === 'content-box' ? Math.round(parseFloat(window.getComputedStyle(ta, null).height)) : ta.offsetHeight;\r\n }\r\n } else {\r\n // Normally keep overflow set to hidden, to avoid flash of scrollbar as the textarea expands.\r\n if (computed.overflowY !== 'hidden') {\r\n changeOverflow('hidden');\r\n resize();\r\n actualHeight = computed.boxSizing === 'content-box' ? Math.round(parseFloat(window.getComputedStyle(ta, null).height)) : ta.offsetHeight;\r\n }\r\n }\r\n\r\n if (cachedHeight !== actualHeight) {\r\n cachedHeight = actualHeight;\r\n var evt = createEvent('autosize:resized');\r\n try {\r\n ta.dispatchEvent(evt);\r\n } catch (err) {\r\n // Firefox will throw an error on dispatchEvent for a detached element\r\n // https://bugzilla.mozilla.org/show_bug.cgi?id=889376\r\n }\r\n }\r\n }\r\n\r\n var pageResize = function pageResize() {\r\n if (ta.clientWidth !== clientWidth) {\r\n update();\r\n }\r\n };\r\n\r\n var destroy = function (style) {\r\n window.removeEventListener('resize', pageResize, false);\r\n ta.removeEventListener('input', update, false);\r\n ta.removeEventListener('keyup', update, false);\r\n ta.removeEventListener('autosize:destroy', destroy, false);\r\n ta.removeEventListener('autosize:update', update, false);\r\n\r\n Object.keys(style).forEach(function (key) {\r\n ta.style[key] = style[key];\r\n });\r\n\r\n map.delete(ta);\r\n }.bind(ta, {\r\n height: ta.style.height,\r\n resize: ta.style.resize,\r\n overflowY: ta.style.overflowY,\r\n overflowX: ta.style.overflowX,\r\n wordWrap: ta.style.wordWrap\r\n });\r\n\r\n ta.addEventListener('autosize:destroy', destroy, false);\r\n\r\n // IE9 does not fire onpropertychange or oninput for deletions,\r\n // so binding to onkeyup to catch most of those events.\r\n // There is no way that I know of to detect something like 'cut' in IE9.\r\n if ('onpropertychange' in ta && 'oninput' in ta) {\r\n ta.addEventListener('keyup', update, false);\r\n }\r\n\r\n window.addEventListener('resize', pageResize, false);\r\n ta.addEventListener('input', update, false);\r\n ta.addEventListener('autosize:update', update, false);\r\n ta.style.overflowX = 'hidden';\r\n ta.style.wordWrap = 'break-word';\r\n\r\n map.set(ta, {\r\n destroy: destroy,\r\n update: update\r\n });\r\n\r\n init();\r\n }\r\n\r\n function destroy(ta) {\r\n var methods = map.get(ta);\r\n if (methods) {\r\n methods.destroy();\r\n }\r\n }\r\n\r\n function update(ta) {\r\n var methods = map.get(ta);\r\n if (methods) {\r\n methods.update();\r\n }\r\n }\r\n\r\n var autosize = null;\r\n\r\n // Do nothing in Node.js environment and IE8 (or lower)\r\n if (typeof window === 'undefined' || typeof window.getComputedStyle !== 'function') {\r\n autosize = function autosize(el) {\r\n return el;\r\n };\r\n autosize.destroy = function (el) {\r\n return el;\r\n };\r\n autosize.update = function (el) {\r\n return el;\r\n };\r\n } else {\r\n autosize = function autosize(el, options) {\r\n if (el) {\r\n Array.prototype.forEach.call(el.length ? el : [el], function (x) {\r\n return assign(x, options);\r\n });\r\n }\r\n return el;\r\n };\r\n autosize.destroy = function (el) {\r\n if (el) {\r\n Array.prototype.forEach.call(el.length ? el : [el], destroy);\r\n }\r\n return el;\r\n };\r\n autosize.update = function (el) {\r\n if (el) {\r\n Array.prototype.forEach.call(el.length ? el : [el], update);\r\n }\r\n return el;\r\n };\r\n }\r\n\r\n exports.default = autosize;\r\n module.exports = exports['default'];\r\n});\r\n/**********************************************************************************************************************\r\n * 숫자에 컴마를 붙여서 리턴한다\r\n * @returns {*}\r\n *********************************************************************************************************************/\r\nNumber.prototype.numberFormat = function(){\r\n if(this==0) return 0;\r\n\r\n var reg = /(^[+-]?\\d+)(\\d{3})/;\r\n var n = (this + '');\r\n\r\n while (reg.test(n)) n = n.replace(reg, '$1' + ',' + '$2');\r\n\r\n return n;\r\n};\r\nString.prototype.numberFormat = function() { return isNaN( parseFloat(this) ) ? \"0\" : (parseFloat(this)).numberFormat(); };\r\n\r\n/**********************************************************************************************************************\r\n * 컴마가 붙어있는 숫자에서 콤마를 삭제하고 숫자로 반환한다.\r\n * @returns {*}\r\n *********************************************************************************************************************/\r\nString.prototype.unNumberFormat = function() {\r\n var str = this;\r\n if(typeof str == 'number') return str;\r\n str = (\"\" + str).replace(/,/gi,''); // 콤마 제거\r\n str = str.replace(/(^\\s*)|(\\s*$)/g, \"\"); // trim\r\n\r\n var returnStr = new Number(str);\r\n return isNaN(returnStr) ? str : returnStr;\r\n};\r\nNumber.prototype.unNumberFormat = function() {\r\n return this;\r\n};\r\n\r\n/**********************************************************************************************************************\r\n * 날짜를 원하는 포맷 형식으로 출력\r\n * @param f\r\n * @returns {*}\r\n *********************************************************************************************************************/\r\nDate.prototype.dateFormat = function(f) {\r\n if (!this.valueOf()) return \" \";\r\n if (!f) return this;\r\n\r\n var weekName = [\"일요일\", \"월요일\", \"화요일\", \"수요일\", \"목요일\", \"금요일\", \"토요일\"],\r\n shortWeekName = [\"일\", \"월\", \"화\", \"수\", \"목\", \"금\", \"토\"],\r\n d = this;\r\n\r\n return f.replace(/(yyyy|yy|MM|dd|E|hh|mm|ss|a\\/p)/gi, function($1) {\r\n switch ($1) {\r\n case \"yyyy\": return d.getFullYear();\r\n case \"yy\": return (d.getFullYear() % 1000).zf(2);\r\n case \"MM\": return (d.getMonth() + 1).zf(2);\r\n case \"dd\": return d.getDate().zf(2);\r\n case \"E\": return weekName[d.getDay()];\r\n case \"e\": return shortWeekName[d.getDay()];\r\n case \"HH\": return d.getHours().zf(2);\r\n case \"hh\": return ((h = d.getHours() % 12) ? h : 12).zf(2);\r\n case \"mm\": return d.getMinutes().zf(2);\r\n case \"ss\": return d.getSeconds().zf(2);\r\n case \"a/p\": return d.getHours() < 12 ? \"오전\" : \"오후\";\r\n default: return $1;\r\n }\r\n });\r\n};\r\nString.prototype.string = function(len){var s = '', i = 0; while (i++ < len) { s += this; } return s;};\r\nString.prototype.zf = function(len){return \"0\".string(len - this.length) + this;};\r\nNumber.prototype.zf = function(len){return this.toString().zf(len);};\r\nString.prototype.dateFormat = function(f) {\r\n var d = new Date(this);\r\n return ( d == 'Invalid Date') ? '' : d.dateFormat(f);\r\n}\r\n\r\n/**********************************************************************************************************************\r\n * 숫자를 한글명으로 바꿔서 보여줍니다.\r\n *********************************************************************************************************************/\r\nNumber.prototype.toKorean = function() {\r\n var hanA = new Array(\"\",\"일\",\"이\",\"삼\",\"사\",\"오\",\"육\",\"칠\",\"팔\",\"구\",\"십\"),\r\n danA = new Array(\"\",\"십\",\"백\",\"천\",\"\",\"십\",\"백\",\"천\",\"\",\"십\",\"백\",\"천\",\"\",\"십\",\"백\",\"천\"),\r\n num = new String(this),\r\n result = '';\r\n\r\n for(var i=0; i()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/,\r\n str = this;\r\n\r\n switch(regexType) {\r\n case \"phone\" :\r\n var transNum = str.replace(/\\s/gi, '').replace(/-/gi,'');\r\n if(transNum.length == 11 || transNum.length == 10) {\r\n if( phoneRegex.test(transNum) ) {\r\n transNum = transNum.replace(phoneWithHypenRegex, '$1-$2-$3');\r\n return transNum;\r\n }\r\n }\r\n return false;\r\n case \"tel\":\r\n var transNum = str.replace(/\\s/gi, '').replace(/-/gi,'');\r\n transNum = transNum.replace(telRegex, '$1-$2-$3');\r\n if(telCheckRegex.test(transNum)) {\r\n return transNum;\r\n }\r\n return false;\r\n case \"email\":\r\n return emailRegex.test(str);\r\n\r\n case \"biznum\" :\r\n var checkID = new Array(1, 3, 7, 1, 3, 7, 1, 3, 5, 1),\r\n tmpBizID, i, chkSum=0, c2, remander,\r\n bizID = str.replace(/-/gi,'');\r\n\r\n for (i=0; i<=7; i++) chkSum += checkID[i] * bizID.charAt(i);\r\n c2 = \"0\" + (checkID[8] * bizID.charAt(8));\r\n c2 = c2.substring(c2.length - 2, c2.length);\r\n chkSum += Math.floor(c2.charAt(0)) + Math.floor(c2.charAt(1));\r\n remander = (10 - (chkSum % 10)) % 10 ;\r\n\r\n if (Math.floor(bizID.charAt(9)) == remander) return bizID.replace(/(\\d{3})(\\d{2})(\\d{5})/, '$1-$2-$3');\r\n return false;\r\n }\r\n};\r\n/************************************************************************************************************\r\n * 특정 엘리먼트 또는 최상단으로 스크롤을 이동시킵니다.\r\n * @param elementSelector 셀렉터\r\n * @param animation 애니메이션 효과\r\n * @param duration 지속시간\r\n * @constructor\r\n *************************************************************************************************************/\r\nWheeparam.ScrollTo = function( elementSelector, animation, duration ) {\r\n elementSelector = typeof elementSelector != 'undefined' && elementSelector ? elementSelector : false;\r\n animation = typeof animation != 'undefined' && animation ? animation : false;\r\n duration = typeof duration != 'undefined' && duration && animation ? duration : 0;\r\n\r\n var start = window.pageYOffset || document.body.scrollTop,\r\n element = elementSelector ? document.querySelector(elementSelector) : document.body,\r\n to = element.offsetTop,\r\n change = to - start,\r\n currentTime = 0,\r\n increment = 20;\r\n\r\n var animateScroll = function() {\r\n currentTime += increment;\r\n var value = animation ? Wheeparam.Easing[animation]( currentTime, start, change, duration ) : to;\r\n\r\n window.scrollTo(0, value);\r\n\r\n if(currentTime < duration) {\r\n setTimeout(animateScroll, increment);\r\n }\r\n }\r\n animateScroll();\r\n};\r\n\r\n/************************************************************************************************************\r\n * 두 배열을 합쳐줍니다.\r\n * @param out 합칠 배열들\r\n * @returns {*|{}}\r\n ************************************************************************************************************/\r\nWheeparam.extend = function( out ) {\r\n out = out || {};\r\n\r\n for (var i = 1; i < arguments.length; i++) {\r\n var obj = arguments[i];\r\n\r\n if (!obj)\r\n continue;\r\n\r\n for (var key in obj) {\r\n if (obj.hasOwnProperty(key)) {\r\n if (typeof obj[key] === 'object')\r\n out[key] = Wheeparam.extend(out[key], obj[key]);\r\n else\r\n out[key] = obj[key];\r\n }\r\n }\r\n }\r\n\r\n return out;\r\n};\r\n\r\n/************************************************************************************************************\r\n * 팝업창을 띄웁니다.\r\n * @param options\r\n ************************************************************************************************************/\r\nWheeparam.popup = function( options ) {\r\n var defaults={\r\n title : '_blank',\r\n width : 800,\r\n height : 600,\r\n url : '',\r\n onFailed: function() {\r\n alert(\"팝업 차단 기능이 설정되어있습니다.\\n차단 기능을 해제(팝업허용) 한 후 다시 이용해 주십시오.\");\r\n }\r\n };\r\n\r\n var option = Wheeparam.extend({}, defaults, options),\r\n cw = screen.availWidth,\r\n ch = screen.availHeight,\r\n sw = option.width,\r\n sh = option.height,\r\n ml = (cw - sw) / 2,\r\n mt = (ch - sh) / 2,\r\n opt = 'width='+sw+',height='+sh+',top='+mt+',left='+ml+',scrollbars=yes,resizable=no',\r\n win = window.open(options.url, options.title, opt);\r\n\r\n if (win == null || typeof(win) == \"undefined\" || (win == null && win.outerWidth == 0) || (win != null && win.outerHeight == 0))\r\n {\r\n option.onFailed();\r\n return;\r\n }\r\n};\r\n\r\n/************************************************************************************************************\r\n * 소셜 공유 팝업창을 띄우거나 페이지로 이동합니다.\r\n * @param options\r\n ************************************************************************************************************/\r\nWheeparam.shareSNS = function( options ) {\r\n var defaults = {\r\n title : '',\r\n provider: '',\r\n url: '',\r\n imgSrc: '',\r\n width: 800,\r\n height: 600,\r\n onFailed: function() {\r\n alert(\"팝업 차단 기능이 설정되어있습니다.\\n차단 기능을 해제(팝업허용) 한 후 다시 이용해 주십시오.\");\r\n }\r\n };\r\n var option = Wheeparam.extend({}, defaults, options);\r\n\r\n if(! option.title) {\r\n option.title = document.querySelector('meta[property=\"og:title\"]')\r\n ? document.querySelector('meta[property=\"og:title\"]').getAttribute('content')\r\n : (document.querySelector('title')\r\n ? document.querySelector('title').innerText\r\n : ''\r\n );\r\n }\r\n\r\n if(! option.url) {\r\n option.url = window.location.href;\r\n }\r\n\r\n if(! option.imgSrc) {\r\n option.imgSrc = document.querySelector('meta[property=\"og:image\"]')\r\n ? document.querySelector('meta[property=\"og:image\"]').getAttribute('content')\r\n : (document.querySelector('link[rel=\"image_src\"]')\r\n ? document.querySelector('link[rel=\"image_src\"]').innerText\r\n : ''\r\n );\r\n }\r\n\r\n option.url = encodeURIComponent(option.url);\r\n option.title = encodeURIComponent(option.title);\r\n\r\n var loc = \"\";\r\n\r\n switch (option.provider) {\r\n case 'facebook' :\r\n loc = '//www.facebook.com/sharer/sharer.php?u='+option.url;\r\n break;\r\n case 'twitter':\r\n loc = '//twitter.com/home?status='+option.title+' '+ option.url;\r\n break;\r\n case 'google':\r\n loc = '//plus.google.com/share?url='+option.url;\r\n break;\r\n case 'pinterest':\r\n loc = '//www.pinterest.com/pin/create/button/?url='+option.url+ ( option.imgSrc ? '&media='+ option.imgSrc : '' )+'&description='+option.title;\r\n break;\r\n case 'kakaostory':\r\n loc = 'https://story.kakao.com/share?url='+option.url;\r\n break;\r\n case 'band':\r\n loc = 'http://www.band.us/plugin/share?body='+option.title+'%0A'+option.url;\r\n break;\r\n case 'naver':\r\n loc = \"http://share.naver.com/web/shareView.nhn?url=\"+option.url+\"&title=\"+option.title;\r\n break;\r\n case 'line':\r\n loc = \"http://line.me/R/msg/text/?\" + option.title + encodeURIComponent(\"\\n\") + option.url;\r\n break;\r\n }\r\n\r\n if( loc ) {\r\n Wheeparam.popup({ url : loc, width: option.width, height: option.height, onFailed:option.onFailed });\r\n }\r\n\r\n return false;\r\n};\r\n/***********************************************************************************************************************\r\n * 전체체크박스 / 체크박스 연동\r\n ***********************************************************************************************************************/\r\nWheeparam.onDocuemntReady(function() {\r\n var checkboxs = document.querySelectorAll('[data-checkbox]');\r\n if(checkboxs.length > 0) {\r\n for( var i = 0; i 0 ? document.querySelectorAll('[data-checkbox=\"'+name+'\"][data-checkbox-all]')[0] : null ),\r\n checks = document.querySelectorAll('[data-checkbox=\"'+name+'\"]');\r\n\r\n if(! $allCheck) return;\r\n\r\n if( is_all ) {\r\n for(var k =0; k 0) {\r\n for(var i=0; i<$input.length; i++)\r\n {\r\n $input[i].addEventListener('keyup', function() {\r\n var value = this.value.unNumberFormat().numberFormat();\r\n this.value = value;\r\n });\r\n }\r\n }\r\n});\r\n\r\n/***********************************************************************************************************************\r\n * 숫자만 입력가능한 Input\r\n ***********************************************************************************************************************/\r\nWheeparam.onDocuemntReady(function() {\r\n var $input = document.querySelectorAll('[data-number-only]');\r\n if($input.length <=0 ) return;\r\n\r\n for(var i=0; i<$input.length; i++) {\r\n $input[i].addEventListener('keypress', function(e) {\r\n if (e.which != 8 && e.which != 0 && e.which != 45 && (e.which < 48 || e.which > 57)) {\r\n e.preventDefault();\r\n }\r\n })\r\n }\r\n});\r\n\r\n/***********************************************************************************************************************\r\n * 높이가 자동 조정되는 textarea\r\n ***********************************************************************************************************************/\r\nWheeparam.onDocuemntReady(function() {\r\n var $input = document.querySelectorAll('textarea[data-autosize]');\r\n if($input.length > 0)\r\n {\r\n for(var i =0; i<$input.length; i++)\r\n {\r\n $input[i].addEventListener('keyup', function() {\r\n autosize(this);\r\n });\r\n }\r\n }\r\n});\r\n\r\n/***********************************************************************************************************************\r\n * 소셜 공유 버튼\r\n ***********************************************************************************************************************/\r\nWheeparam.onDocuemntReady(function() {\r\n var $socialParentElement = document.querySelectorAll('[data-sns-share]');\r\n if($socialParentElement.length > 0)\r\n {\r\n for(var i =0; i<$socialParentElement.length; i++)\r\n {\r\n var el = $socialParentElement[i],\r\n title = el.getAttribute('data-title') ? el.getAttribute('data-title') : '',\r\n url = el.getAttribute('data-url') ? el.getAttribute('data-url') : '',\r\n imgSrc = el.getAttribute('data-img-src') ? el.getAttribute('data-img-src') : '',\r\n width = el.getAttribute('data-width') ? el.getAttribute('data-width') : 800,\r\n height = el.getAttribute('data-height') ? el.getAttribute('data-height') : 600,\r\n providers = el.querySelectorAll('[data-sns-provider]');\r\n\r\n for(var k=0; k