").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&r("error"===e.type?404:200,e.type)}),_.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Xt,Yt=[],Qt=/(=)\?(?=&|$)|\?\?/;T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Yt.pop()||T.expando+"_"+St.guid++;return this[e]=!0,e}}),T.ajaxPrefilter("json jsonp",(function(e,t,i){var r,o,s,a=!1!==e.jsonp&&(Qt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Qt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Qt,"$1"+r):!1!==e.jsonp&&(e.url+=(Et.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return s||T.error(r+" was not called"),s[0]},e.dataTypes[0]="json",o=n[r],n[r]=function(){s=arguments},i.always((function(){void 0===o?T(n).removeProp(r):n[r]=o,e[r]&&(e.jsonpCallback=t.jsonpCallback,Yt.push(r)),s&&v(o)&&o(s[0]),s=o=void 0})),"script"})),m.createHTMLDocument=((Xt=_.implementation.createHTMLDocument("").body).innerHTML="
").append(T.parseHTML(e)).find(i):e)})).always(n&&function(e,t){s.each((function(){n.apply(this,o||[e.responseText,t,e])}))}),this},T.expr.pseudos.animated=function(e){return T.grep(T.timers,(function(t){return e===t.elem})).length},T.offset={setOffset:function(e,t,n){var i,r,o,s,a,l,c=T.css(e,"position"),u=T(e),d={};"static"===c&&(e.style.position="relative"),a=u.offset(),o=T.css(e,"top"),l=T.css(e,"left"),("absolute"===c||"fixed"===c)&&(o+l).indexOf("auto")>-1?(s=(i=u.position()).top,r=i.left):(s=parseFloat(o)||0,r=parseFloat(l)||0),v(t)&&(t=t.call(e,n,T.extend({},a))),null!=t.top&&(d.top=t.top-a.top+s),null!=t.left&&(d.left=t.left-a.left+r),"using"in t?t.using.call(e,d):("number"==typeof d.top&&(d.top+="px"),"number"==typeof d.left&&(d.left+="px"),u.css(d))}},T.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){T.offset.setOffset(this,e,t)}));var t,n,i=this[0];return i?i.getClientRects().length?(t=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,i=this[0],r={top:0,left:0};if("fixed"===T.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===T.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((r=T(e).offset()).top+=T.css(e,"borderTopWidth",!0),r.left+=T.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-T.css(i,"marginTop",!0),left:t.left-r.left-T.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===T.css(e,"position");)e=e.offsetParent;return e||oe}))}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;T.fn[e]=function(i){return F(this,(function(e,i,r){var o;if(w(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===r)return o?o[t]:e[i];o?o.scrollTo(n?o.pageXOffset:r,n?r:o.pageYOffset):e[i]=r}),e,i,arguments.length)}})),T.each(["top","left"],(function(e,t){T.cssHooks[t]=Ue(m.pixelPosition,(function(e,n){if(n)return n=$e(e,t),Ve.test(n)?T(e).position()[t]+"px":n}))})),T.each({Height:"height",Width:"width"},(function(e,t){T.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,i){T.fn[i]=function(r,o){var s=arguments.length&&(n||"boolean"!=typeof r),a=n||(!0===r||!0===o?"margin":"border");return F(this,(function(t,n,r){var o;return w(t)?0===i.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===r?T.css(t,n,a):T.style(t,n,r,a)}),t,s?r:void 0,s)}}))})),T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){T.fn[t]=function(e){return this.on(t,e)}})),T.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),T.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){T.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var Gt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;T.proxy=function(e,t){var n,i,r;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return i=a.call(arguments,2),(r=function(){return e.apply(t||this,i.concat(a.call(arguments)))}).guid=e.guid=e.guid||T.guid++,r},T.holdReady=function(e){e?T.readyWait++:T.ready(!0)},T.isArray=Array.isArray,T.parseJSON=JSON.parse,T.nodeName=A,T.isFunction=v,T.isWindow=w,T.camelCase=Y,T.type=b,T.now=Date.now,T.isNumeric=function(e){var t=T.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},T.trim=function(e){return null==e?"":(e+"").replace(Gt,"")},void 0===(i=function(){return T}.apply(t,[]))||(e.exports=i);var Zt=n.jQuery,Jt=n.$;return T.noConflict=function(e){return n.$===T&&(n.$=Jt),e&&n.jQuery===T&&(n.jQuery=Zt),T},void 0===r&&(n.jQuery=n.$=T),T}))},function(e,t,n){(function(i){var r,o,s,a;a=function(e){"use strict";function t(t){return!t||void 0!==t.allowPageScroll||void 0===t.swipe&&void 0===t.swipeStatus||(t.allowPageScroll=c),void 0!==t.click&&void 0===t.tap&&(t.tap=t.click),t||(t={}),t=e.extend({},e.fn.swipe.defaults,t),this.each((function(){var i=e(this),r=i.data(k);r||(r=new n(this,t),i.data(k,r))}))}function n(t,n){function L(t){if(!(!0===be.data(k+"_intouch")||e(t.target).closest(n.excludedElements,be).length>0)){var a=t.originalEvent?t.originalEvent:t;if(!a.pointerType||"mouse"!=a.pointerType||0!=n.fallbackToMouseEvents){var l,c=a.touches,u=c?c[0]:a;return Te=y,c?Ce=c.length:!1!==n.preventDefaultEvents&&t.preventDefault(),pe=0,fe=null,he=null,ye=null,ge=0,me=0,ve=0,we=1,_e=0,(d={})[i]=te(i),d[r]=te(r),d[o]=te(o),d[s]=te(s),xe=d,Q(),J(0,u),!c||Ce===n.fingers||n.fingers===w||V()?(Ee=oe(),2==Ce&&(J(1,c[1]),me=ve=ie(Se[0].start,Se[1].start)),(n.swipeStatus||n.pinchStatus)&&(l=I(a,Te))):l=!1,!1===l?(I(a,Te=T),l):(n.hold&&(De=setTimeout(e.proxy((function(){be.trigger("hold",[a.target]),n.hold&&(l=n.hold.call(be,a,a.target))}),this),n.longTapThreshold)),Z(!0),null)}}var d}function A(t){var d,p,f,h,g=t.originalEvent?t.originalEvent:t;if(Te!==b&&Te!==T&&!G()){var _,y=g.touches,C=K(y?y[0]:g);if(ke=oe(),y&&(Ce=y.length),n.hold&&clearTimeout(De),Te=x,2==Ce&&(0==me?(J(1,y[1]),me=ve=ie(Se[0].start,Se[1].start)):(K(y[1]),ve=ie(Se[0].end,Se[1].end),Se[0].end,Se[1].end,ye=1>we?l:a),we=(ve/me*1).toFixed(2),_e=Math.abs(me-ve)),Ce===n.fingers||n.fingers===w||!y||V()){if(fe=re(C.start,C.end),function(e,t){if(!1!==n.preventDefaultEvents)if(n.allowPageScroll===c)e.preventDefault();else{var a=n.allowPageScroll===u;switch(t){case i:(n.swipeLeft&&a||!a&&n.allowPageScroll!=m)&&e.preventDefault();break;case r:(n.swipeRight&&a||!a&&n.allowPageScroll!=m)&&e.preventDefault();break;case o:(n.swipeUp&&a||!a&&n.allowPageScroll!=v)&&e.preventDefault();break;case s:(n.swipeDown&&a||!a&&n.allowPageScroll!=v)&&e.preventDefault()}}}(t,he=re(C.last,C.end)),f=C.start,h=C.end,pe=Math.round(Math.sqrt(Math.pow(h.x-f.x,2)+Math.pow(h.y-f.y,2))),ge=ne(),function(e,t){e!=c&&(t=Math.max(t,ee(e)),xe[e].distance=t)}(fe,pe),_=I(g,Te),!n.triggerOnTouchEnd||n.triggerOnTouchLeave){var S=!0;if(n.triggerOnTouchLeave){var E={left:(p=(d=e(d=this)).offset()).left,right:p.left+d.outerWidth(),top:p.top,bottom:p.top+d.outerHeight()};S=function(e,t){return e.x>t.left&&e.x
t.top&&e.yn.longTapThreshold&&_>pe&&n.longTap&&!1!==i?i=O(e,t,g):!(1!==Ce&&C||!(isNaN(pe)||pe=n.threshold),e}function P(){var e=!1;return null!==n.cancelThreshold&&null!==fe&&(e=ee(fe)-pe>=n.cancelThreshold),e}function z(){return!(n.maxTimeThreshold&&ge>=n.maxTimeThreshold)}function R(){var e=F(),t=$(),i=null===n.pinchThreshold||_e>=n.pinchThreshold;return e&&t&&i}function V(){return!!(n.pinchStatus||n.pinchIn||n.pinchOut)}function B(){var e=z(),t=q(),n=F(),i=$();return!P()&&i&&n&&t&&e}function W(){return!!(n.swipe||n.swipeStatus||n.swipeLeft||n.swipeRight||n.swipeUp||n.swipeDown)}function F(){return Ce===n.fingers||n.fingers===w||!C}function $(){return 0!==Se[0].end.x}function U(){return!!n.tap}function X(){return!!n.doubleTap}function Y(){if(null==Ne)return!1;var e=oe();return X()&&e-Ne<=n.doubleTapThreshold}function Q(){Le=0,Ae=0}function G(){var e=!1;return Le&&oe()-Le<=n.fingerReleaseThreshold&&(e=!0),e}function Z(e){be&&(!0===e?(be.on(le,A),be.on(ce,N),ue&&be.on(ue,D)):(be.off(le,A,!1),be.off(ce,N,!1),ue&&be.off(ue,D,!1)),be.data(k+"_intouch",!0===e))}function J(e,t){var n={start:{x:0,y:0},last:{x:0,y:0},end:{x:0,y:0}};return n.start.x=n.last.x=n.end.x=t.pageX||t.clientX,n.start.y=n.last.y=n.end.y=t.pageY||t.clientY,Se[e]=n,n}function K(e){var t=void 0!==e.identifier?e.identifier:0,n=function(e){return Se[e]||null}(t);return null===n&&(n=J(t,e)),n.last.x=n.end.x,n.last.y=n.end.y,n.end.x=e.pageX||e.clientX,n.end.y=e.pageY||e.clientY,n}function ee(e){return xe[e]?xe[e].distance:void 0}function te(e){return{direction:e,distance:0}}function ne(){return ke-Ee}function ie(e,t){var n=Math.abs(e.x-t.x),i=Math.abs(e.y-t.y);return Math.round(Math.sqrt(n*n+i*i))}function re(e,t){if(a=t,(n=e).x==a.x&&n.y==a.y)return c;var n,a,l=function(e,t){var n=e.x-t.x,i=t.y-e.y,r=Math.atan2(i,n),o=Math.round(180*r/Math.PI);return 0>o&&(o=360-Math.abs(o)),o}(e,t);return 45>=l&&l>=0||360>=l&&l>=315?i:l>=135&&225>=l?r:l>45&&135>l?s:o}function oe(){return(new Date).getTime()}n=e.extend({},n);var se=C||E||!n.fallbackToMouseEvents,ae=se?E?S?"MSPointerDown":"pointerdown":"touchstart":"mousedown",le=se?E?S?"MSPointerMove":"pointermove":"touchmove":"mousemove",ce=se?E?S?"MSPointerUp":"pointerup":"touchend":"mouseup",ue=se?E?"mouseleave":null:"mouseleave",de=E?S?"MSPointerCancel":"pointercancel":"touchcancel",pe=0,fe=null,he=null,ge=0,me=0,ve=0,we=1,_e=0,ye=0,xe=null,be=e(t),Te="start",Ce=0,Se={},Ee=0,ke=0,Le=0,Ae=0,Ne=0,Me=null,De=null;try{be.on(ae,L),be.on(de,M)}catch(t){e.error("events not supported "+ae+","+de+" on jQuery.swipe")}this.enable=function(){return this.disable(),be.on(ae,L),be.on(de,M),be},this.disable=function(){return H(),be},this.destroy=function(){H(),be.data(k,null),be=null},this.option=function(t,i){if("object"==typeof t)n=e.extend(n,t);else if(void 0!==n[t]){if(void 0===i)return n[t];n[t]=i}else{if(!t)return n;e.error("Option "+t+" does not exist on jQuery.swipe.options")}return null}}var i="left",r="right",o="up",s="down",a="in",l="out",c="none",u="auto",d="swipe",p="pinch",f="tap",h="doubletap",g="longtap",m="horizontal",v="vertical",w="all",_=10,y="start",x="move",b="end",T="cancel",C="ontouchstart"in window,S=window.navigator.msPointerEnabled&&!window.PointerEvent&&!C,E=(window.PointerEvent||window.navigator.msPointerEnabled)&&!C,k="TouchSwipe";e.fn.swipe=function(n){var i=e(this),r=i.data(k);if(r&&"string"==typeof n){if(r[n])return r[n].apply(r,Array.prototype.slice.call(arguments,1));e.error("Method "+n+" does not exist on jQuery.swipe")}else if(r&&"object"==typeof n)r.option.apply(r,arguments);else if(!(r||"object"!=typeof n&&n))return t.apply(this,arguments);return i},e.fn.swipe.version="1.6.18",e.fn.swipe.defaults={fingers:1,threshold:75,cancelThreshold:null,pinchThreshold:20,maxTimeThreshold:null,fingerReleaseThreshold:250,longTapThreshold:500,doubleTapThreshold:200,swipe:null,swipeLeft:null,swipeRight:null,swipeUp:null,swipeDown:null,swipeStatus:null,pinchIn:null,pinchOut:null,pinchStatus:null,click:null,tap:null,doubleTap:null,longTap:null,hold:null,triggerOnTouchEnd:!0,triggerOnTouchLeave:!1,allowPageScroll:"auto",fallbackToMouseEvents:!0,excludedElements:".noSwipe",preventDefaultEvents:!0},e.fn.swipe.phases={PHASE_START:y,PHASE_MOVE:x,PHASE_END:b,PHASE_CANCEL:T},e.fn.swipe.directions={LEFT:i,RIGHT:r,UP:o,DOWN:s,IN:a,OUT:l},e.fn.swipe.pageScroll={NONE:c,HORIZONTAL:m,VERTICAL:v,AUTO:u},e.fn.swipe.fingers={ONE:1,TWO:2,THREE:3,FOUR:4,FIVE:5,ALL:w}},n(3).jQuery?(o=[n(0)],void 0===(s="function"==typeof(r=a)?r.apply(t,o):r)||(e.exports=s)):a(e.exports?n(0):i)}).call(this,n(0))},function(e,t,n){n(1),n(4),n(6)},function(e,t){(function(t){e.exports=t}).call(this,{})},function(e,t,n){(function(e){n(5),n(1),e(document).ready((function(e){var t=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.id=t.id,this.index=t.index,this.exists=t.exists,this.img_low_res_src=t.img_low_res_src,this.img_src=t.img_src,this.img_gps=t.img_gps,this.img_srcset=t.img_srcset,this.img_sizes=t.img_sizes,this.img_dimensions=t.img_dimensions,this.img_orientation=t.img_orientation,this.img_exifs=t.img_exifs,this.preloaded=!1};window.MwlController=function(n){var i=this;this.settings=n,this.images_number,this.images=[],this.current_image_index,this.autoplay_interval,this.image_metadata_update_timeout;var r=function(t){e(".mwl__topbar__slide-counter .current-slide").html(parseInt(t)+1)},o=function(t,n){if(t.images){var i,r,o=e(".mwl__slider .mwl__slider__image[data-index="+n+"] .mwl__slider__image__thumbnail img"),s=e(".mwl__slider .mwl__slider__image[data-index="+n+"] .mwl__slider__image__thumbnail");if(t.images[n]&&t.images[n].img_dimensions){var a=t.images[n];r=a.img_dimensions.width,i=a.img_dimensions.height}else{var l=e(".mwl-img[mwl-index="+n+"]")[0];if(!l)return;r=l.naturalWidth,i=l.naturalHeight}var c=s.outerHeight(),u=s.outerWidth()/c,d=r/i;o.css("opacity",0),o.css("width",""),o.css("height",""),o.css("max-width",r+"px"),o.css("max-height",i+"px"),d>=u?o.css("width","100%"):o.css("height","100%"),o.animate({opacity:1},300),window.createMwlLog("log","Image in lightbox has been resized.")}else console.error("Meow Lightbox: controller.images doesn't exist.")},s=function(e,t){var n;e.settings.deep_linking&&"function"==typeof mwl_pro_create_deeplinking_hash&&(!1===t?mwl_pro_remove_deeplinking_hash():(n=mwl_pro_create_deeplinking_hash(e.images[t].id),e.settings.social_sharing&&"function"==typeof mwl_pro_add_social_sharing&&mwl_pro_add_social_sharing(n)))},a=function(t,n){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},s=t.images[n],a=s.img_exifs,l=300;r&&(l=0),window.createMwlLog("log","Updating image metadata with:"),window.createMwlLog("log",a);var c=["",'','',''];c=c.join("");var u=e(".mwl__metadata");u.fadeOut(l),clearTimeout(i.image_metadata_update_timeout),i.image_metadata_update_timeout=setTimeout((function(){u.html(c),a.title&&t.settings.infos_to_display.title?u.find("h2").html(a.title):u.find("h2").remove();if(t.settings.infos_to_display.caption){if("description"==t.settings.caption_source&&a.description)if(a.description.length>150){var n=a.description.substr(0,150);n=n.substr(0,Math.min(n.length,n.lastIndexOf(" "))),n+="...",n+=''+window.MwlIcons.plus+"
",u.find("p.short-description").html(n),u.find("p.full-description").html(a.description+''+window.MwlIcons.minus+"
")}else u.find("p.short-description").html(a.description),u.find("p.full-description").remove();if("caption"==t.settings.caption_source&&a.caption)if(a.caption.length>150){var i=a.caption.substr(0,150);i=i.substr(0,Math.min(i.length,i.lastIndexOf(" "))),i+="...",i+=''+window.MwlIcons.plus+"
",u.find("p.short-description").html(i),u.find("p.full-description").html(a.caption+''+window.MwlIcons.minus+"
")}else u.find("p.short-description").html(a.caption),u.find("p.full-description").remove()}else u.find("p").remove();var r=u.find(".exifs");if("N/A"!=a.camera&&t.settings.infos_to_display.camera){var d=''+MwlIcons.camera+" "+a.camera+"
";r.append(d)}if("N/A"!=a.focal_length&&t.settings.infos_to_display.focal_length){var p=''+MwlIcons.eye+" "+a.focal_length+"
";r.append(p)}if("N/A"!=a.shutter_speed&&t.settings.infos_to_display.shutter_speed){var f=''+MwlIcons.shutter_speed+" "+a.shutter_speed+"
";r.append(f)}if("N/A"!=a.aperture&&t.settings.infos_to_display.aperture){var h=''+MwlIcons.aperture+" "+a.aperture+"
";r.append(h)}if("N/A"!=a.iso&&t.settings.infos_to_display.iso){var g=''+MwlIcons.iso+" "+a.iso+"
";r.append(g)}if("N/A"!=a.lens&&t.settings.infos_to_display.lens){var m=''+MwlIcons.lens+" "+a.lens+"
";r.append(m)}if("N/A"!=a.date&&0!=a.date&&t.settings.infos_to_display.date){var v=''+MwlIcons.calendar+" "+a.date+"
";r.append(v)}"function"==typeof MapController&&t.settings.map.enabled&&s.img_gps&&"N/A"!=s.img_gps.lat&&"N/A"!=s.img_gps.lng?e(".mwl__topbar__controls__control--map").removeClass("hidden"):e(".mwl__topbar__controls__control--map").addClass("hidden"),t.settings.download.enabled||e(".mwl__topbar__controls__control--download").addClass("hidden"),t.settings.slideshow.enabled||(e(".mwl__topbar__controls__control--play").addClass("hidden"),e(".mwl__topbar__controls__control--pause").addClass("hidden")),u.fadeIn(l),o()}),l)};this.writeInitialMarkup=function(){var t="";this.settings.thumbnails_navigation.enabled&&(t='');var n=['','
','
',' / ',this.images_number,"","
",'
','
',window.MwlIcons.sharing,'
',"
",'
',window.MwlIcons.download,'
Download Image
',"
",'
',window.MwlIcons.map,'
Show on map
',"
",'
',window.MwlIcons.play,'
Start slideshow
',"
",'
',window.MwlIcons.pause,'
Stop slideshow
',"
",'
',window.MwlIcons.fullscreen,'
Hide info
',"
",'
',window.MwlIcons.shrink,'
Show info
',"
",'
',window.MwlIcons.close,'
Close
',"
","
","
",'
',window.MwlIcons.arrow_left,"
",'
',window.MwlIcons.arrow_right,"
",'
',"
",'
",t,"
"];n=n.join(""),e("body").append(n)},this.scrapThePage=function(){var t=this,n=e(t.settings.selector).find("img");window.createMwlLog("log","Scraping the page."),t.settings.anti_selector?t.settings.anti_selector+=", .leaflet-tile, .leaflet-google-mutant":t.settings.anti_selector+=".leaflet-tile, .leaflet-google-mutant";var i=0;n.each((function(){0!=e(this).parents(t.settings.anti_selector).length||e(this).is(t.settings.anti_selector)||(e(this).addClass("mwl-img").attr("mwl-index",i),i++)})),t.images_number=e(".mwl-img").length},this.imagesHaveChanged=function(){var t=this;if(void 0!==this.settings){var n=!1;this.images.forEach((function(t,i){e(".mwl-img[mwl-index="+i+"]").length<=0&&(n=!0)}));var i=e(t.settings.selector).find("img");return t.settings.anti_selector?t.settings.anti_selector+=", .leaflet-tile, .leaflet-google-mutant":t.settings.anti_selector+=".leaflet-tile, .leaflet-google-mutant",i.each((function(){0!=e(this).parents(t.settings.anti_selector).length||e(this).is(t.settings.anti_selector)||e(this).hasClass("mwl-img")||(n=!0)})),n}},this.retrieveImagesData=function(){var n=this,i=e(".mwl-img");n.images=[],i.each((function(){var i=e(this),r=i.prop("currentSrc");if(i.hasClass("mgl-lazy")&&!i.hasClass("lazyloaded")&&(r=!1),i.attr("data-mwl-img-id")&&mwl_data&&mwl_data[i.attr("data-mwl-img-id")].success){var o=mwl_data[i.attr("data-mwl-img-id")];o.data.gps.split(",").length>1?o.gps={lat:parseFloat(o.data.gps.split(",")[0]),lng:parseFloat(o.data.gps.split(",")[1])}:o.gps={lat:"N/A",lng:"N/A"};var s={id:o.data.id,index:parseInt(i.attr("mwl-index")),exists:!0,img_low_res_src:r,img_src:encodeURI(o.file),img_srcset:o.file_srcset,img_sizes:o.file_sizes,img_dimensions:o.dimension,img_orientation:o.dimension.width>o.dimension.height?"landscape":"portrait",img_exifs:o.data,img_gps:o.gps};n.images.push(new t(s))}else{var a="";i.hasClass("mgl-lazy")&&(a=i.attr("mgl-src")),i.attr("data-lazy-src")&&(a=i.attr("data-lazy-src")),a||(a=i.attr("src"));var l="";i.attr("data-lazy-srcset")&&(l=i.attr("data-lazy-srcset")),l||(l=i.attr("srcset"));var c="";i.attr("data-lazy-sizes")&&(c=i.attr("data-lazy-sizes")),c||(c=i.attr("sizes"));var u={exists:!0,index:parseInt(i.attr("mwl-index")),img_low_res_src:r,img_src:a,img_srcset:l,img_sizes:c,img_dimensions:!1,img_orientation:"landscape",img_exifs:{title:"",caption:"",camera:"N/A",lens:"N/A",aperture:"N/A",shutter_speed:"N/A",iso:"N/A",focal_length:"N/A",date:"N/A"}};n.images.push(new t(u))}}))},this.clearSlider=function(t){var n=[],i=e(".mwl .mwl__slider");i.find(".mwl__slider__image").each((function(){n.push(parseInt(e(this).attr("data-index")))}));var r=n.indexOf(t),o=[];r-4>0&&(o=n.slice(0,r-4));var s;s=n.slice(r+4),o.concat(s).forEach((function(e){i.find(".mwl__slider__image[data-index="+e+"]").remove()}))},this.populateSlider=function(t){for(var i=this,r=e(".mwl .mwl__slider"),o=[],s=t;s<=t+2;s++)i.images[s]&&r.find(".mwl__slider__image[data-index="+s+"]").length<=0&&o.push(s);for(var a=t-1;a>=t-2;a--)i.images[a]&&r.find(".mwl__slider__image[data-index="+a+"]").length<=0&&o.push(a);o.sort((function(e,t){return e-t})),o.forEach((function(t){var o="";i.settings.magnification.enabled||(o="no-magnification");var s=['','
','
','
![]()
',"
",'
![]()
','
',"
","
"];s=s.join("");var a=e(s),l=a.find("img.mwl__slider__image__thumbnail__high-res"),c=a.find("img.mwl__slider__image__thumbnail__low-res"),u=i.images[t];if(n.low_res_placeholder){var d=e(".mwl-img[mwl-index="+t+"]").prop("currentSrc");c.attr("src",d)}l.attr("src",u.img_src),l.addClass(u.img_orientation),u.img_srcset&&u.img_sizes&&(l.attr("srcset",u.img_srcset),l.attr("sizes",u.img_sizes)),l.on("load",(function(){e(".mwl__slider__image[data-index="+t+"] .mwl__slider__image__thumbnail").addClass("high-res-loaded")}));var p=[];r.find(".mwl__slider__image").each((function(){p.push(parseInt(e(this).attr("data-index")))})),p.push(t),p.sort((function(e,t){return e-t}));var f=p.indexOf(t);f<=0?r.prepend(a):r.find(".mwl__slider__image").eq(f-1).after(a)}))},this.extendLightbox=function(){e(".mwl").addClass("extended"),e(".mwl__topbar__controls__control--fullscreen").addClass("hidden"),e(".mwl__topbar__controls__control--shrink").removeClass("hidden")},this.shrinkLightbox=function(){e(".mwl").removeClass("extended"),e(".mwl__topbar__controls__control--fullscreen").removeClass("hidden"),e(".mwl__topbar__controls__control--shrink").addClass("hidden")},this.getIndexById=function(e){var t=!1;return this.images.forEach((function(n){n.id==e&&(t=n.index)})),t},this.openLightbox=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=this;e(".mwl").addClass("visible"),e(".mwl").attr("data-index",t),i.populateSlider(t);var l=e(".mwl__slider__image").index(e(".mwl__slider__image[data-index="+t+"]"));e(".mwl .mwl__slider").removeClass("mwl-animate"),e(".mwl .mwl__slider").css("transform","translate3d("+100*-l+"%, 0, 0)"),e(".mwl .mwl__slider__image").removeClass("visible"),setTimeout((function(){e(".mwl .mwl__slider__image[data-index="+t+"]").addClass("visible")}),10),a(this,t,n,(function(){o(i,t)})),r(t),s(this,t),this.current_index=t},this.refreshLightbox=function(){e(".mwl").hasClass("visible")&&this.openLightbox(this.current_index,!1)},this.unzoom=function(){e(".mwl__slider__image__thumbnail img").removeClass("zoomed"),e(".mwl__slider__image__thumbnail img").css("transform","translate3d(0,0,0) scale(1)")},this.destroyMap=function(){e("#image-map-"+this.current_index).hasClass("visible")&&this.toggleImageMap();var t=e("#image-map-"+this.current_index).parent();e("#image-map-"+this.current_index).remove(),t.append('')},this.closeLightbox=function(){this.unzoom(),this.destroyMap(),this.stopInterval(),e(".mwl").removeClass("visible"),e(".mwl .mwl__slider").removeClass("mwl-animate"),e(".mwl .mwl__slider img").css("opacity",0),s(this,!1)},this.slideTo=function(t){var n=this;e(".mwl").attr("data-index",t),e(".mwl .mwl__slider").addClass("mwl-animate"),e(".mwl .mwl__slider__image").removeClass("visible"),n.populateSlider(t);var i=e(".mwl__slider__image").index(e(".mwl__slider__image[data-index="+t+"]"));e(".mwl .mwl__slider").css("transform","translate3d("+100*-i+"%, 0, 0)"),a(this,t,!1,(function(){e(".mwl .mwl__slider__image[data-index="+t+"]").addClass("visible"),o(n,t)})),r(t),s(this,t),n.unzoom(),n.destroyMap(),n.current_index=t},this.goToPrev=function(){var e=i.current_index-1;0==i.current_index&&(e=i.images.length-1),i.slideTo(e),i.current_index=e},this.goToNext=function(){var e=i.current_index+1;i.current_index==i.images.length-1&&(e=0),i.slideTo(e),i.current_index=e},this.setListeners=function(){var t=this;e(window).on("resize",(function(){e(".mwl").hasClass("visible")&&o(t,t.current_index)})),e(document).on("click",".mwl__topbar__controls__control--close",(function(){t.closeLightbox()})),e(document).on("click",".mwl.visible",(function(n){(e(n.target).is(".mwl__topbar")||e(n.target).is(".mwl__slider__image__thumbnail")||e(n.target).is(".mwl__slider__image__thumbnail__low-res-container")||e(n.target).is(".mwl .exifs"))&&t.closeLightbox()})),e(document).on("click",".mwl__navigation__previous",(function(){t.goToPrev()})),e(document).on("click",".mwl__navigation__next",(function(){t.goToNext()})),e(document).keydown((function(n){if(e(".mwl").hasClass("visible"))switch(n.which){case 27:t.closeLightbox();break;case 37:t.goToPrev();break;case 39:t.goToNext();break;default:return}})),e(document).on("click",".mwl__topbar__controls__control--fullscreen",(function(){t.extendLightbox()})),e(document).on("click",".mwl__topbar__controls__control--shrink",(function(){t.shrinkLightbox()})),e(document).on("click",".mwl__topbar__controls__control--play",(function(){t.startInterval()})),e(document).on("click",".mwl__topbar__controls__control--pause",(function(){t.stopInterval()})),e(document).on("click",".mwl__topbar__controls__control--map",(function(){t.toggleImageMap()})),e(document).on("click",".mwl__topbar__controls__control--download",(function(){t.downloadImage()})),e(document).on("click",".mwl__slider__image__thumbnail img.mwl__slider__image__thumbnail__high-res",(function(n){if(t.settings.magnification.enabled&&!e(this).hasClass("swiping")){var i=e(".mwl").attr("data-index");if(e(this).hasClass("zoomed"))e(this).removeClass("zoomed"),e(this).css("transform","translate3d(0,0,0) scale(1)");else{e(this).addClass("zoomed");var r=e(".mwl__slider__image[data-index="+i+"] .mwl__slider__image__thumbnail__high-res")[0].getBoundingClientRect(),o=r.left,s=r.top,a=n.clientX-(o+r.width/2),l=n.clientY-(s+r.height/2);e(this).css("transform","translate3d("+(a-2*a)+"px,"+(l-2*l)+"px,0) scale(2)")}}})),e(document).on("click",".toggle-full-description",(function(){var t=e(".mwl__metadata .full-description"),n=e(".mwl__metadata .short-description");t.hasClass("visible")?(t.removeClass("visible"),n.addClass("visible")):(t.addClass("visible"),n.removeClass("visible"))})),t.setSwipeListener()},this.setSwipeListener=function(){var t=i,n=150;e(window).outerWidth()<700&&(n=50),e(".mwl__slider").swipe({swipeStatus:function(n,i,r,o){if(!e(n.target).is(".image-map")){if("start"==i){var s=e(".mwl__slider").css("transform").replace(/[^0-9\-.,]/g,"").split(",");window.translate_x=parseFloat(s[12]||s[4])}"cancel"!=i&&"end"!=i&&(o>2&&e(".mwl__slider__image__thumbnail img").addClass("swiping"),"left"==r&&(e(".mwl .mwl__slider").removeClass("mwl-animate"),e(".mwl .mwl__slider").css("transform","translate3d("+(window.translate_x-o)+"px, 0, 0)")),"right"==r&&(e(".mwl .mwl__slider").removeClass("mwl-animate"),e(".mwl .mwl__slider").css("transform","translate3d("+(window.translate_x+o)+"px, 0, 0)"))),"end"==i&&("left"==r&&t.goToNext(),"right"==r&&t.goToPrev(),setTimeout((function(){e(".mwl__slider__image__thumbnail img").removeClass("swiping")}),100)),"cancel"==i&&(e(".mwl .mwl__slider").addClass("mwl-animate"),e(".mwl .mwl__slider").css("transform","translate3d("+window.translate_x+"px, 0, 0)"),n.preventDefault(),n.stopPropagation(),setTimeout((function(){e(".mwl__slider__image__thumbnail img").removeClass("swiping")}),100))}},threshold:n,maxTimeThreshold:5e3,fingers:"all"})},this.downloadImage=function(){var e=this.images[this.current_index].img_src,t=document.createElement("a");t.href=e,t.download=e.split(/[\\/]/).pop(),document.body.appendChild(t),t.click()},this.startInterval=function(){var t=this;e(".mwl__topbar__controls__control--play").addClass("hidden"),e(".mwl__topbar__controls__control--pause").removeClass("hidden"),t.autoplay_interval=setInterval((function(){t.goToNext()}),t.settings.slideshow.slide_duration)},this.stopInterval=function(){e(".mwl__topbar__controls__control--pause").addClass("hidden"),e(".mwl__topbar__controls__control--play").removeClass("hidden"),clearInterval(this.autoplay_interval)},this.toggleImageMap=function(){i.unzoom();var t=e("#image-map-"+i.current_index),n=t.attr("id"),r=e(".mwl__slider__image[data-index="+i.current_index+"]").find("img.mwl__slider__image__thumbnail__high-res"),o=i.images[i.current_index];t.hasClass("visible")?(t.removeClass("visible"),i.destroyMap(),t.css("width",0),t.css("height",0),i.setSwipeListener()):(t.addClass("visible"),t.css("width",r.outerWidth()+"px"),t.css("height",r.outerHeight()+"px"),window.mwlInitMap(n,o),e(".mwl__slider").swipe("destroy"))},this.selfDestroy=function(){e(".mwl").remove(),this.images=[]}}}))}).call(this,n(0))},function(e,t){window.MwlIcons={close:'',fullscreen:'',shrink:'',play:'',pause:'',map:'',download:'',sharing:'',arrow_left:'',arrow_right:'',camera:'',iso:'',shutter_speed:'',lens:'',aperture:'',calendar:'',eye:'',minus:'',plus:''}},function(e,t,n){(function(e){e(document).ready((function(e){window.mwl_logs=[],window.createMwlLog=function(e,t){window.mwl_logs.push({type:e,message:t})},window.displayMwlLog=function(){window.mwl_logs.forEach((function(e){switch(e.type){case"error":console.error(e.message);break;case"log":console.log(e.message)}}))};var t={selector:mwl.settings.selector,anti_selector:mwl.settings.anti_selector,theme:mwl.settings.theme,slideshow:{enabled:mwl.settings.slideshow.enabled,slide_duration:mwl.settings.slideshow.timer},thumbnails_navigation:{enabled:!1,height:200},preloading:mwl.settings.preloading,magnification:{enabled:mwl.settings.magnification},map:mwl.settings.map,caption_source:mwl.settings.caption_source,low_res_placeholder:mwl.settings.low_res_placeholder,deep_linking:mwl.settings.deep_linking,social_sharing:mwl.settings.social_sharing,infos_to_display:{title:mwl.settings.exif.title,caption:mwl.settings.exif.caption,camera:mwl.settings.exif.camera,date:mwl.settings.exif.date,lens:mwl.settings.exif.lens,shutter_speed:mwl.settings.exif.shutter_speed,aperture:mwl.settings.exif.aperture,focal_length:mwl.settings.exif.focal_length,iso:mwl.settings.exif.iso},download:{enabled:mwl.settings.download_link},right_click_protection:mwl.settings.right_click_protection},n=new MwlController(t);setTimeout((function(){n.scrapThePage(),n.retrieveImagesData(),n.writeInitialMarkup(),n.setListeners();var t=navigator.userAgent.toLowerCase();if(-1!=t.indexOf("safari")&&(t.indexOf("chrome")>-1||e(".mwl").addClass("safari-browser")),window.location.href.indexOf("#mwl-")>0){var i=window.location.href.match(/(#mwl-)([0-9])+/gm),r=parseInt(i[0].match(/([0-9])+/gm)[0]);!1!==n.getIndexById(r)&&n.openLightbox(n.getIndexById(r))}e(document.body).on("post-load",(function(){n.imagesHaveChanged()&&(window.createMwlLog("log","post-load event detected, reinitializing lightbox."),n.scrapThePage(),n.retrieveImagesData(),n.refreshLightbox())}))}),300),e(document).on("click",".mwl-img",(function(t){window.createMwlLog("log",".mwl-img has been clicked, opening the lightbox."),t.preventDefault();var i=parseInt(e(this).attr("mwl-index"));n.openLightbox(i)})),e(document).on("contextmenu",".mwl__slider__image__thumbnail img",(function(e){n.settings.right_click_protection&&(window.createMwlLog("log","protected the right click on an image."),e.preventDefault())})),setInterval((function(){}),5e3)}))}).call(this,n(0))}]); senseiをやってみるぞ! 第4回/やっとアタリを使って描いていくとこまで来たぞ!
上達するために 2020.09.09
前回、突然の難易度爆上がりパニックが起こったsenseiですが、何だかんだと練習4回目になりました。
どうやら、今回から描き方講座とかでよく見るアレが出現するようです。
今回の講座内容はこちら。
前回の内容はこちらから。

senseiをやってみるぞ! 第3回/顔を構成するパーツについて考えてみよう。
第3回の練習は模写のようです。ただ、動画教材では、よく観察して描きましょう以外の模写のコツやポイントといった説明は有りません。また、模写用のサンプル教材は今までの簡単な絵に比べてかなりリアルな絵になっており、難易度が突然高くなっていました。今までに比べてあまり親切じゃないなと感じてしまいます。
やっとここまで来たよ。おいでませアタリ十字!
sensei実践練習会もようやく4回目を迎えました。本日の練習内容は、顔の基礎コースの第4回 アタリを使うですぞ。
そうです。今回はこのアタリ十字線を使って正面の顔を描こうという内容になっているみたいであります。
まぁ、絵の描き方講座サイト等で紹介されている方法として捉えるなら、ここからようやく始まるぞ!って感じではあるね。と言うわけで、まずは恒例の結果発表から。


pixiv sketchを使用して練習する場合、既に十字線が描かれているんだね。
まぁ、後で詳細はまとめるけど、この十字線……結構曲者でした。
練習の手順は以下の通り。
で、肝心の練習内容ですが、以下の通りです。より詳しい内容はいつものようにsenseiの講座を見て下さい。
⓪顔の目安となる丸と中心を決める十字線を描く。(今回は既に用意されていた)
①丸に合わせて輪郭を描く。
②顔の中身を描いていく。
③髪の毛を描いたら完成!
本当なら目安の丸と中心線になる十字を描くところから始めないとダメだとは思うけど、sketchでは既に用意されていたのでこの項目は⓪としています。
あらかじめ十字線を用意することで練習のハードルを下げてるんだろうけど、しっかり練習したい場合は自分で描いた方がいい気もするよね。
そこなんすよなー……まぁ、取りあえず実践していきます。
①丸に合わせて輪郭を描く。
まず、丸に合わせて輪郭を描いていきます。


色々と突っ込みたいところはありますが、後で不満をまとめるので次へ。
②顔の中身を描いていく。
①で描いた輪郭に目・鼻・口・耳を付け足していきます。


横のラインを目安にして描くのは両目と耳で、縦のラインを目安にして描くのは鼻と口になっています。
③髪の毛を描いたら完成!
最後は髪の毛を乗っけたら完成です!いつも通りだ!


講座にあった彫刻式の描き方を使わないのはなんでじゃー!!?
と、まぁ、こんな感じで作業をしたんだが……ついでに一言、言って良いかな?


第2回でやった輪郭を描いてみようのやつだね。コレがどうしたの?
我、声を大きくしてこう言いたい!基礎コース②で教えてた描き方完全無視ですかい!!意味ねぇじゃん!!!
実はこの講座、⓪の丸と十字を描いたら①でいきなり輪郭を描いてねってなってるんですよ。こういうことだね。
実際の講座内容でやるとこう↓


さっきの説明でアップしてるものは⓪と①の間に講座2でやった輪郭のアタリを描いてるんだけど、講座動画を見てると輪郭のアタリは描かずにいきなり本番の輪郭を描き始めているのであります。
多分、時間的な都合もあってそこは割愛されているんだとは思うけれど、形を整えながら描くことが出来ない人にとって、いきなり綺麗に輪郭を描いてねっていわれても描きにくいじゃないですか。
綺麗に描こうと思っても歪んじゃうからイライラするとは思う。
それに、せっかく覚えたやり方を予習するタイミングがここだと思うのに、説明省かれるとその部分をスルーして動画の通り描いてしまう場合もあったりすると思うんだ。
あの練習は基礎の部分ではあるけれど、今回の練習に応用できるかは、それを使う事に気付けるかどうかだもんね。
そこなんです。動画を見て素直に描いてしまうと、覚えた方法を使わず描き始めてしまう事があるためとても勿体ない&歪んで綺麗に描けないことにイライラするぞー!!うがーっっ!!ってなってしまう。
そうならないためには、いきなり本番で描き始めるんじゃなくて、十字線を描いた後(描く前でも可)に1工程くっつけて、講座②でやった輪郭のアタリを描いてから作業した方が、綺麗な輪郭が描けて安心かもしれないね。
うむ。それに、意識的に講座②の方法を取り入れることで覚えた方法を活用出来るから、描くときに迷ったりすることは少なくなると思いますです。
pixiv sketchのアタリ線だと顔の長さが短くなるよ!!
で、二つ目の不満なんだが、sketchのアタリだと見本の通りになりません。
実はこのアタリ、講座動画のアタリに比べて円の縦幅が狭いのですよ。


見本はこのように縦幅が長く取られていて、仕上がった例題絵は面長の絵になっているんだけど、sketchのアタリ円はサンプルに比べて縦幅が短いのであります。そのため、円にあわせて描くと見本よりも顔が短くなるのです。
描くことが目的だから、この辺の誤差は気にしなければ良いんだろうけど、これだけ見本と差があると少しモヤモヤはするね。
見本に忠実に練習したい場合は、やっぱり自分でアタリから描いた方がよさそう。
本日のまとめ。
と言うわけで、まとめ、である。今回の内容はアタリの使い方を考えると、実際にそれを使って描いてみようって事だね。
やってみて気付いたことは、動画では円と十字だけで本書きがスタートしているけれど、描きにくかったら講座②で描いたようなアタリを描いてから作業した方が良いってことだったね。
あとは、sketchのアタリ円は見本に比べて縦が短いから、見本通りの顔の長さでは描けないってことだ。
講座動画が3分間しかないから、どうしても簡易的になってしまうのかもしれないけれど、もう少しフォローがあるともっとやりやすくなりそうなのにちょっと残念だね。
まぁ、考えて応用することも必要ではあるから、その辺は自力で頑張るのも大事ってことかもしれない。
・顔のパーツのバランスを整えるためには、十字のアタリ線を使って描こう!
・丸と十字だけだと描きにくい場合は、もう少し細かくアタリを描いていく事も必要。
・用意されたサンプルを使用する場合、見本と異なるものになる時もあるので、そこは仕方ないと流そう。

タイトルとURLをコピーしました