PageSourceSearch

https://www.osmodesign.io/_nuxt/c3ec418.js

js osmodesign.io collected 2026-10-07 19:29:55 UTC 2,514 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[26],{251:function(t,e,n){"use strict";function o(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}e.a={data:()=>({boundingRect:void 0,_scrollInitialPosition:{y:0,x:0}}),inject:["scroll"],computed:{rect(){if(this.boundingRect)return{top:this.boundingRect.top-(this.scroll.position.y-this._scrollInitialPosition.y),left:this.boundingRect.left+this.scroll.position.x-this._scrollInitialPosition.x,bottom:this.boundingRect.bottom-(this.scroll.position.y-this._scrollInitialPosition.y),height:this.boundingRect.height,width:this.boundingRect.width}}},mounted(){this.updateBoundingRect(),this.$events.on("viewport:resize",this.updateBoundingRect)},beforeDestroy(){this.$events.off("viewport:resize",this.updateBoundingRect)},methods:{updateBoundingRect(){this._scrollInitialPosition=function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?o(Object(source),!0).forEach((function(e){r(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):o(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({},this.scroll.position),this.boundingRect=this.$el.getBoundingClientRect()}}}},311:function(t,e,n){"use strict";var o=n(251);e.a={mixins:[o.a],inject:["scroll"],computed:{distanceToPageCenter(){if(this.boundingRect)return{x:this.rect.left+this.rect.width/2,y:this.$viewport.height/2-(this.rect.top+this.rect.height/2)}},parallax(){return this.boundingRect?{x:this.distanceToPageCenter.x/(this.$viewport.width/2),y:this.distanceToPageCenter.y/(this.$viewport.height/2)}:{x:0,y:0}}}}},422:function(t,e,n){"use strict";n.r(e);var o={mixins:[n(311).a],props:{tag:{type:String,default:"div"},speed:{type:Number,default:0}}},r=n(9),component=Object(r.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.tag,t._b({tag:"component",staticClass:"parallax"},"component",t.$attrs,!1),[n("div",{staticClass:"parallax__inner",style:"desktop"===t.$mq?{transform:"translate3d(0,"+t.parallax.y*t.speed+"px,0)"}:{}},[t._t("default")],2)])}),[],!1,null,null,null);e.default=component.exports}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.