imageMapResizer.map 2.3 KB

1
  1. {"version":3,"file":"imageMapResizer.min.js","sources":["imageMapResizer.js"],"names":["scaleImageMap","resizeMap","resizeAreaTag","cachedAreaCoords","scaleCoord","e","scallingFactor","isWidth","split","map","Number","Math","floor","join","width","displayedImage","sourceImage","height","i","areasLen","areas","coords","cachedAreaCoordsArray","start","displayedWidth","displayedHeight","onload","src","listenForResize","debounce","clearTimeout","timer","setTimeout","window","addEventListener","attachEvent","getCoords","replace","this","getElementsByTagName","length","Array","prototype","call","document","querySelector","name","Image","factory","init","element","tagName","TypeError","toUpperCase","target","forEach","querySelectorAll","define","amd","exports","module","imageMapResize","jQuery","fn","filter","each","end"],"mappings":";;;;;;CAMA,WACI,YAEA,SAASA,KAEL,QAASC,KACL,QAASC,GAAcC,GACnB,QAASC,GAAWC,GAChB,MAAOA,GAAIC,EAAgB,KAAKC,EAAU,EAAEA,GAAW,QAAU,UAGrE,GAAIA,GAAU,CAEd,OAAOJ,GAAiBK,MAAM,KAAKC,IAAIC,QAAQD,IAAIL,GAAYK,IAAIE,KAAKC,OAAOC,KAAK,KAQxF,IAAK,GALDP,IACAQ,MAASC,EAAeD,MAASE,EAAYF,MAC7CG,OAASF,EAAeE,OAASD,EAAYC,QAGxCC,EAAE,EAAOC,EAAJD,EAAeA,IACzBE,EAAMF,GAAGG,OAASnB,EAAcoB,EAAsBJ,IAI9D,QAASK,KACL,GACIC,GAAkB,KAClBC,EAAkB,IAGtBT,GAAYU,OAAS,WACjBF,EAAiBT,EAAeD,MAChCW,EAAkBV,EAAeE,QAE5BO,IAAmBR,EAAYF,OAAWW,IAAoBT,EAAYC,SAC3EhB,KAKRc,EAAeW,OAAS,WAChB,OAASF,GAAkBT,EAAeD,QAAUU,GACpDvB,KAKRe,EAAYW,IAAMZ,EAAeY,IAGrC,QAASC,KACL,QAASC,KACLC,aAAaC,GACbA,EAAQC,WAAW/B,EAAW,KAE9BgC,OAAOC,iBAAoBD,OAAOC,iBAAiB,SAAUL,GAAU,G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