PageSourceSearch

https://www.siminn.is/_next/static/chunks/10172.764f8bebf8f77e79.js

js siminn.is collected 2026-09-24 09:31:47 UTC 14,609 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7569,10172,25366,49928,56730,91151],{10172:(e,t,r)=>{r.r(t),r.d(t,{execute:()=>i,isAsync:()=>l});var n=r(17359),a=r(59161),s=r(74196);function i({templatePart:e,shape:t,edits:r,relationships:l,mode:o}){if(!(0,s.Bi)(t))return;let{rings:u}=t;for(let s=0;s<u.length;s++)if(u[s].length>0){let i=(0,a.$S)(t,s,0);return void(0,n.fS)({templatePart:e,shape:i,edits:r,relationships:l,mode:o},"V0")}}let l=!1},17359:(e,t,r)=>{r.d(t,{Dl:()=>f,Gr:()=>c,RT:()=>d,V2:()=>y,YI:()=>m,_0:()=>p,fS:()=>u,kI:()=>h,kS:()=>g});var n=r(93054),a=r(76626),s=r(9067),i=r(49928),l=r(78745),o=r(69052);function u({edits:e,mode:t,relationships:r,shape:l,templatePart:h},f=""){if(null===h)return;let{template:p}=h;if(!(0,a.xZ)(p))throw new n.A("shared-template:template-not-loaded","A template part's template must be loaded before use");if((0,a.JC)(p)){if(!(0,o.fT)(l))throw new n.A("shared-template:invalid-geometry","Preset templates must have a point geometry");(0,i.createPresetServiceEdit)({geometry:l,template:p,edits:e,relationships:r,rotation:0,mode:t,tag:f})}else(0,a.Cq)(p)&&(0,s.i)({geometry:l,template:p,edits:e,relationships:r,tag:f})}function h(e,t){if(!e||!(0,o.Bi)(e))return null;if(!t.hasZ&&!t.hasM)return e;let r=null,n=null,a=t.hasZ&&t.hasM?3:2;switch(t.type){case"point":r=t.hasZ?t.z:null,n=t.hasM?t.m:null;break;case"polygon":case"polyline":for(let e of"polygon"===t.type?t.rings:t.paths)for(let s of e)t.hasZ&&(null===r||s[2]>r)&&(r=s[2]),t.hasM&&(null===n||s[a]>n)&&(n=s[a]);break;case"multipoint":for(let e of t.points)t.hasZ&&(null===r||e[2]>r)&&(r=e[2]),t.hasM&&(null===n||e[a]>n)&&(n=e[a]);break;default:return e}let s=function(e,t,r,n,a){let s=[];for(let i of e)s.push(function(e,t,r,n,a){let s=[];for(let i of e){let e=[i[0],i[1]];t&&(e[2]=n),r&&(e[t?3:2]=a),s.push(e)}return s}(i,t,r,n,a));return s}(e.rings,t.hasZ,t.hasM,r,n);return new l.A({rings:s,spatialReference:e.spatialReference,hasZ:t.hasZ,hasM:t.hasM})}function f(e){let t=!1;return void 0!==e.byNumber&&(t=!0===e.byNumber),t}function p(e){let t=0;return void 0!==e.count&&(t=e.count),t}function c(e,t){let r=0;return t?void 0!==e.proportional&&(r=e.proportional):void 0!==e.distanceValue&&(r=e.distanceValue),t&&(r/=100),r}function m(e){return!0===e.isProportional}function g(e){return!1!==e.createUnique}function y(e){let t=0;return void 0!==e.offsetDistance&&(t=e.offsetDistance),void 0!==e.side&&1===e.side&&(t*=-1),t}function d(e){return!0===e.vertexBeforeOffset}},25366:(e,t,r)=>{r.d(t,{default:()=>o});var n=r(76785),a=r(30972),s=r(94323);let i={uniform:0,conformal:1,rigid:2,"rigid-motion":3,general:4},l=e=>e.map(e=>new n.P(e.x,e.y));class o{constructor(){this.transform=new a.T}calculateErrors(e,t){let r=e.length,n=t.length;if(r!==n)throw Error(`The input length (${r}) is not the same as output length (${n})`);let a=[];return{rms:this.transform.calculateErrors(r,l(e),l(t),a),errorsOut:a}}flipX(e,t){return this.transform.flipX(e,t),this}flipY(e,t){return this.transform.flipY(e,t),this}initializeFromControlPoints(e,t,r,n){let a=t.length,s=r.length;if(a!==s)throw Error(`The input length (${a}) is not the same as output length (${s})`);this.transform.initializeFromControlPoints(i[e],a,l(t),l(r),n?.transform)}isIdentity(){return this.transform.isIdentity()}rotate(e,t,r){let a=(0,s.kU)(e);return null!=t&&null!=r?this.transform.rotateAngleAbout(a,new n.P(t,r)):this.transform.rotateAngle(a),this}scale(e,t){return this.transform.scale(e,t),this}setIdentity(){this.transform.setIdentity()}setSwapCoordinates(){return this.transform.setSwapCoordinates(),this}shear(e,t){return this.transform.shear(e,t),this}shift(e,t){return this.transform.shiftCoords(e,t),this}}},49928:(e,t,r)=>{r.d(t,{createPresetServiceEdit:()=>function e({edits:t,geometry:r,mode:l,relationships:o,rotation:u,tag:h="",template:m}){let{definition:g}=m,y=r.x-g.origin.x,d=r.y-g.origin.y,M=g.origin.hasZ&&r.hasZ?r.z-g.origin.z:0,x=c(g.origin.clone(),y,d,M),Z=(new p.default).rotate(u,x.x,x.y);for(let u of g.parts){if(t.length>i.Cg&&"digitizing"===l)break;let p=u.template;if(!(0,a.xZ)(p))throw new n.A("shared-template:template-not-loaded","A template part's template must be loaded before use");if((0,a.Cq)(p)){let e=c(u.geometry,y,d,M);Z.isIdentity()||(e=(0,f.execute)(e,Z)),(0,s.i)({edits:t,geometry:e,relationships:o,tag:h,template:p})}else if((0,a.JC)(p)){let n=[];if(e({edits:Z.isIdentity()?n:t,geometry:r,mode:l,relationships:o,rotation:0,tag:h,template:p}),!Z.isIdentity())for(let e of n){let{geometry:r}=e.graphic;r&&"mesh"!==r.type&&(e.graphic.geometry=(0,f.execute)(r,Z),t.push(e))}}}return x}});
1var n=r(93054),a=r(76626),s=r(9067),i=r(74196),l=r(13996),o=r(53169),u=r(78745),h=r(78729),f=r(56730),p=r(25366);function c(e,t,r,n=0){if(!e)return null;if("point"===e.type)return new o.A({spatialReference:e.spatialReference,x:e.x+t,y:e.y+r,...e.hasZ?{z:e.z+n}:{},...e.hasM?{m:e.m}:{}});if("multipoint"===e.type){let a=[];if(e.hasZ&&e.hasM)for(let s=0;s<e.points.length;s++){let i=e.points[s];a.push([i[0]+t,i[1]+r,i[2]+n,i[3]])}else if(e.hasZ)for(let s=0;s<e.points.length;s++){let i=e.points[s];a.push([i[0]+t,i[1]+r,i[2]+n])}else if(e.hasM)for(let n=0;n<e.points.length;n++){let s=e.points[n];a.push([s[0]+t,s[1]+r,s[2]])}else for(let n=0;n<e.points.length;n++){let s=e.points[n];a.push([s[0]+t,s[1]+r])}return new l.A({spatialReference:e.spatialReference,hasZ:e.hasZ,hasM:e.hasM,points:a})}if("polygon"===e.type){let a=new u.A({spatialReference:e.spatialReference,hasZ:e.hasZ,hasM:e.hasM});for(let s=0;s<e.rings.length;s++){let i=e.rings[s],l=[];if(e.hasZ&&e.hasM)for(let e=0;e<i.length;e++)l.push([i[e][0]+t,i[e][1]+r,i[e][2]+n,i[e][3]]);else if(e.hasM)for(let e=0;e<i.length;e++)l.push([i[e][0]+t,i[e][1]+r,i[e][2]]);else if(e.hasZ)for(let e=0;e<i.length;e++)l.push([i[e][0]+t,i[e][1]+r,i[e][2]+n]);else for(let e=0;e<i.length;e++)l.push([i[e][0]+t,i[e][1]+r]);a.addRing(l)}return a}if("polyline"===e.type){let a=new h.A({spatialReference:e.spatialReference,hasZ:e.hasZ,hasM:e.hasM});for(let s=0;s<e.paths.length;s++){let i=e.paths[s],l=[];if(e.hasZ&&e.hasM)for(let e=0;e<i.length;e++)l.push([i[e][0]+t,i[e][1]+r,i[e][2]+n,i[e][3]]);else if(e.hasZ)for(let e=0;e<i.length;e++)l.push([i[e][0]+t,i[e][1]+r,i[e][2]+n]);else if(e.hasM)for(let e=0;e<i.length;e++)l.push([i[e][0]+t,i[e][1]+r,i[e][2]]);else for(let e=0;e<i.length;e++)l.push([i[e][0]+t,i[e][1]+r]);a.addPath(l)}return a}return e.clone()}},56730:(e,t,r)=>{r.r(t),r.d(t,{execute:()=>h,executeMany:()=>f,supportsCurves:()=>p});var n=r(36854),a=r(98675),s=r(71615);class i{getOperatorType(){return 10303}supportsCurves(){return!0}accelerateGeometry(e,t,r){return!1}canAccelerateGeometry(e){return!1}executeMany(e,t,r){return new l(e,t,r)}execute(e,t,r){let n=e.clone();return n.applyTransformation(t),n}}class l extends a.G{constructor(e,t,r){super(),this.m_index=-1,this.m_transformation=t.clone(),this.m_inputGeometryCursor=e}next(){let e;if(e=this.m_inputGeometryCursor.next()){(0,s.c)(e),this.m_index=this.m_inputGeometryCursor.getGeometryID();let t=e.clone();return t.applyTransformation(this.m_transformation),t}return null}getGeometryID(){return this.m_index}tock(){return!0}getRank(){return 1}}let o=new i;var u=r(91151);function h(e,t){var r,n;let a=(0,u.getSpatialReference)(e);return(0,u.toGeometry)((r=(0,u.fromGeometry)(e),n=t.transform,o.execute(r,n,null)),a)}function f(e,t){var r;let s=e.map(u.fromGeometry),i=(0,u.getSpatialReference)(e);return(r=t.transform,Array.from(o.executeMany(new a.S(s),r,null))).map(e=>(0,u.toGeometry)(e,i)).filter(n.Ru)}let p=o.supportsCurves()},59161:(e,t,r)=>{r.d(t,{$S:()=>M,Dk:()=>f,Ex:()=>h,LB:()=>g,RT:()=>x,a1:()=>y,iu:()=>Z,mw:()=>d,xI:()=>p});var n=r(36854),a=r(29128),s=r(55828),i=r(2602),l=r(53169),o=r(78729),u=r(24188);function h(e){let t=0,r=(0,s.TR)(e.spatialReference);for(let n=0;n<e.paths.length;n++){let a=e.paths[n].length;for(let s=0;s<a;s++)s>0&&(t+=e.hasZ?(0,i.BM)(e.paths[n][s-1],e.paths[n][s],r):(0,u.R3)(e.paths[n][s-1],e.paths[n][s]))}return t}function f(e){let t=e.geometry.clone();return t.paths.map(r=>new o.A({spatialReference:e.geometry.spatialReference,paths:[r],hasZ:t.hasZ,hasM:t.hasM}))}function p(e){let t=[];for(let r of e.paths)for(let n=1;n<r.length;n++){let a=[[r[n-1].slice(),r[n].slice()]];t.push(new o.A({paths:a,spatialReference:e.spatialReference,hasZ:e.hasZ,hasM:e.hasM}))}return t}function c(e,t,r){let n=t[0],a=t[1],s=(0,u.R3)(n,a),i=e.x+r*((t[1][0]-t[0][0])/s),o=e.y+r*((t[1][1]-t[0][1])/s),h={};return e.hasM&&(h.m=e.m),new l.A({x:i,y:o,spatialReference:e.spatialReference,...h})}function m(e,t,r,n){let a=t[0],s=t[1],o=(0,i.BM)(a,s,n),u=e.x+r*((t[1][0]-t[0][0])/o),h=e.y+r*((t[1][1]-t[0][1])/o),f=e.z+r*((t[1][2]-t[0][2])/o),p={};return e.hasM&&(p.m=e.m),new l.A({x:u,y:h,z:f,spatialReference:e.spatialReference,...p})}function g(e,t,r){let n=t[0],a=t[1],s=[a[0]-n[0],a[1]-n[1]],i=Math.sqrt(s[0]**2+s[1]**2),l=[s[0]/i,s[1]/i];return e.x+=r*l[0],e.y+=r*l[1],e}function y(e,t,r){let n=0,a=null;if(t<=0){let n=[e.paths[0][0],e.paths[0][1]],a=x(e,0,0);return g(a=c(a,n,t),n,r)}let o=e.hasM?e.hasZ?3:2:-1;for(let h of e.paths)for(let f=0;f<h.length-1;f++){let p=(0,u.R3)(h[f],h[f+1]),c=n+p;if(c===t)return a=new l.A({x:h[f+1][0],y:h[f+1][1],...e.hasM?{m:h[f+1][o]}:{},spatialReference:e.spatialReference}),0===r?a:g(a,[h[f],h[f+1]],r);if(c>t){let u=(0,i.ql)(h[f],h[f+1],t-n);return a=new l.A({x:u[0],y:u[1],...o>-1?{m:(0,s.jY)(h[f][o],h[f+1][o],p,t-n)??void 0}:{},spatialReference:e.spatialReference}),0===r?a:g(a,[h[f],h[f+1]],r)}n+=p}if(0===n)return null;let h=e.paths.length-1,f=e.paths[h].length-1,p=[e.paths[h][f-1],e.paths[h][f]],m=x(e,h,f);return g(m=c(m,p,t-n),p,r)}function d(e,t,r,n){let o=0;if(t<=0){let a=[e.paths[0][0],e.paths[0][1]],s=x(e,0,0);return g(s=m(s,a,t,n),a,r)}let u=e.hasM?e.hasZ?3:2:-1;for(let h of e.paths)for(let f=0;f<h.length-1;f++){let p=(0,i.BM)(h[f],h[f+1],n),c=o+p;if(c===t){let t=new l.A({x:h[f+1][0],y:h[f+1][1],z:h[f+1][2],...e.hasM?{m:h[f+1][u]}:{},hasZ:!0,spatialReference:e.spatialReference});return 0===r?t:g(t,[h[f],h[f+1]],r)}if(c>t){let c=(0,i.cz)((0,a.ci)(h[f]),(0,a.ci)(h[f+1]),t-o,n),m=new l.A({x:c[0],y:c[1],z:c[2],...u>-1?{m:(0,s.jY)(h[f][u],h[f+1][u],p,t-o)}:{},hasZ:!0,spatialReference:e.spatialReference});return 0===r?m:g(m,[h[f],h[f+1]],r)}o+=p}if(0===o)return null;let h=e.paths.length-1,f=e.paths[h].length-1,p=[e.paths[h][f-1],e.paths[h][f]],c=x(e,h,f);return g(c=m(c,p,t-o,n),p,r)}function M(e,t,r){let n=e.rings[t][r];return new l.A({spatialReference:e.spatialReference,x:n[0],y:n[1],hasZ:e.hasZ,hasM:e.hasM,z:e.hasZ?n[2]:void 0,m:e.hasM?e.hasZ?n[3]:n[2]:void 0})}function x(e,t,r){let n=e.paths[t][r];return new l.A({spatialReference:e.spatialReference,x:n[0],y:n[1],hasZ:e.hasZ,hasM:e.hasM,z:e.hasZ?n[2]:void 0,m:e.hasM?e.hasZ?n[3]:n[2]:void 0})}function Z(e){return(0,n.aI)(e.at(0),e.at(-1))}},91151:(e,t,r)=>{r.r(t),r.d(t,{fromExtent:()=>d,fromGeometry:()=>y,fromMultipoint:()=>M,fromPoint:()=>x,fromPolygon:()=>Z,fromPolyline:()=>R,fromSpatialReference:()=>
1w,getSpatialReference:()=>g,toExtent:()=>C,toGeometry:()=>v,toMultipoint:()=>G,toPoint:()=>A,toPolygon:()=>P,toPolyline:()=>V});var n=r(76785);r(17642);var a=r(71615),s=r(48515),i=r(17229),l=r(79541),o=r(721),u=r(13996),h=r(53169),f=r(78745),p=r(78729);r(81649);var c=r(82843);let m="_gxVersion";function g(e){return Array.isArray(e)?e[0].spatialReference:e.spatialReference}function y(e){switch(e.type){case"point":return x(e);case"multipoint":return M(e);case"polyline":return R(e);case"polygon":return Z(e);case"extent":return d(e);default:throw Error(`Unsupported geometry type: ${e.type}`)}}function d(e){if(!e.getCacheValue(m)){let t=new s.E;t.setCoords(e.xmin,e.ymin,e.xmax,e.ymax),e.hasM&&t.setInterval(2,0,e.mmin,e.mmax),e.hasZ&&t.setInterval(1,0,e.zmin,e.zmax),e.setCacheValue(m,t)}return e.getCacheValue(m)}function M(e){if(!e.getCacheValue(m)){let t=new i.M,r=new s.P,n=e.points,a=e.hasM,l=e.hasZ,o=l?3:2;for(let e=0,s=n.length;e<s;e++){let s=n[e];r.setXYCoords(s[0],s[1]),l&&r.setZ(s[2]??0),a&&r.setM(s[o]??NaN),t.add(r)}e.setCacheValue(m,t)}return e.getCacheValue(m)}function x(e){if(!e.getCacheValue(m)){let t=new s.P;t.setXYCoords(e.x,e.y),e.hasM&&t.setM(e.m),e.hasZ&&t.setZ(e.z),e.setCacheValue(m,t)}return e.getCacheValue(m)}function Z(e){if(!e.getCacheValue(m)){let{curveRings:t,hasM:r,hasZ:n,rings:a}=e,s=(0,c.fromGeometryToGXGeometry)({curveRings:t,hasM:r,hasZ:n,rings:a});
1e.setCacheValue(m,s)}return e.getCacheValue(m)}function R(e){if(!e.getCacheValue(m)){let{curvePaths:t,hasM:r,hasZ:n,paths:a}=e,s=(0,c.fromGeometryToGXGeometry)({curvePaths:t,hasM:r,hasZ:n,paths:a});e.setCacheValue(m,s)}return e.getCacheValue(m)}function w(e){if(e.wkid)return(0,l.c)(e.wkid);let t=e.wkt2||e.wkt;return t?(0,l.b)(t):null}function v(e,t){if(e)switch(e.getGeometryType()){case a.G.enumPoint:return A(e,t);case a.G.enumEnvelope:return C(e,t);case a.G.enumMultiPoint:return G(e,t);case a.G.enumPolyline:return V(e,t);case a.G.enumPolygon:return P(e,t)}return null}function C(e,t){if(e.isEmpty())return null;let r=new o.A({xmin:e.getXMin(),ymin:e.getYMin(),xmax:e.getXMax(),ymax:e.getYMax(),spatialReference:t}),n=e.getDescription();if(n.hasM()){let t=e.queryInterval(2,0);r.mmin=t.vmin,r.mmax=t.vmax}if(n.hasZ()){let t=e.queryInterval(1,0);r.zmin=t.vmin,r.zmax=t.vmax}return r.setCacheValue(m,e),r}function G(e,t){if(e.isEmpty())return null;let r=e.getDescription(),n=r.hasM(),a=r.hasZ(),i=[],l=new s.P;for(let t=0,r=e.getPointCount();t<r;t++){e.getPointByVal(t,l);let r=[l.getX(),l.getY()];a&&r.push(l.getZ()),n&&r.push(l.getM()),i.push(r)}let o=new u.A({hasM:n,hasZ:a,points:i,spatialReference:t});return o.setCacheValue(m,e),o}function A(e,t){if(e instanceof n.P)return new h.A({x:e.x,y:e.y,spatialReference:t});if(e.isEmpty())return null;let r=new h.A({x:e.getX(),y:e.getY(),spatialReference:t}),a=e.getDescription();return a.hasM()&&(r.m=e.getM()),a.hasZ()&&(r.z=e.getZ()),r.setCacheValue(m,e),r}function P(e,t){if(e.isEmpty())return null;let r=f.A.fromJSON({spatialReference:t,...(0,c.toGeometry)(e,null)});return r.setCacheValue(m,e),r}function V(e,t){if(e.isEmpty())return null;let r=p.A.fromJSON({spatialReference:t,...(0,c.toGeometry)(e,null)});return r.setCacheValue(m,e),r}},98675:(e,t,r)=>{r.d(t,{G:()=>n,S:()=>a});
1class n{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}class a extends n{constructor(e){super(),this.m_iGeom=-1,this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){let e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}}}]);

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.